Keywords

1 Introduction

Teleoperation is a popular technology in robotics that enable humans to control robots remotely. These days, teleoperation is widely used to replace humans in many fields and hazardous environments such as surgery, deep water exploration, space exploration, and nuclear power plants.

Teleoperation includes a master device (haptic device), slave robot, and communication channels. The movement of the haptic device gives a position command sent to a slave robot. The feedback information such as interaction force and images are fed back to the master device. This is called bilateral teleoperation, which helps operators feel more realistic and enhance the user performance while doing a task. For example, considering a situation such as controlling a mobile robot, an operator moves the haptic handle to control the movement of the robot and the images showing the environment are sent to the operator. However, if the information are just images without depth information, it will be challenging for the user to prevent the robot from hitting obstacles. Therefore, depth information is required. When the robot approaches obstacles, it will give the force feedback rendered from the depth information to the operators through the haptic device. This feedback helps the operator notice that the robot is moving toward the obstacle. Hence, the development of a haptic device with feedback is necessary for the teleoperation system. There have been many investigations to advance haptic performance [1,2,3,4]. A haptic device based on an admittance control is a simple and efficient way that calculates a displacement corresponding to a force input. The relationship between the force and movement is imposed by a mass damper spring system. An admittance control often has two loops. The external loop as an admittance model is used to transform the force input into movements of a handle of the haptic device. The inner loop called position control is used to track the desired position given by the external loop. In the position control, the unknown uncertainty dynamics and disturbances cause a decrease in the system stability. In addition to unknown dynamics and disturbances, faults in the system seriously deteriorate the performance. In previous literature, the presence of faults was not considered in the haptic device, hence this research will investigate a fault-tolerant method for the inner position control of the haptic device. Fault-tolerant technologies for the tracking control have increasingly attracted many researchers over the years [5,6,7,8]. The remarkable feature of these technologies is to design a proper control law to tolerate some random faults in sensors, actuators, and other parts and guarantee whole system stability. In active fault-tolerant control (AFTC), the estimation module is used to observe the faults in the system and various methodologies have been studied in fault estimation [5,6,7]. An extended state observer (ESO) is an effective method and easy implementation for estimating uncertainties, disturbances, and faults. Nevertheless, the conventional ESO has several downsides such as the sensitivity to measurement noise and the peaking problem that may cause performance deterioration of the system. To eliminate these disadvantages of a traditional ESO, a new ESO [9] is proposed by Ran et al. for uncertain non-linear systems. The ESO in [9] illustrated the efficiency in decreasing the peaking value and augmenting the insensitivity to measurement noise. Therefore, thanks to those notable features, this paper will develop an AFTC for the inner loop control in the haptic device by combining a Nonsingular Fast Terminal Sliding Mode Control (NFTSMC) with an improved reaching law [10] and the ESO [9]. NFTSMC not only has the worthy attributes of robustness to uncertainties, disturbances, and low sensitivity to the changes in the system parameters, but also guarantees that the system quickly approaches the equilibrium point in a finite time. Besides, we proposed a new reaching law [10] to further enhance the performance of Sliding mode control. Consequently, the proposed controller inherits the advantages of NFTMSC with an improved reaching law [10] and ESO [9], and can considerably improve the efficiency and the stability of the system under the effect of uncertainties and faults. In this research, the actuator fault is considered and the fault-tolerant control is proposed to estimate and compensate for the bias and loss of effectiveness faults (gain faults) mentioned in [11].

Overall, our key idea is to build a haptic device based on the Stewart Platform using the admittance model and the proposed controller. The admittance model is used to render the force impacting on the haptic handle measured by a force/torque sensor into the position and orientation of the haptic handle. The position and orientation are considered as the desired movements are fed to the proposed controller to control the haptic handle to follow the desired trajectory. The proposed controller will enhance the performance of the haptic device and make the haptic handle move smoothly under the existence of actuator faults. To assess the effectiveness of the haptic device using the suggested controller, the experiment result demonstrates a comparison of the proposed controller with the others. Finally, the haptic device will be applied for controlling a mobile robot and receiving force feedback from the robot to help the operator avoid collision and enhance task performance. The paper is organized as follows; the admittance model is described in Sect. 2. The active fault-tolerant control is designed in Sect. 3. The experiment result demonstrates the efficiency of the proposed controller and teleoperation of the mobile robot shown in Sect. 4. The conclusions are given in Sect. 5.

