Abstract

This paper presents a controller for a class of robotic systems, based on a first-order sliding mode with a particular noninvariant, nonconnected surface. With this control it is possible to regulate the position such that the velocity remains, as long as possible, at a specified value until the system is close to the desired position. The properties inherited from the sliding modes make the control exhibit a high robustness to external perturbations and low sensitivity to system parameter variations. It is shown that the desired speed is reached in a finite time and the system converges exponentially to the desired position. This controller can be applied to systems described by a classical model of a fully actuated, n-DOF mechanical system, which could be decoupled via a preliminary decoupling control. To illustrate the theoretical results, the proposed control technique is applied to a Cartesian robot, simulated numerically. Moreover, to show the effectiveness of this strategy, some physical experiments on a rotational (mechanical) device were performed.

1. Introduction

Sliding mode control (SMC) is a nonlinear control technique that, by using a discontinuous control signal, forces the system to move along a previously designed switching surface [1]. SMC has attired a great interest because its implementation is simple and it exhibits high robustness to external perturbations and exhibits low sensitivity to parameter variations of the system. These advantages has made SMC very popular in applications, including electrical, mechanical, chemical, industrial, civil, military, aeronautical, and aerospace engineering [2], among others.

Usually, the sliding surface is represented by a linear function of the state. A typical design makes this surface invariant, containing the control target which is made asymptotically stable with a suitable choice of the controller parameters. This has been enough to regulate, for example, the position of mechanical devices. On the other hand, there exist control algorithms that provide a satisfactory performance to regulate the velocity, for example, keeping a constant velocity in a motor shaft [3, 4].

Combination of both goals, that is, attaining a constant state while keeping a constant velocity in the most part of the displacement stage, is, however, a more complicated goal analyzed less frequently. This double control objective is easy to associate in aeronautics, where the aircraft arrives to a point B from a point A using three stages: takeoff (velocity increases until the aircraft reaches the desired constant velocity), cruise speed (keeping the aircraft in the desired constant velocity), and landing (velocity decreases until the aircraft reaches the final destination or desired position). Some advantages of cruise speed in aircraft are as follows: there is a high decrease in fuel consumption, the aerodynamics levels produce less pressure or less force under the thrust resistance, the motors work in optimal levels of temperature, pressure, and wear, increasing the motor life, because they are not submitted to high efforts [5], and so on. These characteristics are also present in land vehicles, submarine vehicles, and ships.

There are many other applications where it is useful that the vehicle kept a constant velocity before arriving to a fixed desired position. Some examples in aerial transport are helicopters, planes, satellites, spaceships, missiles and, in recent years, unmanned aerial vehicles (UAV). Moreover, there are ships, trains, submarines, telescopes, elevators, robots, mobile robots, conveyors, corrosive liquid transportation, and molten metal transportation that do not admit abrupt changes in speed.

There are many works, like [610], where the main control objective is to maintain a desired altitude position in planes, satellites, spaceships, missiles, and UAV, respectively, without imposing a speed behavior. In other works like [1113], the main control objective is to keep a desired velocity (cruise speed) in ships, trains, and telescopes, respectively, without considering a final position strategy.

In the present paper we propose a control law, based on a first-order sliding mode with a particular noninvariant, nonconnected surface, for a class of robotic systems. The shape of this surface produces indirectly a system behavior which switches from a first- to a second-order sliding mode. First, the control forces the system to attain the noninvariant surface, keeping a constant, desired speed while the system moves on this surface. Later, once the system is close to the desired position, it leaves the sliding surface to converge to this position through a second-order sliding mode. With this proposed control it is possible to solve the combined objectives described previously, that is, position regulation, such that the velocity remains, as long as possible, at a specified value until the system is close to the desired position.

The properties inherited from the sliding modes make the proposed control exhibit a high robustness to external perturbations and low sensitivity to system parameter variations. It is shown that the desired velocity is reached in a finite time and the system converges exponentially to the desired position. This control algorithm can be applied to robotic systems described by a classical model of a fully actuated, -DOF mechanical system, which could be decoupled via a preliminary decoupling control.

