Abstract
Modeling of various phenomena in engineering work is always a kind of simplification of real processes, aiming at a model where a certain level of mathematical theory and computational procedures is sufficient. If the complexity of the required theory corresponds to the general mathematical competence of engineers, then technical problems can be treated separately in engineering (or physical) models without regard to the mathematical background. However, in some advanced engineering fields, the harmonized development of engineering and mathematical models and toolboxes is necessary to find efficient solutions. For example, modeling variable structure systems in ideal sliding mode requires a mathematical toolbox that goes far beyond general engineering competence through the theory of discontinuous right-hand-side differential equations. Although sliding mode control is popular in practice and the concept of sliding mode allows a significant reduction of model complexity, its exact mathematical description is rarely encountered. The problem of friction compensation of a micro-telemanipulator using sliding mode control demonstrates a harmonized application of the mathematical and engineering approaches. Based on Filippov’s theory, the ideal sliding mode can be discussed. Although an ideal system cannot be implemented in reality, the real systems can be kept close enough to it; therefore, the discussion of the solution of the ideal model is important for practical applications. Although several elements of the topic are available in the literature, in this paper a unique complex approach is given for users of sliding mode control with experimental considerations, different engineering models, and codes. The paper concludes that sliding mode control is a case where engineering and mathematical modeling are inseparable and requires the competence of both fields.
    MSC:
                93C30
            1. Introduction
Micro-telemanipulation is an area where the use of sophisticated control methods is necessary. A central issue is friction compensation, which causes difficulties due to its nonlinearity. Several methods have been developed for the control of telemanipulation systems; one of these efficient and robust methods is the sliding mode control method.
1.1. The Concept of Telemanipulation
The definition of telemanipulation is when a human operator controls a remote environment as the movement of the slave device in the remote environment is controlled by a master device, while receiving certain types of information from the remote environment (see Figure 1). The main parts of telemanipulation systems are as follows:
 
      
    
    Figure 1.
      Block diagram of information and energy flow in an telemanipulation environment.
  
- master device;
- slave device;
- communication channel to transfer sufficient information;
- force and motion sensors (if force and torque are necessary information for the specified task);
- audio-visual displays (direct or 3D created visual information);
- actuators conveying force and tactile information to the operator (haptic devices).
A specific and focused type of telemanipulation is micro-telemanipulation, where both force and position scaling are required to ensure efficient operation. The motion and force information sent from the master side needs to be downscaled (reduced), and the information coming in the slave/remote direction from the micro side needs to be upscaled (increased) (Figure 1). The scaling can be linear, piecewise linear, or nonlinear, depending on the nature of the application. Of course, if force and torque feedback is required, then the telemanipulation process is to enforce Newton’s third law (action–reaction forces) between the local and remote devices. In addition, due to the human–robot collaboration nature of the master device, certain safety functions (rate of change, absolute magnitude) should be considered in practice to prevent damage on both sides.
1.2. The History of Telemanipulation and the State of the Art
The first teleoperated devices were built in 1890 by Nicola Tesla []. In the mid-1940s, Goertz built the first mechanical master–slave teleoperator machine [], mainly to avoid working in a dangerous environment.
Until the mid-1960s, telemanipulator systems had a very small working distance range, so the time delay problem did not arise. In 1965, a move-and-wait strategy was shown to cope with the delay []. The goals of space exploration made it necessary to extend the range of telemanipulation so that the problems of time delay were compensated by the controller for the human operator. [] It also made it necessary to place the telemanipulator’s slave device on a vehicle that can deliver the device to its target area []. The role of the human factor in telemanipulation systems has also become the subject of study in both the design and operational parts [].
In the mid-1980s and early 1990s, there was a lot of progress in time delay. In [], a design framework for teleoperators with kinesthetic feedback and bilateral impedance control was introduced. And [] informs us that the first true telerobot was operated in space. With the development of MEMS technology, the first micro-telemanipulation systems appeared.
In [], a 6 DOF micromanipulator with PZT actuators was designed and tested. In [], force and vision feedback were combined for a sensor-based microassembly task.
In the 2000s, micromanipulation was widespread. In [], a microrobot-based micro-assembly station was presented. In [], an electrostatic MEMS microrobot was presented that is one to two orders of magnitude smaller than previous microrobot systems and can be controlled by teleoperation. In [], a haptic rendering technique for a telemanipulation system for micro and macro applications was presented. In [], the design and integration of a telerobotic system for surgical purposes was presented. In [], the precision control of a piezo-actuated micro-telemanipulation system was demonstrated. In [], a novel control strategy for a nonlinear bilateral macro–micro teleoperation system with time delay was designed. In [], a new evaluation and training system for micro-telemanipulation for middle ear surgery purposes was presented.
Over the past five years, research in micromanipulation has produced the following results. In [], an origami-inspired micromanipulator for remote microsurgery was presented. In [], an intuitive and comprehensive platform for force-assisted micromanipulation applications was presented. In [], a combined control for a piezoelectric actuator using a feedforward neural network and feedback integral fast terminal sliding mode control was designed. In [], a review of magnetic microrobots for micro- and nanomanipulation was presented. In [], acoustic actuators for micro- and nanorobot manipulation were presented. In [], the design and evaluation of an adjustable compliant constant force microgripper was shown and in [] a microgripper robot with end electropermanent magnet collaborative actuation was presented.
1.3. About Sliding Mode Control
The theory of variable structure systems and related sliding mode control was first developed in the Soviet Union in the 1950s and 1960s, mostly published in Russian. The spread of the theory in English is mainly due to Vadim I. Utkin []. Its first application in the Soviet Union was in aeronautics and rocketry, and it became increasingly widespread in the English-language literature in the fields of robot control [] and servo drives []. In the early 1980s, the sliding mode appeared in the control of induction motor drives []. Early applications highlighted some very advantageous properties of sliding mode control. Power electronic devices contain switching elements and therefore belong to the class of variable structure systems. Sliding mode control can be easily implemented on these devices. Starting in the 1980s onwards, sliding mode control became a popular tool for power electronics applications [], and is still widely used in this field today. An exact mathematical description of the ideal sliding mode requires the theory of differential equations with discontinuous right-hand side [,]. In [], a sliding mode controller composed of a PID-type sliding mode surface with an inverse tangent hyperbolic function and a variable-gain hyperbolic tracking law is proposed for trajectory tracking under uncertainty. In [], a sensorless control system based on a continuous terminal sliding mode controller (CT-SMC) and fuzzy super-twisted sliding mode observer (F-ST-SMO) was designed. In [], a model-based, chatter-free sliding mode control (CFSMC) algorithm is developed to maintain a desired heating value trajectory of the syngas mixture of an underground coal gasification (UCG) process. Nowadays, most control algorithms are implemented digitally []. The authors in [] propose a combination of a data-driven algorithm represented by continuous-time active disturbance rejection control (ADRC) and a sliding mode control (SMC) algorithm. The MATLAB code is presented in Appendix A.
1.4. Structure of the Article
In Section 2, we describe our telemanipulation system. Section 2.1 and Section 2.2 describe the problem to be solved from an engineering point of view and the essence of applied sliding mode control, respectively. Finally, in Section 2.3 we formulate the mathematical problem, the solution of which is one of the main contributions of the article.
In Section 3, we first present the mathematical background of the theory of differential equations with discontinuous right-hand side (Section 3.1), and then apply the theory to the solution of a relay system (Section 3.2).
In Section 4, we first write the equations of the experimental system, then we solve the equations by following the steps in Section 3.2 (see Section 4.1). Finally, we address the challenges of computer implementation (see Section 4.2).
The simulation and experimental results are presented in Section 5 and Section 6. Section 7 concludes the article. Appendix A presents the details of MATLAB simulation.
2. Problem Statement
The aim of this article is to demonstrate that sliding mode control requires advanced mathematical and engineering modeling tools, so a complex approach is required for planning. Therefore, we refer to the referenced literature for deeper considerations related to engineering technology.
2.1. The Experimental Setup (Engineering Approach of the Problem Statement)
A 6 DOF telemanipulation system is given with specific devices and mechanisms on the master and slave sides (see Figure 1). On the master side, a joystick is held, can be moved, and rotated manually by the operator. The workspace is 800 mm × 800 mm × 800 mm for translational motion, and the maximum rotation is  for each axis. The operation is based on force feedback in response to manipulations in all types of motion (all degrees of freedom). The simplified structure belonging to a translational motion is shown in Figure 2.
 
      
    
    Figure 2.
      Simplified model of one translational DOF.
  
