Abstract

This paper deals with the position control of a hydraulic servo system rod. Our approach considers the surface design as a case of virtual controller design using the backstepping method. We first prove that a linear surface does not yield to a robust controller with respect to the unmatched uncertainty and perturbation. Next, to remedy this deficiency, a sliding controller based on the second-order sliding mode is proposed which outperforms the first controller in terms of chattering attenuation and robustness with respect to parameter uncertainty only. Next, based on backstepping a nested variable structure design method is proposed which ensures the robustness with respect to both unmatched uncertainty and perturbation. Finally, a robust sliding mode observer is appended to the closed loop control system to achieve output feedback control. The stability and convergence to reference position with zero steady state error are proven when the controller is constructed using the estimated states. To illustrate the efficiency of the proposed methods, numerical simulation results are shown.

1. Introduction

Actually, the hydraulic servo systems are very popular in several industrial applications such as robotics, aerospace flight-control actuators, heavy machinery, aircrafts, automotive industry, and a variety of automated manufacturing systems. This is mainly due to their ability to produce high power and accurate and fast responses. However, these systems have a high nonlinear behavior due to the pressure flow characteristics [1] and the leakage model inside the servovalves [2]. This fact makes the control design for precise output tracking a very challenging task.

Owing to their simplicity, linear controllers of PID type [3, 4], input/output linearization controllers [59], and also sliding mode controllers (SMC) [1013] have been used to control the hydraulic servo systems. However, such controllers were designed based on the plant physical model and, therefore, the plant parameters knowledge is required. Consequently, they were shown to be highly sensitive to mismatched perturbation and uncertainties, thus resulting in performance degradation.

To improve the controller performances, several strategies have been adopted such as using the self-tuned PID controller [14, 15] and nonlinear adaptive controllers [1618]. SMC appended with some improvements have also been used. In [19, 20] SMC method has been combined with an adaptive controller, which can compensate for the system uncertain nonlinearities, for linear uncertain parameters, and especially for the nonlinear uncertain parameters to construct an asymptotically stable tracking. In [21], SMC has been used with the PID controller to achieve control of asymmetrical hydraulic cylinder trajectory tracking. To drive electrohydraulic actuators, various robust control techniques, such as and controls, were applied [2224]. This approach enabled the compensation for the inherent nonlinearities of the actuator and rejects matched external disturbances and attenuates mismatched external disturbances. To cope with mismatched disturbances authors used the integral SMC and to remedy the slow response due to windup phenomenon a realizable reference compensation has been used to achieve fast position tracking [25, 26]. Since it has been proposed by Levant [27, 28], higher-order SMC (HOSMC) has been widely used to control electrical drives [29, 30], electropneumatic actuators [31], and electrohydraulic actuators [32, 33].

In the present paper, we are interested in controlling the position of the rod in a hydraulic servo system that consists of a four-way spool valve supplying a double effect linear cylinder with a double-rodded piston. The piston is driving a load modeled by a mass, a spring, and a sliding viscous friction. Our work aims to design a controller that may achieve the reference position in presence of mismatched parameter uncertainty and perturbation in addition to actuator saturation. To realize this objective, we start in the second section by formulating the problem and presenting the effects of using first- and second-order SMC with a linear surface. In Section 3, we present the design of a sliding surface obtained using backstepping method and variable structure controller, leading hence to a nonlinear surface that allows achieving the reference output despite the presence of uncertainties and perturbations. Numerical simulation results are presented to illustrate the efficiency of the proposed control design. In Section 4, we present a sliding observer and prove the convergence of the observer as well as the exact position tracking using the nonlinear surface SMC issued from the observer states. Finally, the conclusion and some remarks are presented in Section 5.

2. Problem Statement

The electrohydraulic system that we will deal with in this paper is depicted in Figure 1 and modeled by the dynamical system (1). It has been shown in [34] that, for the symmetrical piston with equal surfaces and and assuming equal volume flow passing through (geometrically) identical ports, we can describe the system by three variable states where a differential pressure state substitutes the pressure of each chamber. This decrease in the system dimension ensures the observability when the system output is the piston position. Considerwhere denotes the difference in pressure inside the two chambers of the cylinder, and , respectively, denote the velocity and the position of the rod, and is a bounded constant or slowly varying external perturbation. In fact, from Newton’s law, a constant force perturbation leads to a constant acceleration. Thus, the velocity perturbation may be interpreted as the result of an impulsive force that acts abruptly on the system. is the total mass of the rod and the load, is the total volume of the cylinder, and is the pressure difference between the supply pressure (pressure of the pump) and the return pressure (atmospheric pressure). is the spring stiffness constant with an uncertainty and is the friction coefficient. The system parameters used for simulations are as follows:  Pa,  Pa,  Pa,  kg,  m2,  m3,  kg,  kg/s,  N/m,  m3 s−1 A−1 Pa−1/2,  m3 s −1 Pa−1, and with and being intrinsic constants modeling the leakage within the servovalve [2].