2 Admittance Model

The structure of the haptic device is shown in Fig. 1, which includes some main components such as a Stewart Platform, a force/torque sensor (F/T sensor) is mounted on the upper platform, and a handle is mounted on the F/T sensor. The admittance model regulates the relationship between the movement of the haptic handle and a contact force on the handle. The admittance equation for 1-DOF is described as

$$\frac{{x_{r} (s)}}{F(s)} = \frac{1}{{M_{i} s^{2} + B_{i} s + K_{i} }}$$
(1)
Fig. 1.
figure 1

Haptic device based on Stewart platform

where F is the force impacting on the handle, xr represents the position of the haptic handle in task space, while Mi, Bi, and Ki describe Cartesian inertia, viscosity, and stiffness of the mechanical system, respectively. For a 6-DOF haptic device, xr has six elements described as

$$\left[ \begin{gathered} t_{x} \hfill \\ t_{y} \hfill \\ t_{z} \hfill \\ \gamma \hfill \\ \beta \hfill \\ \alpha \hfill \\ \end{gathered} \right] = \frac{1}{{M_{i} s^{2} + B_{i} s + K_{i} }}\left[ \begin{gathered} f_{x} \hfill \\ f_{y} \hfill \\ f_{z} \hfill \\ m_{x} \hfill \\ m_{y} \hfill \\ m_{z} \hfill \\ \end{gathered} \right]$$
(2)

where tx, ty, and tz are the position of the haptic handle. α (Heave), β (Sway), and γ (Surge) are the orientation of the haptic handle. fx, fy, and fz are the force measured by the force/torque sensor. mx, my, and mz are the torque measured by the force/torque sensor.

3 Design Inner Position Control

3.1 Dynamic of the Haptic Device

The proposed haptic device is designed by using the admittance model and the inner position control shown in Fig. 2. This research develops the position control method (fault-tolerant control) based on the dynamic model that can ensure the static performance of the haptic device.

Fig. 2.
figure 2

Admittance control scheme for the haptic device

The dynamic modeling of the haptic device based on the Stewart Platform can be described as follows:

$$F = M(X)\ddot{X} + V(X,\dot{X}) + G(X) + d = J^{T} \tau$$
(3)

where \(X = [t_{x} ,t_{y} ,t_{z} ,\gamma ,\beta ,\alpha ]^{T}\). F denotes the force vector in the task space. J represents a Jacobian matrix. \(\tau \, \in \,R^{n}\) is the force vector in joint space. \(V(X,\dot{X})\) is the Coriolis and centrifugal force vector. \(G(X)\) is the gravity force vector, and d denotes the unknown disturbance.

The parameters M, V, G in (3) can be divided into nominal and uncertainty elements as follows: \(M = M_{m} + \Delta M\), \(V = V_{m} + \Delta V\), \(G = G_{m} + \Delta G\) where \(\Delta M,\Delta V,\Delta G\) are unknown dynamic uncertainties. Mm, Vm, and Gm are the nominal dynamics.

Then, the dynamic Eq. (3) of the Stewart Platform can be expressed as

$$F = M_{m} \ddot{X} + V_{m} + G_{m} + \xi = J^{T} \tau$$
(4)

where \(\xi = \Delta M.\ddot{X} + \Delta V + \Delta G + d\).

According to [11], the actuator fault in the system can be modeled as

$$\tau_{a} = (I - \eta (t))\tau \, + \varphi (t)\,\,\,\,(t > t_{e} )$$
(5)