In the experimental device, due to the frictional forces (e.g., in the chatter-free planetary gear) and the inertia of the mechanical elements, a relatively large force (of about 10 N) is required to move the joystick, even in unloaded operation (see Table 1). In other words, an additional force of about 10 N must be applied by the operator when manipulating the device. In the case of a micromanipulation task, this amount of force is too large compared to the reaction force acting on the part on the slave side, and prevents a sufficiently smooth operation. The higher the additional force compensated by the operator, the more uncertain (less reliable and accurate) the operation.
 
       
    
    Table 1.
    Summary of maximum sensed forces.
  
In telemanipulation, a bilateral control problem, as shown in Figure 3, must be solved. Figure 3 does not indicate that in the case of micromanipulation, the workspace of the remote environment and the forces arising in the remote environment must be rescaled to the workspace of the master device and the perception range of the operator. In many cases, it is not enough to simply multiply and divide the signals, but due to the dynamic differences, time must also be rescaled, which causes additional difficulties. In contrast, the main point of this article is how we can virtually change the unknown dynamics of the telemanipulation system.
 
      
    
    Figure 3.
      Schematic diagram of the bilateral control of a telemanipulation system.
  
 and  are the two external forces acting on the master and slave sides. The former is the operator’s force on the master device, and the latter is the reaction force exerted by the remote environment on the slave side. Ideally, these are identical, i.e., the operator can feel how much force the remote environment is exerting on the slave device.  and  are the two internal (Newtonian) acceleration forces on the master and slave sides. According to the bilateral control,  is generated by a force controller and  is generated by a position controller. On both sides, the total force  and the force  are measured. On the master side, the goal is that the force error  and the position error  on the slave side should be zero or as small as possible.  and  are the displacements of the master and slave devices. Similar block diagrams are associated with each degree of freedom. In the case of rotary joints, torque and angular displacement should be written instead of force and displacement.
Although in the ideal case  and , and therefore , in many cases in practice , i.e., the real value of the force  cannot be felt by the operator due to internal and external disturbances, so the disturbing effects must be compensated. In our experimental device, this means that the movement of the master device is mainly performed by servomotors with additional torque control.
The role of the force controller (see Figure 3) is to balance the total forces  and , for which traditional PID controllers are commonly used. In certain applications, such as micromanipulation control tasks, a PID controller may not be able to properly compensate for the force difference, and it is necessary to add another type of force compensation. The goal of the compensation is to create a mode of operation where the operator can mainly feel the reaction force  (feedback) and comfortably move the master device (joystick) when controlling the remote device.
In our study, tests were conducted to determine the physical parameters of joystick motion that would give the operator a sense of ease of operation, resulting in a linearized reference model discussed below. For simplicity, all mass, inertia, and friction values in the model are converted to equivalent mass, inertia, and friction forces acting on the joystick.
In the control task discussed, the goal is twofold: to feed back the reaction force generated in the remote environment to the operator and to compensate for the forces required to move the master-side mechanism. In practice, a perfect compensation is impossible due to time delays and frequency bandwidth limitations of the master and slave devices. Instead, we force the system to follow a virtual dynamic characteristic, namely a reference dynamic model with much less moving mass and friction effect than the master device actually has. In the case of free motion (no force feedback from the remote environment), the operator feels that the joystick (master device) is easy to move because the motors are operating the mechanism instead of the operator. This is the model reference adaptive approach.
Based on the reference dynamic model, we determine the ideal state of the motion trajectory belonging to the control task, and force the system to return to it if the actual state of the system is not on the ideal trajectory using a so-called bang–bang control, where force is the input and velocity is the output of the master system.
In our experimental setup, due to the special force compensation, the “artificial friction force” is only  N at a constant speed of  m/s. We assume that the operator applies force pulses of alternating sign to the master device along the x axis. The magnitudes of the force pulses are  N and  N, respectively. To ensure smooth motion of the master device, the compensation force was generated by a compensation toolset (model reference adaptive control loop) instead of the operator. In the steady state of the master device, this force results in a velocity of  m/s and  m/s in the case of the reference model (see Section 6).
The master device transfer function belonging to the translational movement in a given direction (let us say x) was experimentally determined as
        
      
        
      
      
      
      
    
        where  is the Laplace transform of the velocity-time function of the master device joystick’s movement in the x direction and  is the Laplace transform of the force exerted by the operator.