The most difficult aspect in this model is the existence of a mismatched perturbation as well as a mismatched parameter uncertainty. In addition, the leakage model includes nonlinearity with respect to the control signal . To deal with this problem, we neglect the leakage term in the design but we consider it in simulation and consider the system as a switching system between two models. The switching aspect makes the use of the sliding mode approach a good candidate to design a controller that can drive the rod position to a constant reference position .

2.1. First-Order SMC

The SMC design consists of two phases. In the first phase the sliding surface is designed such that the system is asymptotically stable when it is confined to it and in the second phase a switching controller is designed to ensure the existence of the sliding mode. Our idea consists in viewing the sliding surface design as a special case of backstepping design. Therefore, at sliding mode, means and can be viewed as a virtual controller to subsystem ((2)-(3)) which describes the system behavior on the sliding surface.

Thus, should we choose a linear virtual controller,we get the sliding surfaceIn sliding mode and if uncertainty and perturbations are neglected, the system is a second dimensional linear system with the characteristic equation

Using the pole placement method and imposing a stable multiple pole at , we can determine the control parameters and :Eventually, we obtain an exponentially stable system if we can guarantee the attractivity of the sliding surface . Indeed, the attractivity condition will be satisfied if we choose , where is the sliding gain that should be chosen large enough in order to ensure the attractivity of the surface in presence of perturbation and uncertainty. Using the system model and (5), we can show that is attained if the sliding gain satisfieswhere . Consequently, by solving , the control law is expressed as follows:where

Despite the perturbation and the uncertainty , the variable structure controller defined by (9) with the sliding gain in (8) ensures the existence of sliding mode; however, we can easily deduce that we do not achieve the reference output because when the system behavior is confined to the sliding surface (5) the linear virtual controller does not guarantee any robustness with respect to the perturbation and the uncertainty. Indeed, it can be easily shown that as far as the sliding motion is preserved the system is asymptotically stable if the closed loop eigenvalue is chosen such asand in that case the steady state error due to the uncertainty is given byWe similarly can show that the steady state error due to the constant perturbation is given by

Figure 2 shows the system behavior with , , , and  cm. We clearly notice that there is a steady state error of more than 2 cm at the position output. So the first-order sliding mode is not robust to the mismatched uncertainty and perturbation.

2.2. Second-Order SMC

Since the system is third-order single input, then we may think of designing the higher-order SMC up to second order. Let denote the sliding variable defined aswhere is a strictly positive scalar. We may verify that the relative degree of system ((1)–(3)) together with (14) with respect to the sliding variable is constant and equal to two. Thus we havewhere and are known functions and is an unknown bounded function in terms of and :

The solution should be understood in the Filippov sense [35], and the trajectories of the system are supposed to be extendible infinitely in time for any bounded measurable input.

By defining and , achieving sliding mode is equivalent to the finite stabilization of the system:which hence ideally yields to the sliding set and . Taking into account the practical considerations, the sliding set is defined as follows [27].

Definition 1. Given the sliding variable , the “real second-order sliding set” associated with ((1)–(3)) is defined aswhere is the finite sampling time (fixed at μs in the sequel) and and are positive constants.

Definition 2. Consider the nonempty real second-order sliding set given in (18), and assume that it is locally an integral set in the Filippov sense. The corresponding behavior of system ((1)–(3)) satisfying (18) is called “real second-order sliding mode” with respect to [27].

The variable structure control law can be chosen as follows:where all the controller gains , , , and are strictly positive. Applying controller (19) yields towhich can be written in the following compact form:where , , and .

We can determine the control parameters and such that the characteristic equation of has two equal eigenvalues at :Since is a Hurwitz matrix, then it satisfies the Lyapunov function , where and are some positive definite matrices. To determine the gains and we define the following Lyapunov function candidate for system (20):Its time derivative in the direction of system (20) trajectories is given by If we choose then is a negative definite matrix and we haveprovided that and are also chosen such thatwhere and are, respectively, the largest and least eigenvalues of the matrix.

