Composite Compensation Control of Robotic System Subject to External Disturbance and Various Actuator Faults

,is paper studies the problems of external disturbance and various actuator faults in a nonlinear robotic system. A composite compensation control scheme consisting of adaptive sliding mode controller and observer-based fault-tolerant controller is proposed. First, a sliding mode controller is designed to suppress the external disturbance, and an adaptive law is employed to estimate the bound of the disturbance. Next, a nonlinear observer is designed to estimate the actuator faults, and a fault-tolerant controller is obtained based on the observer. Finally, the composite compensation control scheme is obtained to simultaneously compensate the external disturbance and various actuator faults. It is proved by Lyapunov function that the disturbance compensation error and fault compensation error can converge to zero in finite time. ,e theoretical results are verified by simulations. Compared to the conventional fault reconstruction scheme, the proposed control scheme can compensate the disturbance while dealing with various actuator faults. ,e fault compensation accuracy is higher, and the fault error convergence rate is faster. Moreover, the robot can track the desired position trajectory more accurately and quickly.


Introduction
Robotic system is a complex nonlinear system with the characteristics of multiple variables, high nonlinearity, and strong coupling. In robotic system, there are a variety of problems, such as external disturbance and actuator fault. e position tracking performance of the robot will decrease due to disturbance. Meanwhile, the controller needs to tolerate actuator fault to keep the robotic system stable [1][2][3].
erefore, disturbance and actuator fault are two of the main issues to be solved in robot control.
For robotic system with disturbance, sliding mode control has been widely applied due its robustness to disturbance and uncertainty [4]. However, there are some drawbacks in conventional sliding mode control. For example, the error cannot converge in finite time, and there exits chattering phenomenon. In addition, the upper bound of the disturbance needs to be known. In order to avoid the drawbacks in conventional sliding mode control, observer is one of the effective approaches. In [5], a composite controller based on a nonlinear controller and a nonlinear disturbance observer was proposed for nonlinear systems, where the observer was employed to estimate the disturbance generated by an exogenous system. In [6], the external disturbance in a nonlinear system was viewed as an unknown input. An adaptive extended state observer was designed to estimate the unknown input, and then, a controller was designed to compensate the external disturbance using the estimated value. In [7], for the unknown matched and mismatched time-varying disturbances in a robotic system, a continuous sliding mode control based on generalized proportional integral observer was proposed. e observer was to estimate the matched disturbance and mismatched disturbance, respectively. e continuous sliding mode manifold was to remove the offset caused by the mismatched disturbance. In [8], the uncertain hydrodynamics and unknown external disturbance in an underwater robotic system were regarded as a lumped disturbance. An integral sliding mode controller based on extended state observer was presented. e extended state observer was to estimate the lumped disturbance and unmeasurable states, and the adaptive gain update algorithm was to estimate the bound of the lumped disturbance. In [9], the model errors, uncertainties, friction, and unknown external disturbances in automobile electrocoating conveying mechanism were all regarded as a lumped disturbance. A nonlinear disturbance observer was to estimate the lumped disturbance, and a sliding mode controller was designed for the hybrid seriesparallel mechanism. Although the approaches in [5][6][7][8][9] can effectively deal with the disturbance in the system, they all potentially assume that all the actuators in the system are working normally without any fault.
In fact, in addition to external disturbance, many mechanical systems and electronic devices, such as sensors, actuators, and amplifiers, may undergo fault due to aging, affecting the performance and even safety of the system [10][11][12]. In order to ensure the performance and safety of the system when actuator fault occurs, different fault-tolerant control schemes have been proposed. In [13], a fault reconstruction scheme based on terminal sliding mode observer and fault-tolerant control was proposed for robotic manipulators. e fault reconstruction error can converge to zero in finite time. Nevertheless, only actuator fault was considered. In [14], for external disturbance and actuator fault in manipulator, a fault-tolerant control based on adaptive dynamic sliding mode was proposed. However, only loss of effectiveness fault was considered. In [15], actuator faults and friction in a robotic system were regarded as total uncertain dynamics. A sliding mode observer was designed to estimate the total uncertain dynamics. A nonlinear observer was used to reconfigure the uncertainty. However, since the fault and friction were regarded as total uncertain dynamics, their respective characteristic cannot be reflected. In [16], actuator faults and external collision in robot manipulator were regarded as centralized disturbance. A sliding mode observer was used to estimate the velocity and centralized disturbance. A protective control framework based on disturbance reconstruction was proposed. Nevertheless, the characteristic of fault was not formally described in [16]. In [17], for robots subject to unmatched disturbance and actuator fault, a fault-tolerant adaptive control based on disturbance observer and backstepping control was proposed. Nevertheless, the disturbance error cannot converge to zero in finite time, and the error convergence rate was slow. In [18,19], for actuator fault, matched or unmatched disturbance in a class of uncertain nonlinear systems, an active fault-tolerant control was designed based on integral-type sliding mode control. However, since active fault-tolerant control was based on fault information, delay of the fault information feedback will result in delay of the fault compensation time. Consequently, the system may become unstable. In [20], actuator fault, external disturbance, and input saturation were regarded as total uncertainty for the robotic system, and a finite-time fault-tolerant adaptive robust control strategy was proposed. e total uncertainty was estimated by the adaptive law, and then, a fault-tolerant adaptive robust controller was obtained by the integral backstepping control. However, as actuator fault, external disturbance, and input saturation in the system were treated as total uncertainty, and their respective characteristic could not be reflected well. Moreover, only time-varying fault was considered in [20].
In this paper, a composite compensation control approach is proposed for a nonlinear robotic system with external disturbance and various actuator faults. e proposed composite compensation controller consists of an adaptive sliding mode controller and an observer-based fault-tolerant controller. Compared to the conventional fault reconstruction scheme, the proposed control can compensate disturbance while dealing with various actuator faults, including no fault, loss of effectiveness fault, and floating around trim fault. e fault compensation accuracy is higher, and the fault error convergence rate is faster. Moreover, the robot can track the desired position trajectory more accurately and quickly. e remainder of this paper is organized as follows: in Section 2, the model of robotic system subject to external disturbance and actuator faults is formally described; in Section 3, the composite compensation control is designed based on adaptive sliding mode control and observer-based fault-tolerant control, and the convergence of the disturbance compensation error and fault compensation error is proved; simulations are provided in Section 4; and the paper is concluded in Section 5.