2.2. The Application of the Sliding Mode (A Control Tool for the Solution of the Engineering Problem)
To illustrate the benefits of sliding mode control, consider a system modeled by the following system of first-order differential equations: 
      
        
      
      
      
      
    
        where , , and  are the input, the output, and the disturbance signals, respectively, and , , u, and d are given bounded functions. This system represents a second-order nonlinear differential equation for the function .
Suppose that we start from an arbitrary initial state, and the goal of the control is to make the output signal  go to zero. Since, due to the laws of physics, the state variables can only change continuously (they cannot “jump” in time), it makes sense to design a smooth trajectory in the two-dimensional phase plane ending at the origin and force the system to follow it. In the practical implementation of the sliding mode, the control signal is different on the two sides of the trajectory and, to keep the state in the small neighborhood of the ideal trajectory, we have to “switch” it according to the current state. In this process, breakpoints of the function  induced by the control signal  through the jumps of  play an important role. In higher dimensional phase spaces, a hyper-surface, the so-called sliding surface, is defined (designed in applications) and the switching takes place when the trajectory passes through a point of the sliding surface. Therefore, it can also be called a switching surface.
In our example, consider a switching curve given by , where s is a smooth scalar-valued function with a different sign on each side of the curve in the two-dimensional  phase plane (Figure 4). When the real trajectory crosses the switching curve, the control signal is changed to force it back to the ideal trajectory. Since switching in real systems is time-delayed, the real trajectory cannot “turn back” at the switching curve, but must move away from it a little. This phenomenon (called chattering) is inevitable in real systems. There are several studies dealing with chatter reduction methods []. Ideally, in the so-called sliding mode, the state never leaves the switching curve (sliding curve) but moves along it toward the target state.
 
      
    
    Figure 4.
      Illustration of the mutual position of a real trajectory and a switching curve in 2D phase space.
  
Let s be a linear combination of the state variables  and  (typical in applications). Then the sliding curve is a straight line that can be given as
        
      
        
      
      
      
      
    
If we assume that the system does not leave this line in the phase plane during operation, then Equation (2) has the simple form
        
      
        
      
      
      
      
    
        which is a first-order homogeneous differential equation for the output signal , whose solution is
        
      
        
      
      
      
      
    
        where  is the initial value of the output signal and  is the time constant of the system. We can conclude that operating a dynamic system in sliding mode provides an opportunity to significantly reduce the complexity of the model (the order of the differential equation).
2.3. The Mathematical Challenge
The key idea in sliding mode control is that if we can somehow ensure that the trajectory stays on the sliding surface in phase space, then the control becomes independent of the system parameters and the system equations can be overwritten by the sliding surface equation (by a given relationship between the state variables). Filippov’s theory shows under which conditions this can be performed in the mathematical model. If the conditions are met, then the “motion” in phase space is limited to the sliding surface, so we can apply the above method of reduction.
In a real system, the state trajectory is kept in a small neighborhood of the sliding surface by switching between two appropriate control signals at appropriate times. This procedure results in a trajectory that alternates around the sliding surface. In the mathematical model of the ideal case, it is assumed that the reversal effect is activated “immediately” when the state leaves the sliding surface, i.e., the time between switches is zero (infinitesimal). In the differential equation of the system, the two different control actions are represented by two different functions on the right-hand side, defined on both sides of the sliding surface. That is, the right-hand side of the differential equation is discontinuous at the points of the sliding surface.
In the example above where the system was originally described by a second-order differential equation (Equation (2)), we could obtain a first-order differential equation (Equation (4)) that provides the solution (Equation (5)) under special circumstances.
With the theory of differential equations with discontinuous right-hand side, which now has been extensively studied in the literature, Filippov established the theoretical background of the control task related to switching mode. In his work, the engineering (physical) and mathematical models were developed together, resulting in an approach that can be used in practical control design.
3. The Mathematical Model
3.1. Some Basic Definitions in the Theory of Differential Equations with Discontinuous Right-Hand Side
Several important technical problems lead to differential equations with discontinuous right-hand side. Well-known examples are mechanical systems where friction appears or electrical systems where relays are used. Two basic types are the following.
Let  be an open domain and  be a set of Lebesgue measure zero. Let us introduce two equations (systems of differential equations) as follows. First consider the following equation: 
      
        
      
      
      
      
    
        where  is continuous on  and discontinuous on M.
Since in control theory problems the external control signal (excitation)  is generally discontinuous, it is advisable to represent it explicitly on the right-hand side and to write
        
      
        
      
      
      
      
    
        where  is continuous, while  is continuous on  and discontinuous on M.
In [,], a connection is established between these differential equations and the so-called differential inclusions
        
      
        
      
      
      
      
    
        respectively, where , , and U are suitable set-valued functions. Solutions of (8) are considered as solutions of Equations (6) and (7), respectively. Under certain circumstances  can be uniquely defined using values at points of continuity. It is an important special case in practice when M is a smooth hyper-surface in G.
In the case of Equation (6),  if  while  is the closure of the convex hull of limits  if . The illustrative meaning of this is that the derivative (the right-hand side of the differential equation) at the discontinuity points is determined by the derivatives valid at the nearby continuity points, which differs on the two sides of the surface. To clarify this idea we introduce the following concepts.
Let  be discontinuous on a smooth surface  given as ,  and continuous on . The two “sides” of S are defined as
        
      
        
      
      
      
      
    
        furthermore, functions
        
      
        
      
      
      
      
    
        and limits
        
      
        
      
      
      
      
    
        are introduced. Then set  can be defined as a segment joining  and . If this segment intersects the tangent plane P of S belonging to point , then denote the intersection of the tangent plane and the segment by . A solution  of
        
      
        
      
      
      
      
    
        is assumed to be a solution of Equation (6). If , then such a solution is called sliding mode.