From Figure 3, we can notice that the second-order SMC achieves a better performance than the first-order SMC. However, the robustness with respect to the constant perturbation is not guaranteed. Indeed, in sliding mode, we have ; thus and hence on the sliding set we getwhich is a first-order nonautonomous system with a steady state value equal to . Therefore, for the constant perturbation , the steady state error is as expected and delineated in Figure 3;   cm. When increasing the value of , the variable structure gains and should be increased, thus accentuating the chattering phenomenon which was attenuated by the use of the second-order sliding mode.

The boundedness of and is ensured since and depends on and which in turn depend on , , and .

3. Sliding Mode Controller with Nonlinear Surface

To overcome the problem of mismatched perturbation and uncertainty, we suggest in this section designing a sliding surface based on the backstepping method and using robust variable structure virtual controller.

In Section 2.1, the sliding surface was obtained from the design of the linear controller for subsystem ((2)-(3)). To ensure robustness with respect to the parametric uncertainty, a variable structure virtual controller is designed by choosing a sliding surface and requiring its attractivity by imposingTherefore, the virtual controller is obtained by solving (28) and the sliding surface . However, when sliding on is achieved, we get which means and thus in sliding mode we haveAgain to ensure asymptotic convergence of to a simple linear proportional term is not satisfactory, but a variable structure term can guarantee the required convergence. Indeed, withwhere the gains are chosen such that and , we may easily show the convergence of to as far as the sliding surfaceis attractive.

When attempting to achieve the attractivity of by imposing (28), we face the attempt to differentiate a discontinuous function. Although this is mathematically impossible, we can overcome the problem from an engineering point of view by either replacing the discontinuous signum function with a smoother saturation function or directly considering that the derivative of the signum function is the Dirac impulse () which is zero everywhere except at an isolated single point. Indeed, in engineering realization using a processor and discretization process, the isolated discontinuities, especially when they are few, can easily be avoided and would not cause any problems. Therefore, from (28), we haveand the sliding surface becomesFinally, by imposing , the attractivity condition is satisfied. The choice of the surface and its imposed derivative lead to the following controller:withwhere the derivative of the Dirac impulse is considered as zero and the sliding gain should be chosen such that the attractivity occurs in presence of uncertainty and perturbation:

From Figure 4, we can notice clearly that we have attained our aim to drive the hydraulic servo system to the reference position. Nevertheless, due to the nested sliding modes, the chattering phenomenon was emphasized. In order to attenuate it and to avoid the mathematical problem of taking the derivative of the signum function we have used a smooth saturation function for a sufficiently high positive value . The results depicted in Figure 5 show that the use of the smooth function helped to achieve the reference value in presence of mismatched uncertainty and perturbation with attenuated chattering.

4. Sliding Mode Observer Design

As we can notice, the controller conceived in the foregoing section uses all three state variables. However, measuring the differential pressure is a costly task and requires high technology procedure to avoid additional leakage. To remedy this situation, we propose in this section designing a sliding mode observer that may estimate the required states that are then used to construct the controller.

Let us consider the observer model given in (37) and inferred from the step-by-step observer presented in [36, 37]:where , , and are the observer gain and and are defined as

To prove the efficiency of the observer and the fact that the estimated states based controller can also achieve accurate positioning in presence of perturbation and uncertainty, we will proceed by a step-by-step proof.

Step 1. Let and let ; from (3) and (39) the error dynamics are expressed asThus, if is chosen such thatthen a sliding mode is established at the observer sliding surface within a finite time. Moreover, at sliding mode, we obtain and thus from (41) we havethat is,Now, if the sliding surface of the nonlinear surface based SMC is expressed in terms of the estimated state ,then, by using (3), (44), and (45), the position dynamics are given byTherefore, within a finite time we obtain .

Step 2. Let ; from (2) and (38) the error dynamics are expressed asThus, if is chosen such thatthen we can deduce that tend to zero and hence tend to . That is, the observer will estimate the velocity with the constant perturbation. Moreover, when the error dynamics are sliding on and , then and we getThat is, the observer will estimate the differential pressure with a constant difference proportional to the perturbation and the uncertainty. Now, if the controller sliding surface is expressed using the observer state variables,then, at sliding mode of the controller , the velocity dynamics are given byHence the velocity of the system rod will tend to .