Model of Robotic System Subject to External Disturbance and Actuator Faults
A nonlinear robotic system with external disturbance and actuator faults is considered in this paper, as shown in Figure 1.

Model of Robotic System Subject to External
Disturbance. e dynamic model of a n-DOF nonlinear robot subject to external disturbance can be described as follows [21]: where q ∈ R n×1 , _ q∈ R n×1 , and € q∈ R n×1 represent the joint position, joint velocity, and joint acceleration of the robot, respectively; M(q) ∈ R n×n , C(q, _ q) ∈ R n×n , and G(q) ∈ R n×1 represent the inertia matrix, Coriolis and centrifugal term, and gravity term. u ∈ R n×1 is the control torque, and τ d ∈ R n×1 denotes the external disturbance.
In practical applications, the external disturbance of a system is usually bounded [22], i.e., where F is an unknown constant. For the dynamic model of the robot (1), there are two important properties.

Property 1.
e inertia matrix M(q) is symmetric and positive definite which satisfies where λ 0 and λ 1 are positive constants and ∀ξ ∈ R n×1 .

Model of Actuator Faults.
In a practical robotic system, the actuators may undergo fault due to aging, affecting the performance and even safety of the system. e mathematical model of actuator faults can be described as follows [13]: where u f (T) ∈ R n×1 represents the actuator fault and u nom ∈ R n×1 represents the control torque from the nominal controller. Besides, i.e., u � u nom and u f (T) � 0. (ii) Locked-in-place fault: the actuator fault is a constant, and the nominal controller is zero, i.e., denotes the effectiveness of the actuator, where 0 < l i (t) ≤ 1 means that the i th actuator experiences a partial loss of effectiveness, and u f (T) � 0, i � 1, 2, . . . , n.
(iv) Floating around trim fault: it can be accounted as u � u nom + u f (T) and u f (T) ≠ 0.