A continuous function  which for a part of the time interval lies in  (or in ) and satisfies Equation (6) there, while for the rest of the time interval lies on surface S and satisfies Equation (12), is assumed to be a solution of Equation (6).
Note that a trajectory provided by this method consists of states for which the original differential equation is not defined. This is what the theory of the differential equations with discontinuous right-hand side contributes to the system modeling when studying certain special engineering systems.
To describe the mutual position of the gradient of surface S and the directions  and , we introduce notations
        
      
        
      
      
      
      
    
        where · is the inner product operator. If
        
      
        
      
      
      
      
    
        then near the surface S all solutions approach S from both sides (as time increases) and none of them leaves S after reaching it (a solution which passes through a point of S will therefore remain on S). Equation (14) is a sufficient condition of the sliding mode.  can be written as a convex combination
        
      
        
      
      
      
      
    
        where
        
      
        
      
      
      
      
    
(see [] and Figure 5).
 
      
    
    Figure 5.
      Illustration of  in 2D.
  
In the case of Equation (7), we define function U as follows:  if  while  is the closure of the convex hull of limits  if . Then  if  and  is the closure of the convex hull of set  if .
A particular case is the following. At points of S we assume
        
      
        
      
      
      
      
    
        where so-called equivalent control  is defined so that g is tangent to S and  is contained in closed interval with endpoints  and , where  and  are limiting values of u on both sides of S. Function  can be determined from equality
        
      
        
      
      
      
      
    The solution is an absolutely continuous function which satisfies Equation (6) outside S and satisfies Equation (8) on S. The endpoint of vector  lies on the intersection of the plane tangent to S at  and the arc spanned by the endpoints of  when u varies from  to .
In the following, we prefer writing the formula  rather than  in the general explanations. Of course, the control signal u appears in the calculations.
3.2. Using Filippov’s Approach in Modeling
Let S be a smooth surface, and let sets  and  and continuous functions  and  be defined according to Section 3.1. Consider a system modeled by autonomous differential equation
        
      
        
      
      
      
      
    
Note that Equation (19) is not interpreted on S, and  and  do not coincide on the two sides of S. The graphical interpretation of this system is given in Figure 6.
 
      
    
    Figure 6.
      Closed loop relay controller.
  