To illustrate the theoretical results, the proposed control technique is applied to a Cartesian robot, simulated numerically. Moreover, to show the effectiveness of this strategy, some physical experiments on a rotational (mechanical) device were performed.

The paper is organized as follows. In Section 2, the basic system and controller are described. Section 3 presents the main result and the formal demonstration of stability. Section 4 illustrates the performance of the proposed controller through numerical and experimental implementations. Finally, some conclusions and remarks are presented in Section 5.

2. A Controlled Mechanical System

Let us consider an -DOF mechanical system described bywhere is the symmetric, positive definite inertia matrix for all , is the matrix of centrifugal and Coriolis forces, is the vector of gravitational forces, and is the vector of external forces. Ifwhere , is a new control input, and is a diagonal, positive definite matrix, and then, after the application of this control input, system (1) becomesThis system can be seen as a set of decoupled, second-order systems with the formObviously, a similar form can be obtained when there is no gravity effect; that is, , and .

In a general and simple way, airplanes, projectiles, ships, and terrestrial vehicles can be modeled like a simple mass in movement, using Newton’s second law of motion, with an opposition force caused by the viscous friction, which is proportional to the mass velocity. This is a particular case of (1), which can be easily transformed to (4), for which we can employ the following state equations:where, for simplicity, we have dropped the index , , and .

Equation (5) can describe also the dynamical behavior of other mechanical devices, for example, a motor shaft with viscous friction, where the moment of inertia is used instead of the mass, and the position and velocity are angular variables. This behavior is similar in propellers, turbines, drilling machines, and other similar torsional mechanisms. In summary, system (5) describes a fundamental dynamics of a wide variety of mechanical systems.

In what follows we propose a control law for system (5) and analyze the stability properties of the closed-loop system, and then we apply this control strategy to several systems like (1).

Let us consider the sign function, which is defined in the Filippov sense aswhere . Moreover, define a discontinuous function, denoted by and described byNow, consider a control law, applied to system (5), given bywhere is defined aswhere and and are positive real constants. The closed-loop system, formed by the system (5) and the control law (8), is given by

The state space is split in two disjoint sets, and , characterized by the sign of , described by (see Figure 1) and (denoted as ) are delimited by another region, denoted by , which we call the commutation curve, given bywhere

In the regions , the state equations (10) becomewhere

Note that system (14) is piece-wise linear, with a constant input in each region. Then the solution can be calculated asfor , where is the time where the th commutation of occurs.

3. Stability of the Closed-Loop System

In this section we establish some conditions for the origin to be a global asymptotically stable equilibrium point of the controlled system (10). We show first that the control law (8) and (9) makes the system exhibit a sliding motion along the regions and , such that the state approaches the -axis with constant speed. Thereafter, once the state arrives at the -axis, we will show that this control makes the system converge to the origin in an oscillatory way, generating a second-order sliding mode.

Lemma 1. For the controlled system (10), suppose that . Therefore, the system exhibits a sliding mode along the region if and or along if and , during a finite time interval.

Proof. To prove that are surfaces where a sliding motion may occur, it suffices to show that is satisfied for any point close enough to these surfaces. For we have ; hence and . Now, when we have , so . In the same way, if , then, when    and . Moreover, when then because we have ; therefore . A similar analysis can be made for .
Finally, note that, once the system arrives at a point on the surface , then a sliding mode is generated along these lines, directed toward the -axis (), with a duration of seconds.

Remark 2. Note that the region defined byis attractive. This can be seen from (16) for the state , which converges to from . If , then and , and arrives at at time . Similarly, if , then arrives at at time because . Note also that is an invariant set; hence, any point in outside arrives to this set in finite time and once it arrives, it remains there.

Let us define as the union of and . This is the region where a sliding motion takes place, so

Remark 3. It is straightforward to show that the sliding condition is satisfied for any point outside the commutation surface   (12). However, not every solution reaches the sliding surface . This will be analyzed in what follows.

Remark 4. Note that is nonconnected. It is also noninvariant, and any sliding orbit on this surface leaves the surface when the position reaches the zero-value. This is different to a classical sliding mode control design, where the sliding surface is invariant and connected and contains the control target (the origin in a suitable coordinate framework).