Composite Compensation Control of Robotic System
For robotic system subject to external disturbance (1) and actuator faults (4), the structure of the proposed composite compensation control scheme is shown in Figure 2. First, a sliding mode controller is designed to suppress the external disturbance τ d . An adaptive law is employed to estimate the bound of the disturbance and obtain its estimation F. en, a nonlinear observer is designed to directly estimate the state vector of the nonlinear function and obtain its estimation α(t) such that the actuator faults u f (T) can be indirectly estimated. A fault-tolerant controller is obtained based on the observer to compensate the actuator faults. Finally, the composite compensation controller u com is composed of the adaptive sliding mode controller τ dcom and observer-based fault-tolerant controller τ fcom . Furthermore, the actual controller u is obtained by combining the composite compensation controller u com and the nominal controller u nom . In this way, the external disturbance and various actuator faults can be accurately compensated, and the real position q of the robot can accurately track the desired position q d .

Design of the Adaptive Sliding Mode
Controller. Take x 1 � q ∈ R n×1 and x 2 � _ q∈ R n×1 as the state variables of the system, and (1) can be directly rewritten into the state-space form as _ Define the sliding manifold as where ϕ is the state of the following nonlinear system (7): where k 1 > 0 and k 2 > 0 are positive constants and n 1 > 0 and n 2 > 0 are two odd integers satisfying n 1 < n 2 .
In order to suppress the external disturbance τ d in (5), the sliding mode controller τ dcom can be designed as As the bound of the external disturbance is usually unknown, an adaptive law is designed to estimate the bound F: where F is the estimation of F, β > 0 is a positive constant, and sign is signum function. (1) and (4), we can get

Design of the Observer-Based
where where k 3 > 0 is a constant and α(t) is the state vector of the nonlinear function (11). Differentiating (11) with respect to time and substituting (1) and (10) where u f (T) can be regarded as the unknown input of the system (12).
As for the output of the system (12), we can take it as where k 4 > 0 is a positive constant. Now, the fault u f (T) can be indirectly estimated by directly estimating the state α(t) of the system (12) through the following nonlinear observer where α(t) is the estimation of α(t), e � α − α denotes the observation error of α(t), and k 5 � k 3 /k 4 and k 6 > 0 are observation gains.
Since α(t) can be estimated by the nonlinear observer (14), the fault-tolerant controller can be designed as

Design of the Composite Compensation Controller.
With the adaptive sliding mode controller (8)-(9) and the observer-based fault-tolerant controller (14)- (15), the composite compensation controller u com can be designed as e composite compensation controller (16) can simultaneously compensate external disturbance and various types of actuator faults. Theorem 1. Consider the nonlinear robotic system subject to external disturbance (1) and actuator faults (4). If it is controlled by the composite compensation controller (16), which is composed of the adaptive sliding mode controller (8)- (9) and the observer-based fault-tolerant controller (14)- (15), then the disturbance compensation error and fault compensation error of the robotic system can converge to zero in finite time, i.e., lim t⟶t c e d � lim t⟶t c (τ dcom − τ d ) � 0 and lim t⟶t c e f � lim t⟶t c (τ fcom − u f (T)) � 0.
Proof. Differentiating the observation error e � α − α with respect to time and substituting (12)- (14) into it, we can obtain Define a Lyapunov function as Differentiating (18) with respect to time and substituting (5)-(7) into it, we get   Mathematical Problems in Engineering Substituting (17) into (19) and using Property 2, we can get − k 2 s T · |s| n 1 /n 2 · sign |s| n 1 /n 2 .
us, we can further have _ s(t) � 0. erefore, from (29) and (30), we can get e d �0 and e f � 0 for all t ≥ t c . is indicates that e d and e f can converge to zero in finite time t c , i.e., is concludes the proof of eorem 1.

Remark 1.
It can be seen from the nonlinear observer (14) and the proof of eorem 1 that the nominal controller u nom can be cancelled in the composite compensation controller (16). is indicates that the proposed composite compensation control scheme does not depend on the specific nominal control law.

Remark 2.
In the literature [18][19][20], disturbance and fault are treated as centralized uncertainty. Different from them, the designed composite compensation controller (16) consists the terms regarding disturbance as well as actuator faults. us, the respective characteristic of disturbance and actuator faults can better be reflected.

