1. Introduction
The rapid advancement of technology has led to the increasing use of robotic systems, especially manipulators. Therefore, the need to provide efficient control methods for them has been raised more than ever. To this end, many recent studies have focused on providing model-based controllers such as the feedback linearization methods for robotic systems [Reference Kali, Saad and Benjelloun1–Reference Taira, Sagara and Oya3].
Although many model-based methods act well in controlling systems, their performance degrades confronting disturbances and uncertainties. The reason is that these methods are entirely based on the system model and may lose their efficiency if there are unmodeled dynamics [Reference Izadbakhsh and Khorashadizadeh4]. However, most robotic systems have uncertainty in the dynamic model and are also exposed to external disturbances. To solve this problem, a variety of research has been done to develop model-free controllers such as adaptive strategies, fuzzy methods, and neural network approaches [Reference Izadbakhsh, Khorashadizadeh and Kheirkhahan5–Reference Wang, Liu, Chen and Hu8].
Although model-free methods have many advantages and can reduce the impact of unmodulated dynamics on system behavior, some are developed based on measuring system states. However, in many practical applications, such as commercial robots, it is not possible to measure states such as velocity, and position is the only measurable state [Reference Xian, De Queiroz, Dawson and McIntyre9]. The reason is that adding velocity sensors such as tachometers increases the cost of hardware significantly. Adding tachometers may also change some parameters of the system. Moreover, one of the significant problems with dexterous arms is the hardness of integrating a large number of sensors within a small robot architecture, especially when the degrees of freedom are increased. Besides, speed measurement limits the available bandwidth of the system due to the presence of noise [Reference Ortega, Perez, Nicklasson and Sira-Ramirez10]. Some articles have calculated speed by differentiating the position of the joints. However, this solution is also not suitable because it causes the phenomenon of chattering in the consequent control input. The problem gets worse when the position signal is noisy. This phenomenon causes high-energy consumption at the actuators, which in turn reduces their lifetime and increases the failure rates. The application of low-pass filters on numerically calculated velocities, on the other hand, may degrade overall tracking performance. Furthermore, due to the system’s nonlinearity, adjusting the filter parameters to ensure closed-loop stability is difficult and can only be accomplished through trial and error [Reference Antonelli, Caccavale, Chiaverini and Villani11]. To deal with the problems caused by measuring and calculating the velocity state, observer-based methods for estimating velocity were presented. In [Reference Yang, Peng and Liu12], the problem of position/force trajectory tracking of robotic arms is settled based on an adaptive neural network controller. The proposed structure utilized a nonlinear observer to estimate the unmeasured velocity. In [Reference Tuan and Hieu13], an adaptive scheme is proposed for a 3-degree of freedom (DOF) manipulator based on the Slotine–Li control method. To this mean, an observer is developed to estimate velocity and force. The system stability is also proven. Shojaei et al. proposed an adaptive neural controller for manipulators, which is developed based on acceleration and velocity observer [Reference Shojaei, Kazemy and Chatraei14]. The boundedness of observation and control error signals are confirmed using the Lyapunov Theorem.
Given that uncertainty and disturbance are factors in the degradation of controller performance, many researchers have proposed methods to deal with them. In [Reference Van and Ge15], a controller–observer scheme is presented for fault-tolerant control of a robotic arm utilizing the sliding mode approach. To this mean, a disturbance observer and a fuzzy approximation technique are integrated to approximate the disturbances and uncertainties. An adaptable super-twisting term is also considered in the control structure to enhance the disturbance rejection. In [Reference Shang16,Reference Shang17], robust controllers are designed for a multiagent system with uncertain Markovian chain topology. The system stability is verified using the Lyapunov lemmas. Hu et al. [Reference Hu, Dian, Guo, Li and Zhao18] proposed a dynamic surface control strategy for a flexible joint arm. A nonlinear observer is used to address the problem of disturbance estimation. Besides, a neuro-fuzzy scheme is presented to approximate the uncertainties. In [Reference Wu, Huang, Li and Liu19], a controller is proposed for a robotic manipulator using the backstepping approach. Neural networks are utilized to estimate the unmodeled dynamics as well as disturbances. Stability analysis is also performed to confirm the boundedness of errors. In [Reference Izadbakhsh and Kheirkhahan20], an adaptive controller is introduced for a flexible-joint arm based upon the backstepping method. To estimate unknown dynamical terms, an approximator is proposed using fuzzy type 2. Haonan et al. [Reference Haonan, Xingling and Wendong21] focused on solving the control issue of a specified form of nonlinear and uncertain systems such as manipulators. To this mean, an appointed-time method is developed based on neural networks and fuzzy logic. The states of the system, as well as the lumped uncertainty, are approximated utilizing a fuzzy wavelet neural network.
In addition to neural networks and fuzzy logic, other model-free approaches have been introduced to confront uncertainties and disturbances in dynamical systems. In this regard, the function approximation technique (FAT) is one of the practical approaches. FAT-based observers are mainly developed based upon Fourier series expansion [Reference Izadbakhsh22–Reference Izadbakhsh, Kheirkhahan and Khorashadizadeh24], differential equations [Reference Izadbakhsh, Khorashadizadeh and Kheirkhahan25,Reference Izadbakhsh and Khorashadizadeh26], and Baskakov operator [Reference Izadbakhsh, Akbarzadeh kalat and Khorashadizadeh27]. In this article, an adaptive FAT-based controller–observer structure will be introduced for robotic manipulators. The motivation of adopting FAT-based approaches for designing the structure is the significant advantages of these approaches compared to both model-based and model-free neuro-fuzzy methods, which make them good candidates for dealing with disturbances and uncertainties [Reference Izadbakhsh28]. These advantages are as follows: (1) In model-based control methods, change of parameters may affect the system performance significantly. Compared to these approaches, FAT-based methods are not dependent on system modeling. Therefore, the existence of unmodeled dynamics does not deteriorate their performance; (2) Designing systems based on fuzzy logic or neural networks require sufficient expertise to determine the parameters of the estimator/controller. Lack of enough experience will turn the design process into time-consuming and tedious work because it is necessary to determine the parameters based on trial and error. In FAT-based approaches, on the other hand, because of the simple structure and the limited number of parameters, their values can be easily determined; (3) In neuro-fuzzy systems, to keep the parameters in a particular range, projection algorithms are usually needed, which raises the computational load of the controller further; (4) Neuro-fuzzy structures usually require different feedbacks from system states. For example, when uncertainty is a function of system states, the neuro-fuzzy approximator needs to receive those states as inputs, which raise the computational complexity of the system. FAT-based estimators, on the other hand, approximate functions as time series and are not dependent on system states. This results in the reduction of system computational load.
In this article, the FAT is used to deal with unmodulated dynamics and disturbances so that the impact of these factors does not cause a decline in system performance. For this purpose, the Bernstein–Stancu polynomial is used to estimate of uncertainties and disturbances, and the coefficients of this polynomial are updated by developing adaptive rules. Stability analysis is carried out thoroughly using the Lyapunov theorem to confirm the boundedness of all errors. Finally, to evaluate the efficiency of the proposed adaptive FAT-based method, it is applied to a 2-DOF robotic arm, and the results are analyzed. The novelty and merits of the presented method are as follows: (1) Robust adaptive controller design using the Bernstein–Stancu Operator is a new idea in the robotics field; (2) The polynomial coefficients are adjusted using the adaptation law achieved in the stability analysis, while in previous related studies, the adaptive form of the Bernstein–Stancu Operator is not used; (3) The introduced controller is regressor-free. So, the problems of the usual adaptive methods do not appear in the proposed controller; (4) One of the advantages of the developed strategy is that there is no need to measure joint velocity, and joint position is the only measured state; (5) Moreover, in most of the previously developed robot controllers, the joint torque is used as the control signal, and actuator dynamics are neglected. However, as a more realistic presumption, in this work, actuator voltages are considered as the control signals.
Different sections of the article are as follows: The Bernstein–Stancu operator is described in Section 2. Section 3 reveals the manipulator dynamics. The adaptive FAT-based controller–observer is designed in Section 4. A thorough mathematical stability analysis is also performed in this section using the Lyapunov Theorem. The controller is simulated for the manipulator, and the results are presented in Section 5. Section 6 gives the most notable concluding remarks.
2. The Bernstein–Stancu Operator
The simplicity and ease of calculation make polynomials powerful mathematical tools that can be used to estimate different functions. It is also possible to estimate any complex and real-valued function with any degree of accuracy by combining several polynomials. A general class of linear and positive operators generalizing such well-known operators as those of Favard-Szasz, Bernstein, and Baskakov, was introduced by Stancu [Reference Stancu29]. Stancu operators are described as follows. Consider
$m \ge 1$
and
$p \ge 0$
as natural numbers and suppose
$f$
be in
$C\left[ {0,1 + \frac{p}{m}} \right]$
. We denote by
$C\left[ {0,1 + \frac{p}{m}} \right]$
, the set of continuous functions on
$\left[ {0,1 + \frac{p}{m}} \right]$
. The natural numbers
$m$
and
$p$
are used to determine the upper bound of this interval. Moreover, consider
$\alpha $
,
$\beta $
and
$\gamma $
are positive constants that satisfy
$0 \le \beta \le \gamma $
and
$\alpha \ge 0$
. Then, the Bernstein–Stancu Operators are given by the following equation:
In Eq. (1),
$\left( {\begin{array}{*{20}{c}}{m + p}\\k\end{array}} \right)$
denotes the binomial coefficient, which is described as
The
$k$
th order factorial power with increment
$( - \alpha )$
of
$t$
is shown by
${t^{(k, - \alpha )}}$
, which is described as
\begin{align}{t^{(k, - \alpha )}} = \left\{ {\begin{array}{l@{\quad}l}{\prod\limits_{v = 0}^{k - 1} {(t + v\alpha )} }&{{\rm{if\ k}} \ge {\rm{1\ and\ t}} \gt {\rm{0}}}\\{\rm{1}}&{{\rm{else}}}\end{array}} \right.\end{align}
Thus, if
$t \in [0,1]$
and
$\alpha \ge 0$
, then one can conclude that
$L_{mp}^{ \lt \alpha ,\beta ,\gamma \gt }$
is a linear and positive operator. In [Reference Stancu29], it has been proved that if
$f \in [0,1]$
and
$0 \le \alpha = {\alpha _{m + p}} \to 0$
as
$m + p \to \infty $
, then the sequence
$\left\{ {L_{mp}^{ \lt \alpha ,\beta ,\gamma \gt }(f,t)} \right\}$
converges to
$f(t)$
uniformly on
$[0,1]$
. It is straightforward to present that:
in which
Is a vector consisting of adjustable parameters, and the number of chosen basis functions is
$N = m + p + 1$
, and the basis functions vector is
In other words, (4) can be used as a linear form of (1). Using linear form of these equations is more common in adaptive control.
3. Robot Dynamic Modeling
Suppose an n-DOF robotic arm, which is driven by n DC actuators. The motion behavior of the actuators is modeled by the following equations [Reference Izadbakhsh and Khorashadizadeh30].
where angular positions of actuators are represented by the vector
$\theta \in {\Re ^n}$
.
${J_m} \in {\Re ^{n \times n}}[kg.{m^2}]$
, which is a diagonal matrix, consists of transmission elements of the motor side and the rotor inertias. The diagonal matrix
${b_m} \in {\Re ^{n \times n}}[N.m.s/rad]$
comprises transmission elements of motor side and motor damping coefficients. Actuator–torque constants are denoted by the diagonal matrix
${k_m} \in {\Re ^{n \times n}}[N.m/A]$
. The back-Electromotive force (EMF) constants are represented by
${k_b} \in {\Re ^{n \times n}}[N.m/A]$
, which is a diagonal matrix.
$R \in {\Re ^{n \times n}}[\Omega ]$
is the armature resistances diagonal matrix. The voltages applied to the joint motors are denoted by
$u(t) \in {\Re ^n}[v]$
. The load torques are shown by the vector
${\tau _l} \in {\Re ^n}[N.m]$
. The n × n transmission matrix r is utilized to map
$\dot \theta $
(the vector of actuator coordinate velocities) to
$\dot q$
(the vector of joint velocities), as
The dynamic model of a manipulator represents its motion and is formed based on the Euler–Lagrange equation. That is to say, first, the Lagrangian is formed as the difference between the kinetic and the potential energies of the system. Further manipulations of the Lagrangian leads to the dynamic equation of a rigid n-DOF robotic arm, described as (9). The complete procedure of deriving the dynamic model of the arms is explained in [Reference Dawson, Qu and Carroll31].
where, the joint acceleration, velocity, and position are denoted by n×1 vectors
$\ddot q$
,
$\dot q$
, and
$q$
, respectively.
$D(q) \in {\Re ^{n \times n}}$
is a positive-definite and symmetric matrix.
$C(q,\dot q)\dot q \in {\Re ^n}$
is the vector of Coriolis/centrifugal forces,
$g(q) \in {\Re ^n}$
is the vector of gravitational forces, and
${T_l}(t) \in {\Re ^n}$
is the vector of external disturbance. It is easy to show that the integrated actuator–manipulator model can be formulated as follows:
Where
$\eta (t) = \left( { - {M^{ - 1}}(q)({V_m}(q,\dot q)\dot q + H(q,\dot q)) + ({M^{ - 1}}(q){r^{ - 1}}{k_m}{R^{ - 1}} - {I_n})u(t)} \right) \in {\Re ^n}$
represents the lumped uncertainty vector inserted to the system dynamic, and
\begin{align*}\begin{array}{l}M(q) = D(q) + {r^{ - 1}}{J_m}{r^{ - 1}}\\ \\[-7pt] {V_m}(q,\dot q) = C(q,\dot q) + {r^{ - 1}}({b_m} + {k_m}{k_b}{R^{ - 1}}){r^{ - 1}}\\ \\[-7pt] H(q,\dot q) = G(q) + {T_l}(t)\end{array}\end{align*}
4. The Designed Controller–Observer Scheme
The error of tracking is considered as
$e(t) = q(t) - {q_d}(t) \in {\Re ^n}$
, where the joint space desired path is represented by
${q_d} \in {\Re ^n}$
. So, Eq. (10) is rewritten as follows.
To address the trajectory tracking problem for (11) using position feedback only, consider the following control input and observer dynamics:
\begin{align}\left\{ \begin{array}{l}\dot {\hat{e}} = \rho + {L_d}(e - \hat{e})\\ \\[-7pt] \dot \rho = {L_p}(e - \hat{e})\end{array} \right.\end{align}
Where
${K_d} \in {\Re ^{n \times n}}$
and
${K_p} \in {\Re ^{n \times n}}$
are positive-definite diagonal gain matrices;
$\hat{e}(t) = \hat{q}(t) - {q_d}(t)$
is the approximation of
$e(t)$
;
${L_d} \in {\Re ^{n \times n}}$
and
${L_p} \in {\Re ^{n \times n}}$
are diagonal and positive observer gain matrices, and
$\hat{\eta} (t)$
represents the estimation of
$\eta (t)$
. The following assumption is considered on the structure of
${K_p}$
,
${K_d}$
,
${L_d}$
, and
${L_p}$
.
Assumption 1:
${K_p}$
,
${K_d}$
,
${L_d}$
and
${L_p}$
satisfy the following equations.
Where
$\mu $
,
${k_d}$
,
$\gamma $
and
${l_d}$
are positive constants,
${k_d} \gt \mu $
, and
${I_n}$
shows the identity matrix of dimension n.
Substituting (12) into (11) and using definition (14) yields
Define
Where
${\dot q_0}(t) = \dot {\hat{q}(t)} - \mu \tilde q(t)$
and
denotes the joint position estimation error. So, the closed-loop error dynamic is achieved as
where we have utilized (20) and the following equality
Now,
$\eta (t)$
is represented using the basis functions in a linear form based upon the universal approximation theorem as
where the number of used basis functions is denoted by
${{\rm{N}}_{\rm{1}}}$
and the ideal weighting vector is presented by
${W_\eta } \in {\Re ^{n{N_1} \times n}}$
. The approximation errors are represented by
${\varepsilon _\eta }$
, and
${Z_\eta } \in {\Re ^{n{N_1}}}$
is the basis functions vector. Using the same basis functions set, we propose
In this equation,
${\hat{W}_\eta } \in {\Re ^{n{N_1} \times n}}$
is the approximation of
${W_\eta }$
. Equations (25) and (26) are integrated into (22) and (23) to achieve
where the Bernstein–Stancu Operator weight approximation error is denoted by
${\tilde W_\eta } = {W_\eta } - {\hat{W}_\eta }$
.
4.1 Stability analysis
The following Lyapunov candidate is proposed to analyze the system stability,
where
\begin{align}P = \left[ {\begin{array}{c@{\quad}c}{\left[ {\begin{array}{c@{\quad}c}{{I_n}}&{{I_n}}\\{{I_n}}&{2{\mu ^{ - 1}}{k_d}{I_n}}\end{array}} \right]}&{{0_{2n}}}\\{{0_{2n}}}& {\left[ {\begin{array}{c@{\quad}c}{{I_n}} &{{I_n}}\\{{I_n}}& {2{\mu ^{ - 1}}{k_d}{I_n} + {I_n}}\end{array}} \right]}\end{array}} \right] \in {\Re ^{4n \times 4n}}\end{align}
With
${0_{2n}}$
denoting the null matrix of dimension 2n;
${\Gamma _\eta } \in {\Re ^{n{N_1} \times n{N_1}}}$
is a positive-definite matrix and is
$Tr(\cdot)$
the trace operator.
Lemma 1: The upper and lower bounds of (29) are as follows,
With
$\bar \lambda (P)$
and
$\underline \lambda (P)$
are defined as
Proof: Introducing
Function (29) could be rewritten as
where
\begin{align}\Lambda = \left[ {\begin{array}{c@{\quad}c}{\left[ {\begin{array}{c@{\quad}c}{{I_n}}&{{0_n}}\\{{0_n}}&{2{\mu ^{ - 1}}{k_d}{I_n} - {I_n}}\end{array}} \right]}& {{0_{2n}}}\\{{0_{2n}}}&{\left[ {\begin{array}{c@{\quad}c}{{I_n}}&{{0_n}}\\{{0_n}}& {2{\mu ^{ - 1}}{k_d}{I_n}}\end{array}} \right]}\end{array}} \right] \in {\Re ^{4n \times 4n}}\end{align}
It is not difficult to demonstrate that
where
By definition
using (30) and
\begin{align}T = \left[ {\begin{array}{c@{\quad}c}{\left[ {\begin{array}{c@{\quad}c}{{I_n}}{{I_n}}\\{{0_n}}{{I_n}}\end{array}} \right]}&{{0_{2n}}}\\{{0_{2n}}}&{\left[ {\begin{array}{c@{\quad}c}{{I_n}}&{{I_n}}\\{{0_n}}&{{I_n}}\end{array}} \right]}\end{array}} \right]\end{align}
It can be easily shown that
Together with (38) and (39), it implies (32)–(34)
It is worthy of mentioning that similar proof approaches are revealed in [Reference Shang32]. Differentiating (29) over time, using (15), (27), (28), and rearranging with some mathematical simplification, we have
\begin{align}\dot V(x,{{\tilde W}_\eta }) &= \underbrace { - s_1^T{k_d}{I_n}{s_1} + {{\dot e}^T}\mu {I_n}\dot e - s_2^T{k_d}{I_n}{s_2} + 2{e^T}\mu {k_d}{I_n}\dot e + 2{{\tilde q}^T}\mu {k_d}{I_n}\dot{\tilde{q}}}_\wp \nonumber\\[3pt] &\quad - s_1^T\gamma {I_n}{s_1} - s_2^T\gamma {I_n}{s_2} - s_2^T({l_d}{I_n} - 2{K_d}){s_2} + (s_1^T + s_2^T){\varepsilon _\eta }\nonumber\\[3pt] &\quad + (s_1^T + s_2^T)\tilde W_\eta ^T{Z_\eta } - Tr(\tilde W_\eta ^T{\Gamma _\eta }{{\dot{\hat{W}}}_\eta })\end{align}
It is straightforward to show that the five first terms of Eq. (43) can be simplified as
$\wp = - {\dot e^T}{k_d}{I_n}\dot e - {e^T}\mu {k_d}{I_n}\mu e + {\dot e^T}\mu {I_n}\dot e - {\dot{\tilde{q}}^T}{k_d}{I_n}\dot{\tilde{q}} - {\tilde q^T}\mu {k_d}{I_n}\mu \tilde q$
. Thus, Eq. (43) is written as
\begin{align}\dot V(x,{{\tilde W}_\eta }) &= - {x^T}Qx - s_1^T\gamma {I_n}{s_1} - s_2^T\gamma {I_n}{s_2} - s_2^T({l_d}{I_n} - 2{K_d}){s_2}\nonumber\\[3pt] &\quad + (s_1^T + s_2^T){\varepsilon _\eta } - Tr(\tilde W_\eta ^T({\Gamma _\eta }{{\dot{\hat{W}}}_\eta } - {Z_\eta }(s_1^T + s_2^T)))\end{align}
where
\begin{align}Q = \left[ {\begin{array}{c@{\quad}c}{\left[ {\begin{array}{c@{\quad}c}{({k_d} - \mu ){I_n}}&{{0_n}}\\{{0_n}}&{{k_d}{I_n}}\end{array}} \right]}&{{0_{2n}}}\\{{0_{2n}}}&{\left[ {\begin{array}{c@{\quad}c}{{k_d}{I_n}}&{{0_n}}\\{{0_n}}&{{k_d}{I_n}}\end{array}} \right]}\end{array}} \right] \in {\Re ^{4n \times 4n}}\end{align}
By selecting the updating laws as:
in which
and
${\sigma _\eta }$
is a positive number, (44) is simplified as
\begin{align}& \dot V(x,{{\tilde W}_\eta }) \le - \underline \lambda (Q){\left\| x \right\|^2} - \gamma {\left\| {{s_1}} \right\|^2} - \gamma {\left\| {{s_2}} \right\|^2} + \left\| {{s_1}} \right\|\left\| {{\varepsilon _\eta }} \right\| + \left\| {{s_2}} \right\|\left\| {{\varepsilon _\eta }} \right\|\nonumber\\[3pt] &\quad + {\sigma _\eta }Tr(\tilde W_\eta ^T{{\hat{W}}_\eta })\end{align}
where, we have utilized the fact that
${l_d}{I_n} - 2{K_d} \gt 0$
. Using the relation
$\left\| {{s_1}} \right\|,\left\| {{s_2}} \right\| \le \left\| y \right\| \le \sqrt 3 \left\| x \right\|$
, the last inequality is further simplified,
Result 1: Assume that enough basis functions are utilized for estimation so that the estimation error is negligible. Hence, the term
$\sigma $
-modification can be neglected in (46). As a result,
Therefore, the vector
$x$
converges to zero asymptotically.
Result 2: Assume that
${\varepsilon _\eta }$
in (49) is not negligible. It is not difficult to show that (51) holds.
Regarding these equations, (49) is written as
Considering (32), one can easily relate (53) to
$V$
as follows
\begin{align}&\dot V(x,{{\tilde W}_\eta }) \le - \omega V + 0.5\left( {\omega \bar \lambda (P) - \underline \lambda (Q)} \right){\left\| x \right\|^2} + \frac{6}{{\underline \lambda (Q)}}{\left\| {{\varepsilon _\eta }} \right\|^2}\nonumber\\ &\quad + 0.5\left( {\omega \bar \lambda ({\Gamma _\eta }) - {\sigma _\eta }} \right)Tr(\tilde W_\eta ^T{{\tilde W}_\eta }) + 0.5{\sigma _\eta }Tr(W_\eta ^T{W_\eta })\end{align}
Now, by choosing
$\omega $
as
Equation (54) is simplified to
This means that
$\dot V(x,{\tilde W_\eta })$
is negative-definite, whenever:
As a result, the uniformly ultimately boundedness of
$x$
and
${\tilde W_\eta }$
is proved. This indicates that the set
$\Omega $
size is tunable by choosing the
$\omega $
,
${\sigma _\eta }$
and
$Q$
parameters properly.
4.2. Performance assessment
To ensure the proper performance of the introduced controller–observer structure, in response to the initial conditions, (56) is solved to achieve,
Considering (33), which presents the lower bound of (29), one can conclude that,
\begin{align}\left\| x \right\| \le \sqrt {\frac{{2V}}{{\underline \lambda (P)}}} \end{align}
That is simplified to (60) by employing (58)
\begin{align}\left\| x \right\| &\le \sqrt {\frac{{2V({t_0})}}{{\underline \lambda (P)}}} {e^{ - 0.5\omega (t - {t_0})}} + \sqrt {\frac{{12}}{{\omega \underline \lambda (P)\underline \lambda (Q)}}} \mathop {\sup }\limits_{{t_0} \lt \tau \lt t} \left\| {{\varepsilon _\eta }(\tau )} \right\|\nonumber\\[3pt] &\quad + \frac{1}{{\sqrt {\omega \underline \lambda (P)} }}{[{\sigma _\eta }Tr(W_\eta ^T{W_\eta })]^{\frac{1}{2}}}\end{align}
which indicates the amplitude
$\left\| x \right\|$
boundedness, where the bound is the summation of exponential functions and constants.
5. Simulation Results
5.1. The testbed system details
A manipulator with two revolute joints is considered as a testbed to evaluate the proposed adaptive FAT-based controller. Eq. (9) indicates the robot dynamics, and the matrices are defined as [Reference Izadbakhsh and Rafiei33,Reference Izadbakhsh, Khorashadizadeh and Ghandali34],
\begin{align}D(q) &= \left[ {\begin{array}{c@{\quad}c}{{d_{11}}} &{{d_{12}}}\\{{d_{21}}}&{{d_{22}}}\end{array}} \right]\nonumber\\[3pt]{d_{11}} &= {m_1}l_{c1}^2 + {I_1} + {m_2}(l_1^2 + l_{c2}^2 + 2{l_1}{l_{c2}}cos({q_2})) + {I_2}\nonumber\\[3pt] {d_{21}} &= {d_{12}} = {m_2}l_{c2}^2 + {m_2}{l_1}{l_{c2}}cos({q_2}) + {I_2}\nonumber\\[3pt]{d_{22}} &= {m_2}l_{c2}^2 + {I_2} \nonumber\\[3pt] C(q,\dot q)\dot q &= \left[ {\begin{array}{c}{ - 2{m_2}{l_1}{l_{c2}}sin({q_2})({{\dot q}_1}{{\dot q}_2} + 0.5\dot q_2^2)}\\ \\[-7pt] {{m_2}{l_1}{l_{c2}}sin({q_2})\dot q_1^2}\end{array}} \right]\nonumber\\[3pt] g(q) &= \left[ {\begin{array}{c}{{m_1}{l_{c1}}gcos({q_1}) + {m_2}g({l_{c2}}cos({q_1} + {q_2}) + {l_1}gcos({q_1}))}\\ \\[-7pt]{{m_2}{l_{c2}}gcos({q_1} + {q_2})}\end{array}} \right]\end{align}
where each joint angle is denoted by
${q_i}$
and
${l_i}$
is the length of each link. The length and mass of the first link are considered as l
1
= 0.4318 m and m
1
=3 kg, respectively, and the second link counterparts are l
2
= 0.6491 m and m
2
= 1 kg, respectively. The exact values of motor model parameters are set to R=diag(1,1), J
m
=diag(10–6,10–6), r=diag(0.01, 0.01), K
m
= K
b
=diag(0.03,0.03), and b
m
=diag(10–4,10–4). The initial joint angles are assumed as
$q = {\left[ {\begin{array}{*{20}{c}}{{\rm{0}}{\rm{.0691}}}\quad{{\rm{1}}{\rm{.4326}}}\end{array}} \right]^{\rm{T}}}(rad)$
, and the aim is to track a desired sinusoidal trajectory for 1 s. It is presumed that the initial values of the actual and desired angles are the same. It is supposed that information on the matrices
$g(q)$
,
$C(q,\dot q)$
and
$D(q)$
is unavailable. The numerical values of the controller–observer structure are
${l_d} = 45$
,
$\gamma = 5$
,
${k_d} = 15$
and
$\mu = 10$
. To approximate the lumped uncertainty
$\eta (t)$
, the first three terms of the Bernstein–Stancu polynomial are chosen. So,
${\hat{W}_\eta } \in {\Re ^{6 \times 2}}$
, the adaptive parameters are initiated at zero. The convergence rate matrix is chosen as
${\Gamma _\eta } = {10^{ - 3}} \times {I_6}$
, where
${I_6}$
is the 6 × 6 identity matrix. At this point, suppose that the estimation error is small and therefore negligible.
To investigate the efficiency of the proposed FAT-based approximator, its performance is compared with other estimators. For this purpose, the Radial Basis Function Neural Network (RBFNN) and fuzzy system, as two state-of-art approximators, are integrated into the presented controller to estimate the external disturbances and the uncertainties. These methods are described in the following subsections.
5.2. First compared method: the RBFNN uncertainty approximator
To compare the results of the proposed technique and the RBFNN uncertainty approximator, both methods are integrated into the designed controller. RBFNN is used to estimate the uncertainties and external disturbances. The output of RBFNN is computed by a linear combination of hidden layer outputs of the neural network. Assume that the RBFNN inputs are the elements of the vector
${\varpi _j}(t) = \left[ {\begin{array}{*{20}{c}}{{{\hat{e}}_j}(t)}\quad{{{\dot{\hat{e}}}_j}(t)}\end{array}} \right]$
for j = 1,2. Consequently,
\begin{align}{\xi _i} = \exp \,\left( { - \frac{{{{\left\| {{\varpi _j}(t) - {c_i}} \right\|}^2}}}{{\delta _i^2}}} \right)\,\,\,\,\,\,i = 1,2, \ldots ,{N_1}\end{align}
where N1 denotes the number of neurons in the hidden layer. The initial weights of the RBFNN are set to zero. The controller parameters are set equal to the previously stated values. The values of
${c_i}$
and
${\delta _i}$
are set to
\begin{align}\begin{array}{l}{c_1} = \left[ {\begin{array}{*{20}{c}}{ - 2 \times {{10}^{ - 2}}}\\ \\[-7pt]{ - 4.5}\end{array}} \right],{\rm{ }}{c_2} = \left[ {\begin{array}{*{20}{c}}{ - 1.6 \times {{10}^{ - 3}}}\\ \\[-7pt]{ - 3.6}\end{array}} \right],{\rm{ }}{c_3} = \left[ {\begin{array}{*{20}{c}}{ - 1.2 \times {{10}^{ - 3}}}\\ \\[-7pt]{ - 2.7}\end{array}} \right],{\rm{ }}{c_4} = \left[ {\begin{array}{*{20}{c}}{ - 8 \times {{10}^{ - 3}}}\\ \\[-7pt]{ - 1.8}\end{array}} \right]\\ \\[-7pt] {c_5} = \left[ {\begin{array}{*{20}{c}}{ - 4 \times {{10}^{ - 2}}}\\ \\[-7pt]{ - 0.9}\end{array}} \right],{\rm{ }}{c_6} = \left[ {\begin{array}{*{20}{c}}0\\ \\[-7pt]0\end{array}} \right]\end{array}\end{align}
These values are achieved by trial and error and are not optimally chosen.
5.3. Second compared method: the fuzzy system
To compare the results, another form of the presented approach is utilized, which is established based on the fuzzy approximator instead of the Bernstein–Stancu polynomials approximator to estimate the nonlinear function
$\eta (t)$
. Consider the
${x_1} = q(t)$
and
${x_2} = \dot q(t)$
as the inputs of the fuzzy system. Three membership functions are considered for each fuzzy input. Consequently, there are nine fuzzy rules. Consider the linguistic fuzzy rules as
in which
${\rm{Rule\ }}l$
shows the lth fuzzy rule for l = 1,…,9. In the lth rule, the fuzzy variables
${x_1}$
,
${x_2}$
and
$\hat{\eta} (t)$
, will be evaluated by the fuzzy membership functions
${A_l}$
,
${B_l}$
and
${D_l}$
. Three membership functions P, Z, and N are considered for the inputs
${x_1}$
and
${x_2}$
in the system operating space. The mathematic equations of the membership functions for the input
${x_1}$
are
\begin{align}\begin{array}{c}{\mu _N}({x_1}{\rm{)}} = \left\{ {\begin{array}{*{20}{c}}{0\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,x\gt 0}\\ \\[-7pt] {1 - {\mu _Z}({x_1}{\rm{)}}\,\,\,\,\,\,\,\,\,\,\,\,\,\,x \le 0}\end{array}} \right.,\\ \\[-7pt] {\mu _P}({x_1}{\rm{)}} = \left\{ {\begin{array}{*{20}{c}}{0\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,x \lt 0}\\ \\[-7pt] {1 - {\mu _Z}({x_1}{\rm{)}}\,\,\,\,\,\,\,\,\,\,\,\,\,\,x \ge 0}\end{array}} \right.,\\[3pt] {\mu _Z}({x_1}{\rm{)}}\, = \,{\rm{exp}}\left( { - \frac{{x_1^2}}{{2{\sigma ^2}}}} \right){\rm{, }}\sigma = 0.3{\rm{ }}\end{array}\end{align}
These functions are plotted in Fig. 1. Similarly, the membership functions for the input
${x_2}$
will be defined. Also, the membership functions for the output
$\hat{\eta} (t)$
are in the form of
\begin{align}{\mu _{{D_l}}}(\hat{\eta} {\rm{)}} = {\rm{exp}}\left( { - \frac{{{{(\hat{\eta} - {{\hat{y}}_l})}^2}}}{{2{\sigma ^2}}}} \right)\end{align}
Membership functions for the inputs
${x_1}$
.

in which
${\hat{y}_l}$
is the center of
${D_l}$
. According to [Reference Izadbakhsh, Khorashadizadeh and Kheirkhahan5],
$\hat{\eta} $
can be represented as
Where
$\hat{y} = {[\begin{array}{*{20}{c}}{{{\hat{y}}_1}} \ldots {{{\hat{y}}_9}}\end{array}]^T}$
and
$\psi = {[\begin{array}{*{20}{c}}{{\psi _1}} \ldots {{\psi _9}}\end{array}]^T}$
in which
${\psi _l}$
is a positive value expressed as
\begin{align}{\psi _l}({x_1}{\rm{,}}{x_{\rm{2}}}) = \frac{{{\mu _{{A_l}}}({x_1}{\rm{)}}{\mu _{{B_l}}}({x_2}{\rm{)}}}}{{\sum\limits_{l = 1}^9 {{\mu _{{A_l}}}({x_1}{\rm{)}}{\mu _{{B_l}}}({x_2}{\rm{)}}} }}\end{align}
The controller settings used for the fuzzy system are the same as before, except for
${\Gamma _\eta } = {10^{ - 3}} \times {I_9}$
.
5.4. Results: performance evaluation and comparison
To evaluate the robustness of the proposed schemes, external disturbances and payload variations are considered. Suppose that, during the trajectory tracking, a heavy load is picked up by the second link at t = 0.4 s and is released at t = 0.7 s. The picked payload can be considered as a part of the second link, so, there is a variation in the link mass at t = 0.4 s, and it becomes m2+Δm2, and the load is eliminated at t = 0.7 s. It is assumed that Δm2 = 8 kg. Besides, the external disturbance is considered as
\begin{align}{T_l}(t) = \left[ {\begin{array}{*{20}{c}}{24\sin \left( {\dfrac{{5\pi t}}{4}} \right) + 16\sin \left( {1.8\pi t} \right) + 24}\\\\[-7pt] {24\sin \left( {\dfrac{{5\pi t}}{4}} \right) + 16\sin \left( {1.8\pi t} \right) + 24}\end{array}} \right]\end{align}
Under these settings, the proposed controller–observer is applied to the robot along with the RBFNN and fuzzy approximator-based controllers. Figure 2 illustrates the desired and actual paths regarding these methods. According to the figure, despite external disturbances and uncertainties, the manipulator is capable of fulfilling successful trajectory tracking. The results also indicate the signals boundedness. This figure illustrates that the performances of both RBFNN and the Bernstein–Stancu-based approach are nearly the same because of the universal approximation property of RBFNN and Bernstein–Stancu polynomials. On the other hand, the proposed method outperforms the fuzzy approximator significantly. Figure 3 illustrates the control signals employed to the joint motors by different controller–observer structures. According to this figure, the control signals are smooth and bounded for all applied methods. Figure 4 reveals the approximated lumped uncertainties. Based on the figure, the proposed FAT-based strategy and the RBFNN method are capable of good uncertainty estimation. The fuzzy approximator, on the other hand, fails to fulfill an acceptable performance. Finally, the position and velocity estimation errors have been presented in Figs. 5 and 6, respectively. To show the important role of the proposed observer–controller in fulfilling an efficient tracking performance, the simulation is repeated by neglecting
$\hat{\eta} (t)$
in (12). This condition is indeed the best scenario to examine the system uniformly ultimately bounded stability because the approximation error
${\varepsilon _\eta }$
is not ignored. That is to say, the estimation error,
${\varepsilon _\eta }$
has its maximum value in this scenario. Figure 7 illustrates the path tracking performance regarding this condition. According to the results, the proposed controller–observer structure can fulfill a good trajectory performance in the existence of uncertainties and external results. The performances of the proposed Bernstein–Stancu and the RBFNN approximators are nearly the same due to the universal approximation characteristic of these methods. However, there are more adjustable parameters in the regressor vector of the RBFNN (such as the width and center of the Gaussian units), and assigning the best values for these parameters is tedious and time-consuming due to the repeated trial and error. Furthermore, unlike neural network/fuzzy methods, which require system states as inputs to estimate functions and construct a regressor vector, the proposed Bernstein–Stancu-based approach is not dependent on the system states. The reason is that these approximators consider the uncertainty as a time-varying function rather than a function of different system states. Besides, the number of system states, as the leading factor in determining the dimension of the basis function vectors, does not affect the Bernstein–Stancu-based adaptive control strategy. Hence, the Bernstein–Stancu-based controller as a simpler structure and less computational complexity than RBFNN. Besides, the Bernstein–Stancu estimator has a significantly better performance in comparison with the fuzzy approximator. The weakness of the fuzzy method is improvable by increasing the learning rate and the number of basis functions, although it leads to another problem called as the curse of dimensionality. Table I summarizes the merits of the introduced approach in comparison with the RBFNN and the fuzzy system.
A comparison among the proposed method, RBFNN, and the fuzzy approach.

The desired and actual paths.

Control signals.

The estimation performance of
$\eta (t)$
.

The joint position estimation errors for joints 1 and 2.

The joint velocity estimation errors for joints 1 and 2.

The desired and actual paths in the absence of
$\hat{\eta} (t)$
.

6. Conclusion
In this article, a recent control approach is used to confront uncertainties and disturbances in robot arms. For this purpose, first, unmodeled dynamics and disturbances are aggregated as the lumped uncertainty. Then, the Bernstein–Stancu polynomial as a FAT is used due to its universal approximation property to estimate the lumped uncertainty. According to the Lyapunov theorem, adaptive rules for updating polynomial coefficients are obtained in such a way as to maintain system stability. The proposed method is regressor-free, and therefore, it does not have the problems of adaptive approaches. To the best of the authors’ knowledge, the Bernstein–Stancu polynomial has not previously been used to control robotic systems. Besides, the adaptive form of the Bernstein–Stancu polynomial has not been used in the previous studies. One of the advantages of the proposed method is being model-free that makes it robust in confronting the unmodulated dynamics. It is worth noting that, in this method, there is no need to know the bounds of uncertainties. Moreover, the introduced controller–observer structure does not need velocity measurements to control the system. Also, unlike many common control approaches, in this article, the voltage signal is considered as the control signal instead of the torque, and the actuator dynamics are not neglected. To evaluate and analyze the performance of the adaptive FAT-based controller, it is applied to a 2-DOF manipulator. The results indicate the robustness of the introduced approach against unmodulated dynamics and perturbations.