To prove that all orbits converge to the origin, let us consider two particular trajectory families, characterized with the aid of the next functions:Figure 2(a) shows several orbits for particular values of . In this figure, corresponds to and to . We then have the next result.

Theorem 5. Suppose that . Then the origin is a global, asymptotically stable equilibrium point of the controlled system (10) and (9).

Proof. Let us consider the trajectorieswhere are given by (19) and by (9). Define the regionsNote that is the region to the right of the particular trajectories and (the blue region of Figure 2(b)). It is straightforward to show that any trajectory starting in converges to the sliding region . In fact, only the trajectories starting in this region converge to this sliding surface. Similarly, regions and can be built from the trajectoriesascomposing the region of all trajectories converging to the sliding surface (see Figure 2(b)). Once the system arrives at it attains the region in finite time. Also, it is easy to show that any trajectory starting in the region does not attain the sliding surfaces or and arrives at the interval also in finite time.
In summary, any trajectory arrives at in finite time. Furthermore, all the trajectories coming from the sliding surfaces arrive at the point , and any other trajectory arrives at , with . Because the set   (17) is invariant, once the system arrives at it stays in the region (dark green in Figure 2(b)), where an oscillatory motion is generated due to the commutation at . Note that, for , . Therefore, the system dynamics can be expressed asWe can apply the tools developed elsewhere [14] to analyze the stability of the origin of system (24). For that, consider the Lyapunov function candidatewhose derivative along the trajectories of system (24) is given byThen we conclude that the system converges to the -axis (). By applying the extension of LaSalle theorem described in [14], it can be seen that the maximal invariant set inside is the origin. This can be also seen by analyzing the direction of vector fields at points , with and . In consequence, the controlled system asymptotically converges to the origin.

We have the following corollaries, which are immediate consequences of Theorem 5.

Corollary 6 (regulator). Consider the system described bywith , , and positive real constant, and is a constant reference value. If , then and as .

Proof. Let us denote the error signals by and . Then we haveThese equations have the form described in (10) and (9). By applying Theorem 5 we obtain that and , so and as .

Corollary 7 (tracking). Consider the system described by (5). Let be a desired signal to be tracked. Therefore, if , then the control lawsatisfies

Proof. Let us denote by and the tracking errors. Then their dynamics have the same form as (28). Therefore, by Theorem 5 we obtain that and , so and as .

4. Applications

In this section we apply the control technique proposed in the previous sections to a pair of systems. To illustrate the complete procedure we consider a -DOF Cartesian robot, simulated numerically. Moreover, to show the basic performance of the proposed technique, we present numerical and physical results from the application to a torsional system.

4.1. A Cartesian Robot

A Cartesian robot image and its schematic are presented in Figure 3. The point masses of each link are given by , , and the generalized coordinates by , ; each mass and position is related by the index. A mathematical model that describes the dynamics of the this system is given bywhere is the gravitational component and , , are the generalized inputs associated with the generalized coordinates.

The system described by (31) can be written as three decoupled subsystems of second-order as follows:where , , , , , , , and , .

The subsystems (32) are similar to system (5) without viscous friction. Therefore, we can use Corollary 6 to obtain the following control laws:In this case, we add the viscous friction to the controllers. In fact, friction is inherent in all mechanical joint movement and it should be considered in the mathematical model. Then, subsystems , , and of (32), with the controllers (33), are similar to the system described in Corollary 6. Thus, if the condition imposed by this corollary is satisfied, that is, , , then and , where . Finally, the control signals applied to the original system (31) are , , and .

Example 8 (simulation). Consider the system described by (31) with the control laws given by (33). The parameters used in this example are , , , , , , and . The masses are given in kilograms, the gravity in meters per square seconds, and the coefficients friction by . The controller parameters are given by , , and ; , , and . The desired references are , , and . The initial conditions are and the simulation time is .
The positions , , and are shown in Figure 4(a). Observe that the positions reach the desired values. The control signals , , are shown in Figure 4(b).
The phase planes , , and are shown in Figures 5(a), 5(b), and 5(c), respectively. In these figures, the horizontal segments correspond to the time interval where the system displays a constant speed. Also, observe that each constant speed has a value given by the parameter . Finally, note that each link position converges to the respective desired positions , , and .