Step 3. Finally, the differential pressure error dynamics can be roughly expressed asif the system is already sliding on the surfaces and then by choosing the differential pressure is estimated with the constant difference .
Figure 6 shows the convergence of the observer state to although they are starting from different initial conditions; indeed, the observer is starting at rod position 10 cm whereas the system is starting at the origin. As expected from the above analysis, tends to and tends to with a constant difference of 33 bar. The observer gains are chosen as , , and . In Figure 7, the observer and system behaviors are shown with the controller being calculated using the estimated states. The observer initial position is −10 cm.

5. Simulation Results Analysis

The controllers designed in this paper used the sliding mode theory which is the most used approach to deal with systems running under uncertainty conditions. However, we have seen in the second section that the first-order sliding mode controller with a linear sliding surface is not robust with respect to perturbation and mismatched uncertainty. In fact, by using the fact that on the sliding surface the system behaves in a similar way to a linear second-order system, it can be easily shown that as far as the sliding motion is preserved, the system is asymptotically stable if the closed loop eigenvalues are chosen as in (11) and thus the steady state error due to the uncertainty is expressed by (12). Also, the steady state error due to the constant perturbation is given by (13).

Therefore, the steady state error gets smaller as the closed loop eigenvalues have a larger amplitude. This is illustrated by the simulation results delineated in Figure 2 where and the total error is 2.46 cm.

To circumvent the problem, we have suggested a second-order sliding mode controller. Applying this controller, we can notice that it achieves a better performance than the first SMC. In fact, the second-order SMC outperforms the first-order SMC in sense of robustness with respect to mismatched perturbation but it cannot guarantee the robustness with respect to the constant perturbation. The steady state error due to the perturbation is equal to as demonstrated previously. When the perturbation the error is equal to 0.1 cm as delineated in Figure 3. If we increase the value of , we should also increase the value of the variable structure gains and . So we obtain a chattering phenomenon.

To overcome the problem of mismatched perturbation and uncertainty, we have suggested a sliding mode controller with nonlinear surface. The idea is based on the backstepping method and using a robust variable structure virtual controller. The obtained results achieved robustness with respect to parameter uncertainty and perturbation. The zoomed curve on Figure 4 shows that we have attained our aim to drive the hydraulic servo system to a reference position but with a chattering phenomenon. So to attenuate this problem we suggest substituting the discontinuous function with a smooth saturation function for sufficiently high positive value . Owing to this smooth function, we can achieve the reference value in presence of mismatched uncertainty and perturbation with attenuated chattering.

Finally, in Section 4, we designed a sliding mode observer in order to estimate the required states. The efficiency of this observer is proved mathematically and also by simulations presented in Figures 6 and 7.

Compared to other methods such as that presented in [17], which is based on adaptive approach to achieve position control, we notice that our method provides faster response since the adaptive controller proposed therein attempts to estimate the mismatched nonlinear uncertainty. Indeed, the rod makes a displacement of 30 cm within more than 0.8 s, whereas with our method a maximum of 0.2 s will be needed to make the same displacement. In [21], the authors presented a controller based on variable structure PID to drive the hydraulic system position. Although fast response has been achieved, which is comparable to our results, the good robustness was obtained since the uncertainties and the perturbation were matched with the controller. In our case, the robustness against the mismatched character of the perturbation and uncertainty presented the main challenge to take. In [26], authors obtained comparable results to those presented in this paper using integral sliding mode controller with realizable reference compensation applied to an asymmetric piston.

6. Conclusion

In this paper, we developed several controllers based on the sliding mode theory. Our aim was to control the position of a hydraulic servo system piston in presence of mismatched uncertainty and perturbation. We have shown that a first-order sliding mode controller did not achieve any robustness. Next we have developed a second-order sliding mode controller that has shown robustness with respect to parametric uncertainty but was not robust to the perturbation. Finally, we have suggested a sliding mode controller based on a nonlinear sliding surface. The design is based on the backstepping method where on each step a variable structure virtual controller design leads to the design of the sliding surface. This controller emphasized the chattering phenomenon due to the nested sliding modes. As a remedy, we suggested substituting the discontinuous function with a smooth saturation function. Eventually, we have designed a robust sliding observer in order to substitute the unmeasured states with their estimates. A step-by-step proof has shown that the controller issued from the estimated states achieved the position tracking.

Conflict of Interests

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