where \(\varphi (t) = \left[ {\begin{array}{*{20}c} {\varphi_{1} (t)} & {\varphi_{2} (t)} & {...} & {\varphi_{n} (n)} \\ \end{array} } \right]^{T}\) with φ1(t), φ2(t),…, φn(t) are bounded functions (bias faults) and \(\eta (t) = diag\left( {\eta_{1} (t),\eta_{2} (t),...,\eta_{n} (t)} \right)\) with η1(t), η2(t),…, ηn(t) are unknown lost control rate functions (gain faults), \(0 \le \eta_{1} (t),\eta_{2} (t),...,\eta_{n} (t) \le 1\). I denotes an identity matrix. \(\tau_{a}\) is the torque values at the joints when faults appear and \(t_{e}\) is the time when the faults arise.

Substituting (5) into (4), we get:

$$\ddot{X} = M_{m}^{ - 1} \upsilon - M_{m}^{ - 1} \left( {J^{T} \eta (t)\tau - J^{T} \varphi (t) + \xi } \right)$$
(6)

where \(\upsilon = F - V_{m} - G_{m}\).

3.2 Extended State Observer-Based Estimation for Faults

To estimate and compensate for the uncertainties, disturbances, and faults, the estimation module based on ESO is described in this subsection.

In the state space, we can express Eq. (6) as:

$$\left\{ {\begin{array}{*{20}l} {\dot{\psi }_{1} \, = \,\psi _{2} } \hfill \\ {\dot{\psi }_{2} \, = \,M_{m}^{{ - 1}} \upsilon + \,\psi _{3} } \hfill \\ \end{array} } \right.$$
(7)

where \(\psi_{1} = X \in \,R^{n}\), \(\psi_{2} = \dot{X} \in \,R^{n}\)\(\psi_{3} = - M_{m}^{ - 1} \left( {J^{T} \eta (t)\tau - J^{T} \varphi (t) + \xi } \right)\). ψ3 denotes the extended state of the system.

The standard ESO has several drawbacks such as the peaking phenomenon and sensitivity to high-frequency measurement noise. Therefore, to reduce the effect of these drawbacks on the system, a new extended state observer proposed in [9] for the system (7) can be designed as:

$$\left\{ {\begin{array}{*{20}l} {\dot{\theta }_{1} = \frac{{\rho _{1} }}{\sigma }\left( {\psi _{1} - \theta _{1} } \right)\,,\,\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } _{2} = \frac{{\rho _{1} }}{\sigma }\left( {\psi _{1} - \theta _{1} } \right)} \hfill \\ {\dot{\theta }_{2} = M_{m}^{{ - 1}} \upsilon + \frac{{\rho _{2} }}{\sigma }\left( {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } _{2} - \theta _{2} } \right),\,\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } _{3} = \frac{{\rho _{2} }}{\sigma }\left( {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } _{2} - \theta _{2} } \right)} \hfill \\ \end{array} } \right.$$
(8)

where \(\theta_{1} ,\theta_{2} \, \in R^{n}\), 0 < σ < 1 is a small positive constant. \(\rho_{1} ,\rho_{2}\) are positive constants. \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{1} ,\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{2} ,\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{3}\) are observer states.

The convergence of the ESO (8) was shown in [9]. For the system (7) and the ESO (8), there exists ε > 0 and T > 0 so that \(\left| {\psi_{i} (t) - \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{i} (t)} \right| \le \varepsilon ,\,\,\,2\, \le i \le 3,\,\forall t \ge T\,\).

3.3 Inner Position Control for the Haptic Device

The fault-tolerant control based on Nonsingular Fast Terminal sliding mode control is designed for a Stewart Platform in this part. We select the sliding mode manifold of NFTSMC as

$$s = e + \mu_{1} e^{{p_{1} /p_{2} }} + \mu_{2} \dot{e}^{{r_{1} /r_{2} }} \,$$
(9)

where r1, r2, p1, and p2 are positive odd integers, 1 < r1/r2 < 2, p1/p2 > r1/r2 and μ1, μ2 are positive constants. The tracking error e = XrX. Xr is the reference position and orientation of the center of the upper platform. X is the practical position and orientation of the center of the upper platform.

The differential sliding surface (9) is calculated as,