The state of the relay depends on the sign of s (on which side of the sliding surface S the current state is) and switches the right-hand side of the equation between  and . The purpose of the control is to force the state trajectory onto S, in other words, to implement sliding mode control. This problem was studied by Filippov (see [,]). He searched for the solution  of Equation (19) at the points of S by considering how the differential equation (the derivative of  behaves in the neighborhood of that point. He allowed the behavior of the derivative on a set of Lebesgue measure zero to be different from its environment. In this paper, we deal with autonomous differential equations, although Filippov’s original definition is also valid for non-autonomous equations.
He assumed that  is a measurable and locally bounded function defined and continuous almost everywhere in an open domain in . For points of discontinuity  he defined the set
        
      
        
      
      
      
      
    
        where  is a neighborhood of  with radius ,  is the Lebesgue measure, and “conv” is the closure of the convex hull of a set.
For the solutions of the equation
        
      
        
      
      
      
      
    Filippov introduced the following definition.
 Definition 1.  
An absolute continuous function  is a solution to the differential Equation (21) if
      
        
      
      
      
      
    holds almost everywhere in 
Note that if  is continuous at , then  has only one element, namely , that by Filippov’s definition is consistent with the solution of the differential equations with continuous right-hand side.
4. Experimental Application of Sliding Mode Model-Following Control
Instead of Equation (6), we use the quasi-Linear Parameter-Varying (qLPV) state-space model common in control engineering and supported by MATLAB []. It has the following general form:
      
        
      
      
      
      
    
      where , , and  are the state, output, and input vectors, respectively, and  is the vector of parameters in the qLPV.  is a parameter-dependent system matrix which can be written in the form
      
      
        
      
      
      
      
    
4.1. Writing and Solving the State-Space Equations for Sliding Mode Friction Compensation
Our equations are based on Newton’s well-known second law (the law of motion). For the master device we have
        
      
        
      
      
      
      
    
        where  is the force accelerating the system, and  and  are the input and the friction force.
Note that this section focuses on sliding mode friction compensation and does not deal with how the  force is generated by the external bilateral control system (hence the notation ). In other words,  is the input force signal of the friction compensation subsystem, and it is the input of the reference model.  is the input of the mechanical system () plus the compensation (see Figure 7).
 
      
    
    Figure 7.
      Sliding mode-based model referencing position control.
  
To study sliding mode control of the master device, choose
        
      
        
      
      
      
      
    
        as state variables and control inputs, where  and  are the velocity in the real system and in the reference model, respectively, and  and  are the input forces of the mechanical system of the master and the reference model. In this paper, “hat” is used to denote variables and constants related to the reference model.
Since all state variables are also considered as outputs (), there is no need to write a separate equation for the output  in the systems of equations. To study sliding mode control of the master device, consider the following state-space equations: 
      
        
      
      
      
      
    
        where m and G are the mass and the gain of the system, and  is the parameter of the linear viscous friction.  represents the nonlinear component of friction (it can also be considered as the external disturbance  in Equation (2)). In this paper, the subscript “” is used to denote the so-called equivalent value of quantities of different types in the system equations, e.g., a single  is used in calculations where the mass appears rather than the mass of all elements in the mechanism separately.
The ultimate purpose of the compensation is to force the system to follow the dynamics of the reference model with parameters  and  instead of the original (natural) dynamics of the system. The equation of the reference model contains two parameters that we choose ( and ). Let the sliding surface be given as
        
      
        
      
      
      
      
    
        and
        
      
        
      
      
      
      
    
        where  is a constant which plays the role of  in Figure 3. Let the input signal of the system (mechanism of the master device) be
        
      
        
      
      
      
      
    Then Equation (27) can be written in the form of Equation (19) with
        
      
        
      
      
      
      
    
      
        
      
      
      
      
    At the points  of the sliding surface S, the directional derivative of s in direction  on both sides of S are
        
      
        
      
      
      
      
    
        and
        
      
        
      
      
      
      
    
        respectively. Conditions
        
      
        
      
      
      
      
    
        need to be checked for the establishment of the sliding mode. Comparison of Equations (33)–(35) shows that the sliding mode is established by
        
      
        
      
      
      
      
    If Equation (36) is satisfied, then the equivalent vector
        
      
        
      
      
      
      
    
        describes the change in trajectory at , where
        
      
        
      
      
      
      
    
Substituting Equations (38), (31), and (32) into Equation (37), we obtain
        
      
        
      
      
      
      
    
        which means that the change of  and  is described by the same differential equation. Based on Equation (39), starting from the same initial state,  and  will be equal. Since the systems start from an energy-free state (i.e., the initial value of all state variables is zero), the initial values are the same. The above is summarized in the block diagram shown in Figure 7.
4.2. The Discrete-Time Model
To prepare the computer program for the implementation of the bilateral control, a discrete-time version of Equation (27) is required. Figure 8 is the discrete-time version of Figure 7.
 
      
    
    Figure 8.
      Discrete-time sliding mode compensation.
  
In the experiment, , and the goal is to ensure that the operator can move the system with as little operator force () as possible. Ideally, the force controller should follow the time-varying reference signal, and in this particular operating condition, , while . Since a suitably low level of error  cannot be ensured with a PID-type controller, there is a need for force , which can be considered as a feedforward component for motion information.
In this session, the input signal  is not generated by the external bilateral controller, nor the force exerted by the operator (because the operator cannot exert a constant force very accurately), but  is a square force signal with software generated with a very small amplitude. In this phase, the research question was whether the response of the high-amplification reference model to a small-amplitude  reference square signal can be tracked in reality despite amplification an order of magnitude lower with the help of compensation.
In real systems, the limited switching frequency causes several kinds of problems; to reduce these effects, it is advisable to reduce the magnitude of the discontinuous term  in Equation (30). This can be performed up to an order of magnitude by filtering as shown in Figure 8 or by generating an estimated equivalent compensating term  according to []. When low-pass filtering is used, it is sufficient to force the trajectory back to the sliding surface if the magnitude of  is greater than the change in the equivalent control signal between two switches, which is much smaller than the magnitude of the signal.
The velocity signal is calculated from the incremental position sensor signal by numerical differentiation, which is known to increase the noise. Therefore, in the real system, the velocity signal must be filtered with a low-pass filter. Similarly, the low-pass filter can help to reduce the value of  (see []). In both cases, three series-connected low-pass filters of the first type were used (see Appendix A) characterized by the Laplace transform
        
      
        
      
      
      
      
    
        where  is the time constant of the filter. ( in the case of the velocity filter and  in the case of the relay filter; see Table 2) Instead of Equation (40), its z-transform is used (see Appendix A).
 
       
    
    Table 2.
    Summary of parameters.
  
Friction compensation uses only the velocity signal, but position is also important when testing the master device. In the subsystem “master device x axis” (Figure 9), a position signal is added to the equations, but the reference model still refers only to velocity. The controller is implemented with operational amplifiers that have a small offset error, i.e., a constant value is added to the measurement signals passing through the operational amplifiers. As a result, the positive and negative half periods of the measurement signals are not properly symmetric. This deviation is simulated by adding the equivalent value  (see Figure 9 and MATLAB code in Appendix A). In the reference model, instead of Equation (1), its z-transform
        
      
        
      
      
      
      
    
        is used (see Appendix A).
 
      
    
    Figure 9.
      MATLAB Simulink whole simulation model.
  
5. Simulation Results
An advantage of sliding mode control is that it can be applied without the detailed knowledge of the controlled plant. The parameters of the system were identified by a machine learning program in order to create the simulation. These identified system parameters do not appear in the controller algorithm. The sliding mode-based friction compensation works even without knowledge of the system parameters.
Some of our measurement results were published earlier [], but the equivalent parameters of the telemanipulation system were not known at that time. Since then, using machine learning algorithms and higher capacity computers, we have identified the parameters of the Equation (27) simulation model on the basis of the measurement results. (A separate article will report on machine learning identification.) Thus, it is possible to compare the simulation and measurements now.
Many different friction models are available in the literature. We used the following simple model for the nonlinear components in the simulation: 
      
        
      
      
      
      
    
      where  and  are the Coulomb and Stribeck friction parameters, respectively. The MATLAB code of Equation (42) and more details can be found in Appendix A.
The sampling time is  s (2.5 kHz) []. The parameters of the reference and identified model are summarized in Table 2.
The measured and simulated velocities and forces are compared in Figure 10 and Figure 11 for the  N reference force. The comparison of responses for the  N reference force are shown in Figure 12 and Figure 13. If the amplitude of the reference pulses is reduced, we reach the limit of operation (see Figure 14 and Figure 15).
 
      
    
    Figure 10.
      Measured and simulated velocity with  alternating 0.1 N force impulses.
  
 
      
    
    Figure 11.
      Measured and simulated  force with alternating 0.1 N reference force impulses.
  
 
      
    
    Figure 12.
      Measured and simulated velocity with  alternating 0.01 N force impulses.
  
 
      
    
    Figure 13.
      Measured and simulated  force with alternating 0.01 N reference force impulses.
  
 
      
    
    Figure 14.
      Measured and simulated velocity with  alternating 0.005 N force impulses.
  
 
      
    
    Figure 15.
      Measured and simulated  force with alternating 0.005 N reference force impulses.
  
A real system always contains so-called unmodeled dynamics, which prevent the sudden changes in the real system that are experienced in the simulated signal. Small-amplitude oscillations are visible in the measured signals (see Figure 12 and Figure 13). There is a theoretical possibility that the system can become unstable due to resonance of the unmodeled dynamics. Fortunately, we have not experienced this during long-term use of the telemanipulation system. Note that we have previously published how to reduce the unstable resonance caused by unmodeled dynamics [], but this was not necessary in our measurements.
6. Experimental Results
During the experiment, we assumed that the remote environment does not affect the slave device (), and that the operator interacts with the system with a force signal consisting of square pulses of different sizes, but in order to achieve a comparable smooth operation, we replaced the operator with an additional force controller.
The real system follows the velocity of the reference model well. If we further increase the magnitude of the force pulses, the movement of the joystick can follow the reference model with sufficient accuracy for the telemanipulation task. We experienced problems with smaller values. Figure 16 and Figure 17 can be considered as borderline cases.
 
      
    
    Figure 16.
      Reference and measured velocity  with alternating 0.01 N force impulses.
  
 
      
    
    Figure 17.
      Reference and measured velocity with  alternating 0.005 N force impulses.
  
If the force is further reduced, we reach the limit of the practical applicability of the method (see Figure 18). This is due to the upper limit of the sampling frequency. This is no longer important because a force of 0.001 N is outside the operator’s sensing range.
 
      
    
    Figure 18.
      Reference and measured velocity with  0.001 N force impulses.
  
In order for the master device to achieve the desired movement with such a small amount of effort from the operator, the movement of the mechanism is mainly performed by the motors. It can be clearly seen in Figure 19 that the master device cannot move until then. The force  is smaller than the adhesion friction force, so the system cannot move by  alone, i.e., the force  is needed, which, due to the discrete-time low-pass filter, can only reach the required size after a ramp-up time. The joystick starts to move when the following condition is satisfied:
      
        
      
      
      
      
    
 
      
    
    Figure 19.
      Reference and measured velocity with  alternating 0.1 N force impulses.
  
The forces exerted by the operator  and the  required to move the mechanism are compared in Figure 20, Figure 21, Figure 22 and Figure 23. In the figures, the force  is shown as a continuous curve for better visibility, but in reality it is a discontinuous signal. It can be seen that moving the mechanism requires a force almost two orders of magnitude greater than that exerted by the operator.
 
      
    
    Figure 20.
      Measured  force and reference with alternating 0.1 N force impulses.
  
 
      
    
    Figure 21.
      Measured  force and reference  with alternating 0.01 N force impulses.
  
 
      
    
    Figure 22.
      Measured  force and reference  with alternating 0.005 N force impulses.
  
 
      
    
    Figure 23.
      Measured  force and reference  with alternating 0.001 N force impulses.
  
The operator moved the master device on a spatial spiral trajectory with force control off, with simple PD control (without SM compensation), and with PD and the SM compensation presented in the article. Obviously, these motions were not exactly identical (an illustrative example is shown in Figure 24), so the time function of the forces felt by the operator in the different cases cannot be compared; instead, the maximum forces felt by the operator during spiral operation are summarized in Table 1.
 
      
    
    Figure 24.
      Three-dimensional trajectory of operator’s freehand movement.
  
We can roughly say that with the force control shown in Figure 3, the operator can move the master device with approximately one order of magnitude less force than without control, and the SM compensation proposed in the article can reduce the force to be exerted by the operator by another order of magnitude. A force of about 1 N is definitely perceived by the operator. A force of less than  N is already so small that it is hardly perceived by the operator.
When following the spiral trajectory, the force perceived by the operator in different directions can be seen in Figure 25. It can be seen that in this particular experiment the force does not exceed  N in either direction.
 
      
    
    Figure 25.
      Three-dimensional trajectory of operator’s force during freehand movement.
  
7. Conclusions
This paper deals with force compensation from both mathematical and engineering approaches when the sliding mode control method is used. In this method, the challenge is to force the trajectory on a surface in the phase plane that represents an ideal operation. Mathematically, this means that the required ideal trajectory in the phase plane consists of states where the original autonomous differential equation is not defined. The theory of differential equations with discontinuous right-hand side provides a set of tools for handling this type of problem. In telemanipulation, from a practical point of view, the dynamic properties of the master device must be changed so that when the operators move it they feel smaller reaction forces or torques (a “virtual” system with smaller mass and inertia) than the real ones, and feel only a small part of the friction force, which can be relatively quite large. Essentially, force compensation is applied to change the characteristics of a dynamic system. In terms of the mathematical model, a sufficient condition of the sliding mode is presented through the theory of the differential equation with discontinuous right-hand side. The suitability of the mathematically discussed method for practical applications is shown by measurements with an experimental device and with a simulation elaborated in the current research.
To explain the effectiveness of sliding mode control, we can roughly say that with a conventional PID-type force controller, the operator can move the master device with about an order of magnitude less force than without the controller, and the sliding mode-based force compensation can reduce the operator’s force by another order of magnitude. According to our experiments, the limit of applicability was not reached in the operator’s perception range.
Sliding mode control is a method that does not require prior knowledge of the phenomenon (e.g., friction) that causes the nonlinearity of the system, but it can still provide very accurate compensation. We have described the mathematical background necessary for the application of the method in depth, according to the nature of the technical problem under investigation, which was not available in the scientific literature in such a complex approach.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/math12203182/s1, Parameter file for simulation: SM_fric_comp_par.m; Simulation file: SM_fric_comp_sim.slx.
Author Contributions
P.K.: base concept and research management; I.K. and C.K.: mathematical background; N.F.: adapting mathematical concepts to a concrete system; P.T.S.: real system measurement; R.M.: simulation. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the HUNGARIAN RESEARCH FUND grant number OTKA K143595.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Matlab codes are included in the article; Simulink codes are attached as separate files.
Conflicts of Interest
The authors declare no conflicts of interest.
Appendix A
The following MATLAB code gives values to the parameters required to run the Simulink program (more detailed information you can see in the Supplementary Materials).
- % Parameters Identified by a machine learning algorithm
- fromAI = [2.553179, 0.883589, 0.069683, 0.359320, 1.325010, 0.002617];
- % Identified parameters %
- nu_e = fromAI(1);
- m_eq = fromAI(2);
- i_omega = 1;
- F_off_eq = fromAI(3);
- F_c_eq = fromAI(4);
- F_str_eq = fromAI(5);
- v_s= fromAI(6);
- T_f_relay = 1.000e−03;
- T_f_vx = 1.000e−04;
- gamma = 0.5;
- Ts = 4.0000e−04;
- % State variables
- % x = [x_x v_x]
- % Linear State-Space model
- A2 = [0 1;
- 0 −nu_e/m_eq];
- B2 = [0 0; 1/m_eq 1];
- C2 = eye(2);
- D2 = [0 0; 0 0];
- % Reference model
- Aref = [0 1; 0 −8];
- Bref = [0; 20];
- Cref = eye(2);
- Dref = [0; 0];
- refpoles = pole(ss(Aref,Bref,Cref,Dref));
- % Discrete TF
- tfRefdisc = c2d(tf([Bref(2,:)],[1 (−1∗Aref(2,2))]),Ts);
- filter1disc = c2d(tf([1],[T_f_relay 1]),Ts);
- filter3disc = c2d(tf([1],[T_f_vx 1]),Ts);
 
      
    
    Figure A1.
      MATLAB Simulink master device model (including friction).
  
The frictional force cannot move the system; it can only slow it down, that is, the frictional force cannot be greater in absolute value than the external driving force. We can ensure this condition by approximating the sign function by continuous function
        
      
        
      
      
      
      
    
The expression in dialog boxes of friction components in Figure A1.
- (2/(1+exp(−1000∗u))−1)∗F_c_eq/m_eq
- (2/(1+exp(−1000∗u))−1)∗F_str_eq/(1+(u/v_s)∗(u/v_s))/m_eq
- filter1disc =
- 0.3297
- ----------
- z −~0.6703
- Sample time: 0.0004 seconds
- Discrete-time transfer function.
- Model Properties
- filter3disc =
- 0.9817
- -----------
- z −~0.01832
- Sample time: 0.0004 seconds
- Discrete-time transfer function.
- Model Properties
 
      
    
    Figure A2.
      MATLAB Simulink low-pass filters.
  
References
- Falk, V.; Walther, T.; Mohr, F.W. Robotics and Telemanipulation. In Minimally Invasive Cardiac Surgery; Goldstein, D.J., Oz, M.C., Eds.; Humana Press: Totowa, NJ, USA, 2004; pp. 445–459. [Google Scholar] [CrossRef]
- Hokayem, P.F.; Spong, M.W. Bilateral teleoperation: An historical survey. Automatica 2006, 42, 2035–2057. [Google Scholar] [CrossRef]
- Ferrell, W.R. Remote manipulation with transmission delay. IEEE Trans. Hum. Factors Electron. 1965, HFE-6, 24–32. [Google Scholar] [CrossRef]
- Ferrell, W.R.; Sheridan, T.B. Supervisory control of remote manipulation. IEEE Spectr. 1967, 4, 81–88. [Google Scholar] [CrossRef]
- Caldbick, J. The Boeing Company wins NASA contract for lunar rover on October 28, 1969. HistoryLink.org, 28 February 2012. [Google Scholar]
- Ferrell, W.R. Human Factors Applications in Teleoperator Design and Operation. Nucl. Technol. 1971, 12, 335. [Google Scholar] [CrossRef]
- Hannaford, B. A design framework for teleoperators with kinesthetic feedback. IEEE Trans. Robot. Autom. 1989, 5, 426–434. [Google Scholar] [CrossRef]
- Sheridan, T. A historical teleoperation. Presence Teleoper. Virtual Environ. 1993, 2, 259. [Google Scholar] [CrossRef]
- Fukuda, T.; Fujiyoshi, M.; Arai, F.; Matsuura, H. Design and dextrous control of micromanipulator with 6 DOF. In Proceedings of the 1991 IEEE International Conference on Robotics and Automation, Sacramento, CA, USA, 9–11 April 1991; Volume 2, pp. 1628–1633. [Google Scholar] [CrossRef]
- Zhou, Y.; Nelson, B.; Vikramaditya, B. Fusing force and vision feedback for micromanipulation. In Proceedings of the 1998 IEEE International Conference on Robotics and Automation (Cat. No.98CH36146), Leuven, Belgium, 20 May 1998; Volume 2, pp. 1220–1225. [Google Scholar] [CrossRef]
- Fatikow, S.; Seyfried, J.; Fahlbusch, S.; Buerkle, A.; Schmoeckel, F. A flexible microrobot-based microassembly station. J. Intell. Robot. Syst. 2000, 27, 135–169. [Google Scholar] [CrossRef]
- Bhattacharya, S.; Datta, A.; Berg, J.; Gangopadhyay, S. Studies on surface wettability of poly(dimethyl) siloxane (PDMS) and glass under oxygen-plasma treatment and correlation with bond strength. J. Microelectromech. Syst. 2005, 14, 590–597. [Google Scholar] [CrossRef]
- Kim, J.; Janabi-Sharifi, F.; Kim, J. A physically-based haptic rendering for telemanipulation with visual information: Macro and micro applications. In Proceedings of the 2008 IEEE/RSJ International Conference on Intelligent Robots and Systems, Nice, France, 22–26 September 2008; pp. 3489–3494. [Google Scholar]
- Simaan, N.; Xu, K.; Wei, W.; Kapoor, A.; Kazanzides, P.; Taylor, R.; Flint, P. Design and Integration of a Telerobotic System for Minimally Invasive Surgery of the Throat. Int. J. Robot. Res. 2009, 28, 1134–1153. [Google Scholar] [CrossRef] [PubMed]
- Zareinejad, M.; Ghidary, S.S.; Rezaei, S.M.; Abdullah, A. Precision control of a piezo-actuated micro telemanipulation system. Int. J. Precis. Eng. Manuf. 2010, 11, 55–65. [Google Scholar] [CrossRef]
- Amini, H.; Farzaneh, B.; Azimifar, F.; Sarhan, A. Sensor-less force-reflecting macro–micro telemanipulation systems by piezoelectric actuators. ISA Trans. 2016, 64, 293–302. [Google Scholar] [CrossRef] [PubMed]
- Maier, T.; Strauss, G.; Scholz, M.; Berger, T.; Kielhorn, A.; Entsfellner, K.; Willim, C.; Büscher, W.; Dietz, A.; Lueth, T.C. A new evaluation and training system for micro-telemanipulation at the middle ear. In Proceedings of the 2012 Annual International Conference of the IEEE Engineering in Medicine and Biology Society, San Diego, CA, USA, 28 August 2012–1 September 2012; Volume 2012, pp. 932–935. [Google Scholar] [CrossRef]
- Suzuki, H.; Wood, R.J. Origami-inspired miniature manipulator for teleoperated microsurgery. Nat. Mach. Intell. 2020, 2, 437–446. [Google Scholar] [CrossRef]
- Adam, G.; Chidambaram, S.; Reddy, S.S.; Ramani, K.; Cappelleri, D.J. Towards a Comprehensive and Robust Micromanipulation System with Force-Sensing and VR Capabilities. Micromachines 2021, 12, 784. [Google Scholar] [CrossRef] [PubMed]
- Artetxe, E.; Barambones, O.; Calvo, I.; del Rio, A.; Uralde, J. Combined Control for a Piezoelectric Actuator Using a Feed-Forward Neural Network and Feedback Integral Fast Terminal Sliding Mode Control. Micromachines 2024, 15, 757. [Google Scholar] [CrossRef] [PubMed]
- Xu, R.; Xu, Q. A Survey of Recent Developments in Magnetic Microrobots for Micro-/Nano-Manipulation. Micromachines 2024, 15, 468. [Google Scholar] [CrossRef]
- Cao, H.X.; Nguyen, V.D.; Park, J.O.; Choi, E.; Kang, B. Acoustic Actuators for the Manipulation of Micro/Nanorobots: State-of-the-Art and Future Outlooks. Micromachines 2024, 15, 186. [Google Scholar] [CrossRef]
- He, J.; Liu, Y.; Yang, C.; Tong, Z.; Wang, G. Design and Evaluation of an Adjustable Compliant Constant-Force Microgripper. Micromachines 2024, 15, 52. [Google Scholar] [CrossRef] [PubMed]
- Zhao, Y.; Tong, D.; Chen, Y.; Chen, Q.; Wu, Z.; Xu, X.; Fan, X.; Xie, H.; Yang, Z. Microgripper Robot with End Electropermanent Magnet Collaborative Actuation. Micromachines 2024, 15, 798. [Google Scholar] [CrossRef] [PubMed]
- Utkin, V. Variable Structure Control Optimization; Springer: Berlin/Heidelberg, Germany, 1992. [Google Scholar] [CrossRef]
- Harashima, F.; Ueshiba, T.; Hashimoto, H. Sliding Mode Control for Robotic Manipulators. In Proceedings of the 2nd European Conference on Power Electronics and Applications, Grenoble, France, 15–17 September 1987; pp. 251–256. [Google Scholar]
- Hashimoto, H.; Maruyama, K.; Harashima, F. Microprocessor Based Robot Manipulator Control with Sliding. IEEE Trans. Ind. Electron. 1987, 34, 11–18. [Google Scholar] [CrossRef]
- Sabanovics, A.; Izosimov, D.B. Application of Sliding Modes to Induction Motor. IEEE Trans. Ind. Appl. 1981, 17, 4149. [Google Scholar] [CrossRef]
- Korondi, P.; Hashimoto, H. Park Vector Based Sliding Mode Control of UPS with Unbalanced and Nonlinear Load. In Variable Structure Systems, Sliding Mode and Nonlinear Control; Young, K.D., Özgüner, Ü., Eds.; Springer: London, UK, 1999; pp. 193–209. [Google Scholar] [CrossRef]
- Filippov, A. Application of the Theory of Differential Equations with Discontinuous Right-Hand Sides to Non-Linear Problems in Automatic Control. In Proceedings of the 1st International IFAC Congress on Automatic and Remote Control, Moscow, Russia, 27 June– 2 July 1960; pp. 923–925. [Google Scholar] [CrossRef]
- Filippov, A. Differential Equations with Discontinuous Right-Hand Side. Ann. Math. Soc. Transl. 1964, 42, 199–231. [Google Scholar] [CrossRef]
- Liang, Y.; Zhang, D.; Li, G.; Wu, T. Adaptive Chattering-Free PID Sliding Mode Control for Tracking Problem of Uncertain Dynamical Systems. Electronics 2022, 11, 3499. [Google Scholar] [CrossRef]
- Li, Z.; Wang, J.; Wang, S.; Feng, S.; Zhu, Y.; Sun, H. Design of Sensorless Speed Control System for Permanent Magnet Linear Synchronous Motor Based on Fuzzy Super-Twisted Sliding Mode Observer. Electronics 2022, 11, 1394. [Google Scholar] [CrossRef]
- Ahmad, S.; Uppal, A.A.; Azam, M.R.; Iqbal, J. Chattering Free Sliding Mode Control and State Dependent Kalman Filter Design for Underground Gasification Energy Conversion Process. Electronics 2023, 12, 876. [Google Scholar] [CrossRef]
- Borlea, A.I.; Precup, R.E.; Roman, R.C. Discrete-time model-based sliding mode controllers for tower crane systems. Facta Univ. Ser. Mech. Eng. 2023, 21, 1–20. [Google Scholar] [CrossRef]
- Roman, R.C.; Precup, R.E.; Petriu, E.M.; Borlea, A.I. Hybrid data-driven active disturbance rejection sliding mode control with tower crane systems validation. Sci. Technol. 2024, 27, 3–17. [Google Scholar] [CrossRef]
- Utkin, V.; Lee, H. Chattering Problem in Sliding Mode Control Systems. In Proceedings of the International Workshop on Variable Structure Systems (VSS’06), Alghero, Sardinia, 5–7 June 2006; pp. 346–350. [Google Scholar] [CrossRef]
- Bécsi, T. Quasi-Linear Parameter Varying Modeling and Control of an Electromechanical Clutch Actuator. Mathematics 2022, 10, 1473. [Google Scholar] [CrossRef]
- Korondi, P.; Young, K.; Hashimoto, H. Discrete-time sliding mode based feedback compensation for motion control. In Proceedings of the 1996 IEEE International Workshop on Variable Structure Systems (VSS’96), Tokyo, Japan, 5–6 December 1996; IEEE: New York, NY, USA, 1996; pp. 127–131. [Google Scholar]
- Ando, N.; Korondi, P.; Hashimoto, H. Networked telemicromanipulation systems “haptic loupe”. IEEE Trans. Ind. Electron. 2004, 51, 1259–1271. [Google Scholar] [CrossRef]
- Ando, N.; Korondi, P.; Hashimoto, H. Development of Micromanipulator and Haptic Interface for Networked Micromanipulation. IEEE/ASME Trans. Mechatron. 2001, 6, 417. [Google Scholar] [CrossRef]
- Korondi, P.; Utkin, V.; Hashimoto, H. Direct torsion control of flexible shaft in an observer-based discrete-time sliding mode. IEEE Trans. Ind. Electron. 1998, 45, 291–296. [Google Scholar] [CrossRef]
| 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. | 
© 2024 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/).