Simulations
Simulations are conducted on a 2-DOF robot manipulator, as shown in Figure 3. e dynamics of the robot is M(q) � p 1 + p 2 + 2p 3 cos q 2 p 2 + p 3 cos q 2 where q � q 1 q 2 T and q 1 and q 2 represent the position of the first joint and the second joint, respectively. Besides, where m 1 and m 2 are the mass of the link, l 1 and l 2 are the length of the link, h 1 and h 2 are the distance to the center of the mass, J 1 and J 2 are the moment of inertia, and g is the gravity coefficient. In the simulations, m 1 � m 2 � 1, l 1 � l 2 � 1, h 1 � h 2 � 0.5, and J 1 � J 2 � 0.08. e conventional PD controller [24] which is widely applied in practice is taken as the nominal controller u nom : where e p � q d − q represents the position tracking error of the robot. e initial value of the robot is q(0) � 0.05 0.1 T . e desired position of the robot is q d � q d1 q d2 T , where e external disturbance in the robotic system is For joint 1 of the robot, during 2 sec-3 sec and 8 sec-9 sec, the actuator fault is constant deviation fault. During 4 sec-7 sec, the actuator fault is time-varying fault. For the rest of the time, the actuator is no fault.
For joint 2 of the robot, during 0 sec-5 sec, the actuator is no fault. After 5 sec, the actuator fault is loss of effectiveness fault; i.e., the actuator losses 20% of the effectiveness.
e effect of the external disturbance compensation with the composite compensation controller is shown in Figures 4  and 5. It can be seen that the proposed composite compensation controller can successfully compensate the disturbance, and the disturbance compensation error can quickly converge within a short time. Since the conventional fault reconstruction scheme cannot compensate the external disturbance, the effect of the external disturbance compensation with the conventional fault reconstruction scheme is not shown.
Figures 6(a) and 6(b) show that both the conventional fault reconstruction scheme and the proposed composite compensation controller can compensate various types of actuator faults. However, it can be seen from Figures 7(a) and 7(b) that when the proposed controller is employed, the fault compensation accuracy is higher and the fault error convergence rate is faster. Figure 8(a) shows that, with the conventional fault reconstruction scheme, the real position trajectory of the robot cannot track the desired position trajectory well. Comparatively, Figure 8(b) shows that, with the proposed composite compensation controller, the robot can track the desired position in a satisfactory way within a short time. As shown in Figure 9(a), when the fault reconstruction scheme is used, there exists obvious position tracking error, and the error convergence rate is slow. Comparatively, when the proposed controller is employed, the position tracking error is ideal, and the error convergence rate is faster in Figure 9(b). e reason is that the proposed composite compensation controller can not only deal with actuator faults but also external disturbance in the system.
To further demonstrate the superiority of the proposed composite compensation control scheme, several performance indicators are compared in quantitative in Tables 1-3 Table 1 indicates that, with the proposed composite compensation controller, the disturbance compensation error of joint 1 and joint 2 can rapidly converge in 0.1191 sec and 0.0833 sec, respectively. Nevertheless, the conventional fault reconstruction scheme cannot compensate disturbance. Table 2 shows that, with the proposed composite compensation controller, the adjustment time of fault compensation is shorter and the absolute value of the fault compensation error is smaller. In other words, when the proposed controller is employed, the fault compensation accuracy is higher and the fault error convergence rate is faster. Table 3 shows that, with the proposed composite compensation controller, the adjustment time of position tracking for both joint 1 and joint 2 is shorter, and the absolute value of the position tracking error is smaller. In other words, when the proposed controller is employed, the robot can track the desired position trajectory more accurately and quickly.   Mathematical Problems in Engineering 9

Conclusions
For a robotic system subject to simultaneous external disturbance and various actuator faults, a composite compensation control scheme based on adaptive sliding mode controller and observer-based fault-tolerant controller is proposed. Compared to the conventional fault reconstruction scheme, the proposed scheme can compensate not only external disturbance but also various actuator faults. e fault compensation accuracy is higher, and the fault error convergence rate is faster. Moreover, the robot can track the desired position trajectory more accurately and quickly. Experimental verification of the proposed control in this paper is quite necessary and remains as our work in the next step. Besides, the extension of the proposed control to online estimates the fault information for a nonlinear robotic system using a fault diagnosis approach remains as our future research.
Data Availability e data that support our manuscript conclusions are some open access articles that have been properly cited, and the

Conflicts of Interest
e authors declare that they have no conflicts of interest regarding the publication of this paper.