$$\dot{s} = \dot{e} + \mu_{1} \frac{{r_{1} }}{{r_{2} }}\left| e \right|^{{\frac{{p_{1} }}{{p_{2} }} - 1}} \dot{e} + \mu_{2} \frac{{r_{1} }}{{r_{2} }}\left| {\dot{e}} \right|^{{\frac{{r_{1} }}{{r_{2} }} - 1}} (\ddot{X}_{r} - \ddot{X})$$
(10)

From (7) and (10), it can be rewritten as,

$$\dot{s} = \dot{e} + \mu_{1} \frac{{p_{1} }}{{p_{2} }}\left| e \right|^{{\frac{{p_{1} }}{{p_{2} }} - 1}} \dot{e} + \mu_{2} \frac{{r_{1} }}{{r_{2} }}\left| {\dot{e}} \right|^{{\frac{{r_{1} }}{{r_{2} }} - 1}} \left( {\ddot{X}_{r} - M_{m}^{ - 1} \upsilon - \psi_{3} } \right)$$
(11)

We can design the AFTC law with an improved reaching law [10] as follows:

$$F = F_{e} + F_{sw} = J^{T} \tau$$
(12)

in which the equivalent part is

$$F_{e} = M_{m}^{{}} \left( {\ddot{X}_{r} + \frac{1}{{\mu_{2} }}\frac{{r_{2} }}{{r_{1} }}\dot{e}^{{2 - \frac{{r_{1} }}{{r_{2} }}}} + \frac{{\mu_{1} }}{{\mu_{2} }}\frac{{p_{1} }}{{p_{2} }}\frac{{r_{2} }}{{r_{1} }}\left| e \right|^{{\frac{{p_{1} }}{{p_{2} }} - 1}} \dot{e}^{{2 - \frac{{r_{1} }}{{r_{2} }}}} - \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{3} + \omega_{2} \left| s \right|^{h} {\text{sgn}} (s)} \right) + V_{m} + G_{m}$$
(13)

and the switching part is

$$F_{sw} = M_{m} \omega_{1} \tanh \left( {\frac{s}{\delta }} \right)$$
(14)