4.2. A Torsional System

The torsional system (Figure 6) is a simple mechanism described bywhere is the inertial load, is the viscous friction coefficient, and the control input is applied to the main shaft through a DC motor via gears and toothed belts. System output is the angular position of the inertial load, which is also mechanically connected to the shaft through gears and toothed belts.

By denoting as the angular position and as the angular velocity, the state equations of system (34) are given by (5), where and , so it is possible to apply the controller given by (8).

To show the effectiveness of the proposed control scheme, some experiments were conducted in the Industrial Emulator ECP220, from Educational Control Products. Numerical and physical experiments were performed, taking into account the information given by the manufacturer. In the physical experiments, the ECP220 was digitally controlled by a computer through an acquisition card; the input to the card is the shaft position, measured by an optical encoder, and the card output is a voltage, which passes through the power source and moves the motor.

From the information provided by the manufacturer we have that the coefficients of inertia and damper are given by and , respectively. These values were not accurately identified; they were taken directly from the manufacturer manual. Also, the numerical experiments do not include any nonlinear dynamic effect nor parameter uncertainty and assume the availability of the full state (position and velocity).

The coefficients of the controller given in (8) are and . In this case, the control objective for velocity is to reach or move at velocities between these values while the position reaches the origin. Note that the cruise speed is given by the parameter of the control design.

Example 9 (simulation). The numerical result of the position is shown in Figure 7(a) for and the initial conditions  rad and  rad/s. Meanwhile, the control signal is shown in Figure 7(b). Figure 7(c) shows the time evolution of the Lyapunov function given in (4). Observe that the peaks occur when the solution crosses over the -axis, that is, at each crossing on the surface of commutation the value of is lower than the previous crossing. The Lyapunov function is zero when the variable state arrives at the origin. Finally, Figure 8 shows the numerical results of the state when the initial conditions are given by , where and .

Example 10 (experimental regulation). To implement physically the controller proposed in (8), the equipment ECP-220 was used. To estimate the speed, we employed a linear observer with gain . Figure 9 shows the angular position and the control signal, while Figure 10 shows the experimental results in the phase plane -, along with other experiments at different initial conditions.

From Figures 8 and 10, we observe a remarkable similitude of the phase planes, even when the parameter values were approximated, and the presence of nonlinearities in the real system, like backlash in the belts and Coulomb friction, among other physical phenomena, which were not considered. The control objectives are accomplished; that is, the system moves over an imposed velocity, while it arrives to the final desired position, in an exponential way.

Finally, observe that all solutions that leave the point have identical evolution in time; therefore, the convergence to the origin is identical.

Example 11 (experimental tracking). In Figure 11(a) we illustrate the application of Corollary 7. In this case, the reference is given by a cosine function whose amplitude and frequency are one. In the first seconds we can observe a difference between the reference and the angular position of the ECP220 (mainly due to the nonmodeled dry friction); however, this difference decreases significantly after a short transient.
The first and second derivatives of the desired position are precalculated to be used by the control law (29) (see Figure 11(b)). The considerations and the other parameters were the same as given in the previous example. The error signals between the reference and position are shown in Figure 11(c).

5. Conclusions

We have proposed a discontinuous controller for mechanical systems with the objective to regulate the position and maintain, as long as possible, the speed at a specified value until the system is close to the desired position. This controller can be applied to robotic systems whose degrees of freedom are, or can be, decoupled. In fact, due to the robustness inherited from sliding modes, the same controller can be applied also to robotic systems with weakly coupled degrees of freedom.

The proposed control technique has been applied to a Cartesian robot, simulated numerically, and a real rotational system that emulates the basic dynamics of a large class of robotic systems. It can be applied also to mobile robots, SCARA robots, and other important systems.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The equipment ECP-220 was borrowed from the Control Laboratory in CICESE. This work was partially supported by the National Council of Science and Technology (CONACYT) of Mexico, under Grant no. CB-2012-01-180011.