with \(\omega_{1} = \frac{{2\omega_{3} }}{\lambda + (1 - \lambda )\exp ( - \zeta (\left| s \right| - 1))}\), \(h = \left\{ {\begin{array}{*{20}c} k & {if\,\left| s \right| \ge 1} \\ 1 & {if\,\left| s \right| > 1} \\ \end{array} } \right.,k,\omega_{2} ,\omega_{3} ,\lambda ,\zeta ,\delta\) being positive constants, \(0 < \lambda < 1\), k > 1.

Theorem:

We consider that with the state space form of the Stewart Platform described in (7), a non-singular fast terminal sliding surface presented in (9), the ESO given in (8), and the controller designed in (12), then tracking error will converge to an equilibrium point in a finite time.

Proof:

The Lyapunov function is chosen as \(V = \frac{1}{2}s^{2} \,\, \ge \,\,0\)

Then, the differential Lyapunov function V is

$$\dot{V} = s\dot{s} = s\left[ {\dot{e} + \mu_{1} \frac{{p_{1} }}{{p_{2} }}\left| e \right|^{{\frac{{p_{1} }}{{p_{2} }} - 1}} \dot{e} + \mu_{2} \frac{{r_{1} }}{{r_{2} }}\left| {\dot{e}} \right|^{{\frac{{r_{1} }}{{r_{2} }} - 1}} \left( {\ddot{X}_{r} - M_{m}^{ - 1} \left( {F - V_{m} - G_{m} } \right) - \psi_{3} } \right)} \right]\,$$
(15)

Substituting (12) into (15) yields

$$\dot{V} = - \mu_{2} \frac{{r_{1} }}{{r_{2} }}\omega_{1} s\left| {\dot{e}} \right|^{{\frac{{r_{1} }}{{r_{2} }} - 1}} \tanh \left( {\frac{s}{\delta }} \right) - \mu_{2} \omega_{2} \frac{{r_{1} }}{{r_{2} }}\left| {\dot{e}} \right|^{{\frac{{r_{1} }}{{r_{2} }} - 1}} \left| s \right|^{h + 1} + \mu_{2} \frac{{r_{1} }}{{r_{2} }}s\left| {\dot{e}} \right|^{{\frac{{r_{1} }}{{r_{2} }} - 1}} (\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{3} - \psi_{3} )\,\,$$
(16)
$$\dot{V} \le \, - \mu_{2} \frac{{r_{1} }}{{r_{2} }}\omega_{1} s\left| {\dot{e}} \right|^{{\frac{{r_{1} }}{{r_{2} }} - 1}} \tanh \left( {\frac{s}{\delta }} \right) - \mu_{2} \frac{{r_{1} }}{{r_{2} }}\left| s \right|\left| {\dot{e}} \right|^{{\frac{{r_{1} }}{{r_{2} }} - 1}} \left( {\omega_{2} \left| s \right|^{h} - \varepsilon } \right) \le 0$$
(17)

The system will be stable if the following condition is satisfied:

$$\omega_{2} \left| s \right|^{h} \ge \varepsilon$$
(18)

When the state system approaches the sliding surface (\(\left| s \right| < 1\)), (18) leads to \(\left| s \right| \ge \frac{\varepsilon }{{\omega_{2} }}\). The value ε can be very small, e.g., 0.001, 0.0001, etc. due to the convergence of ESO (8). We can select a large enough value \(\omega_{2}\), then \(\varepsilon /\omega_{2}\) can be near zero. In other words, s will approach the convergence region \(\varepsilon /\omega_{2}\) in a finite time, then the tracking error will converge to the equilibrium point within a finite time, and the theorem is proven.

The finite time ts of the sliding surface that is needed to travel from e(tr) to e(tr + ts) can be determined in [12] as

$$t_{s} = \frac{{\frac{{r_{1} }}{{r_{2} }}\left| {e(0)} \right|^{{1 - r_{2} /r_{2} }} }}{{\mu_{1} \left( {\frac{{r_{1} }}{{r_{2} }} - 1} \right)}}GF\left( {\frac{{r_{2} }}{{r_{1} }},\frac{{\frac{{r_{1} }}{{r_{2} }} - 1}}{{\left( {\frac{{p_{1} }}{{p_{2} }} - 1} \right)\frac{{r_{1} }}{{r_{2} }}}};1 + \frac{{\frac{{r_{1} }}{{r_{2} }} - 1}}{{\left( {\frac{{p_{1} }}{{p_{2} }} - 1} \right)\frac{{r_{1} }}{{r_{2} }}}}; - \mu_{1} \left| {e\left( 0 \right)} \right|^{{p_{1} /p_{2} - 1}} } \right)$$
(19)

where GF(.) is a Gauss’ hypergeometric function.

4 Experiment

4.1 The Performance of the Proposed Controller

This subsection compares the efficiency of NFTSMC without ESO (NFTSMC), NFTSMC with the standard ESO (AFTC-ESO1), and the suggested fault-tolerant method (12) using the ESO (8) (Proposed Controller) for a haptic device based on a Stewart Platform, which was mainly constructed by six MightyZap actuators 12Lf-17F-90 and the moving and fixed platforms shown in Fig. 1. A six-axis force/torque sensor RFT80-6A01 is mounted on the moving platform and the handle is installed on the sensor.

The NFTSMC without the ESO can be expressed as:

$$F = M_{m}^{{}} \left( {\ddot{X}_{r} + \frac{1}{{\mu_{2} }}\frac{{r_{2} }}{{r_{1} }}\dot{e}^{{2 - \frac{{r_{1} }}{{r_{2} }}}} + \frac{{\mu_{1} }}{{\mu_{2} }}\frac{{p_{1} }}{{p_{2} }}\frac{{r_{2} }}{{r_{1} }}e^{{\frac{{p_{1} }}{{p_{2} }} - 1}} \dot{e}^{{2 - \frac{{r_{1} }}{{r_{2} }}}} + \omega_{1} sign\left( s \right) + \omega_{2} s} \right) + V_{m} + G_{m}$$
(20)

On the other hand, the standard ESO for the system (7) can be given as:

$$\left\{ {\begin{array}{*{20}l} {\dot{\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } }_{1} = \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } _{2} + \frac{{\rho _{1} }}{\sigma }\left( {\psi _{1} - \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } _{1} } \right)} \hfill \\ {\dot{\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } }_{2} = M_{m}^{{ - 1}} \upsilon + \frac{{\rho _{2} }}{{\sigma ^{2} }}\left( {\psi _{1} - \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } _{1} } \right) + \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } _{3} } \hfill \\ {\dot{\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } }_{3} = \frac{{\rho _{3} }}{{\sigma ^{3} }}\left( {\psi _{1} - \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi } _{1} } \right)} \hfill \\ \end{array} } \right.$$
(21)

where \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{1} ,\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{2} ,\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{3}\) are observer states. σ < 1 is a small positive constant. \(\rho_{1} ,\rho_{2} ,\rho_{3}\) are positive constants selected such that the following polynomial is Hurwitz: \(s^{3} + \rho_{1} s^{2} + \rho_{2} s + \rho_{3}\). Then, the AFTC-ESO1 controller is designed similarly to (12), but \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{\psi }_{3}\) in the controller is an observer state of (21).

To test the robustness of the proposed controller compared with the other controllers, it was assumed that faults occur at leg 2, leg 4, and leg 6 from the tenth second. The torque functions of actuators with the existence of faults were defined in (5) where the gain faults can be assumed as \(\eta_{1} (t) = 0\)\(\eta_{2} (t) = 0.2 + 0.3\sin (\pi t)\,\)\(\eta_{3} (t) = 0\)\(\eta_{4} (t) = 0.3 + 0.1\cos (3t + 2)\), \(\eta_{5} (t) = 0\)\(\eta_{6} (t) = 0.25 + 0.2\cos (t + 7)\) and the bias faults can be assumed as \(\varphi_{1} (t) = 0\)\(\varphi_{2} (t) = 0.3\cos (0.5t + 10)\), \(\varphi_{3} (t) = 0\), \(\varphi_{4} (t) = 0.2\sin (3t)\), \(\varphi_{5} (t) = 0\), and \(\varphi_{6} (t) = \sin (t + 5)\). For the ESO (8), the parameters are set as \(\rho_{1} = 1\)\(\rho_{2} = 1\), and \(\sigma = 0.09\). The parameters of the standard ESO (21) are given as \(\rho_{1} = 3\), \(\rho_{2} = 3\), \(\rho_{3} = 1\), and \(\sigma = 0.09\). The parameters in AFTC law (12) and (20) are selected as μ1 = 0.1, μ2 = 0.02, p1 = 27, p2 = 19, r1 = 21, r2 = 19, ω3 = 0.1, ω2 = 400, λ = 0.1, ζ = 0.2, δ = 0.1, k = 1.1. The random movements of the upper platform were given by the force impacting on the handle through the admittance model (2) where Mi = 1, Bi = 70, Ki = 800.

For teleoperation of a mobile robot, just two degrees of freedom (DOF) of Stewart platform are used. Thus, we considered the performance of x and y directions only, and neglected the remaining DOFs in this study. In addition to observing the result figures, the mean absolute error (MAE) (22) of each controller was also used for the performance evaluation.

$$MAE = \frac{1}{m}\sum\limits_{m = 1}^{m} {\left| {X_{ri} - X_{i} } \right| = } \frac{1}{m}\sum\limits_{i = 1}^{m} {\left| {e_{i} } \right|}$$
(22)

where \(X_{ri}\) is the reference trajectory, \(X_{i}\) is the practical trajectory, m is the sample size. \(e_{i} = X_{ri} - X_{i}\).

Figure 3 and Table 1 show experimental results of the haptic device using NFTSMC, AFTC-ESO1, and Proposed Controller for x and y directions. It can be seen that the performance of AFTC-ESO1 and Proposed Controller were better than NFTSMC in the first ten seconds due to the estimation and compensation of the standard ESO (8) and ESO (21) in the control laws for unknown uncertainties and disturbances of the system. Next, after ten seconds, the actuator faults occurred and the controllers showed significantly different performances. Thanks to the compensation of the ESO (8) and ESO (21), AFTC-ESO1 and Proposed Controller presented superior performance compared to NFTSMC for control tasks even though the faults arose. The proposed Controller using the ESO (8) was a bit more effective than AFTC-ESO1. Besides, the handle of the haptic device using NFTSMC does not move smoothly under the presence of faults, which causes uncomfortable state for the operator. In summary, the haptic device using the Proposed Controller has high precision and moves smoothly compared with the other controllers.

Fig. 3.
figure 3

The performance of the haptic device using NTSMC, AFTC-ESO1, and proposed controller

Table 1. The mean absolute errors for x and y directions

4.2 Teleoperation of a Mobile Robot in the Virtual Environment

Figure 4 shows the teleoperation scheme of a mobile robot. The proposed haptic device with the faulty assumption in subsect. 4.1 was tested for teleoperation of the slave robot in the virtual environment built in Gazebo and shown in Fig. 5. The virtual environment includes a mobile robot and obstacles. The mobile robot is equipped with a Lidar sensor to detect obstacles. The laser scanner provides an angular solution of 1°, an angular range of 360°, and a distance range of approximately 3.5 m at a scan rate of approximately 300 rpm. The obstacles were different shapes and sizes, and were comprised of cylinders, cubes, and walls. The haptic device was connected to the computer and communicated with the mobile robot via ROS (Robot Operating System) software platform. According to [4], a logical position of the haptic handle can be mapped to the motion parameters of the mobile robot. For this research, the position command x and y were mapped to the speed rate and turning rate, respectively shown in Fig. 6. In this experiment, the operator remotely controls the mobile robot by moving the handle of the haptic device. The mission is that the operator controls the mobile robot to move from the start point to the goal point as fast as possible while simultaneously avoiding the obstacles on the given route shown in Fig. 5.

Fig. 4.
figure 4

Teleoperation scheme of a mobile robot

Fig. 5.
figure 5

A mobile robot in a virtual environment

Fig. 6.
figure 6

Mapping a logical point (x, y) to motion parameters (speed rate, turning rate)

The position of the haptic handle and contact force on the handle measured by the force/torque sensor are shown in Fig. 7. Due to the measurement noise and the sensitivity of the F/T sensor, there were contact force oscillations lower than 5N in Fig. 7b, but it did not cause difficulty in controlling the haptic handle. It took approximately 145 s to complete the mission and the robot approached the obstacles two times. When the robot closed to obstacles two and four, the force feedback was provided to the haptic device to drive the handle backward at the 16th and 83rd seconds, which made the contact force increase and the robot move away from the obstacles. In the real field, this would protect the robot from damage due to an unexpected collision. These results illustrated the adequacy and effectiveness of the proposed haptic device for the teleoperation of a mobile robot.

Fig. 7.
figure 7

Experimental results of teleoperation. a) Movement of the haptic handle to control a mobile robot. b) Contact force on the haptic handle

5 Conclusion

In this paper, the development of a haptic device based on a Stewart platform using the admittance model and fault-tolerant control was presented. The admittance model was used to convert force input to the handle position. The position control based on a fault-tolerant algorithm was developed to track the desired position given by the admittance model. To prove the effectiveness of the proposed fault-tolerant controller compared to the other controllers, the same desired trajectory and fault functions were applied for all controllers. The tracking performance in the experiment showed good performance of the Proposed Controller compared with the NFTSMC and AFTC-ESO1. Furthermore, the Proposed Controller illustrated the robustness trait and improved accuracy even though unknown disturbances and faults appeared in the system. The handle of the haptic device using Proposed Controller moved smoother than using the other controller, which makes the operator comfortable for controlling the haptic device. Finally, teleoperation of a mobile robot in a virtual environment was implemented to assess the proposed haptic device. The results demonstrated that the proposed master device was effective for teleoperation of the mobile robot.

In the future, the teleoperation of an actual mobile robot via wireless communication will be investigated. Furthermore, the proposed haptic device will be applied for teleoperation of the 6-DOF model like an unmanned aerial vehicle (UAV).