SciELO - Scientific Electronic Library Online

 
vol.44 número3Vehicle routing for public transport with adapted simulated annealingOptimal feedback linearization control of a flexible cable robot índice de autoresíndice de materiabúsqueda de artículos
Home Pagelista alfabética de revistas  

Latin American applied research

versión On-line ISSN 1851-8796

Lat. Am. appl. res. vol.44 no.3 Bahía Blanca jul. 2014

 

Sliding mode-pid fuzzy controller with a new reaching mode for underwater robotic manipulators

H.N. Esfahani, V. Azimirad and M. Zakeri

Biomechatronics Lab., Department of Mechatronics, School of Engineering Emerging Technologies, University of Tabriz, Tabriz, Iran azimirad@tabrizu.ac.ir

Abstract— Design of an accurate and robust controller is a challenging topic in an underwater manipulator control. This is due to hydrodynamic disturbances in underwater environment. In this paper a sliding mode control (SMC) included a PID sliding surface and fuzzy tunable gain is designed. In this proposed controller robustness property of SMC and fast response of PID are incorporated with fuzzy rules to reduce error tracking. In the control law, for removing of chattering, the exponential function is used. And also the system is analyzed in terms of stability by direct Lyapunov method. By tuning gains with fuzzy logic, the proposed controller does not require an accurate model of underwater manipulator dynamics. Hence the modeling and simulation studies are done for an underwater manipulator to verify the effectiveness of the proposed method in presence of unmodeled dynamic (variable masses of links) and external disturbance. Both new proposed controller and conventional SMC are simulated. The results of simulation show the high performance of proposed controller in comparison to conventional SMC.

Keywords— Sliding Mode Control; Fuzzy Logic; Gain Tuning; Underwater Manipulator.

I. INTRODUCTION

Oceanic environment covers a large part of the earth, which included marine structures, oil/gas pipe lines and mines. Therefore, role of underwater manipulation has been increased in underwater intervention. In addition, robotic manipulator is mounted on a mobile platform like Autonomous Underwater Vehicle (AUV) or Remotely Operated Vehicle (ROV) that in this way Underwater Vehicle-Manipulator Systems (UVMS) made up that will have so many applications in underwater manipulation. In recent studies, there is not a reliable and robust controller for the underwater manipulators. Liceaga Castro and Qiao (1991) used a variable structure system (VSS) for design a robust controller. Levesque and Richard (1993) presented a stochastic adaptive controller that was a model based design. This controller could represent efficient robustness in a turbulent flow, but it does not have a proper precision for trajectory tracking goals. The control system based on machine vision was proposed by Smith et al. (1994). This system does not have a robust property in presence of uncertainties for the reason of using PID controller. Furthermore, Baicu et al. (1995) used a hybrid, robust-adaptive controller for tracking of a single link underwater manipulator. A PD control method was used for robust controller that does not have a proper robustness in presence of disturbances which are under the sea. McLain and Rock (1996) improved an exact model of hydrodynamic forces that were used at a single link manipulator. Lee and Choi (2000) presented scheme of a robust control with multi layer neural network and with learning algorithm of an error back propagation. Lee et al. (2007) improved a four DOF underwater manipulator for inspection and maintain a nuclear reactor. This system has been used for removing loose parts from the bottom of a vessel of a nuclear reactor. Rahman et al. (2007) presented modeling of parameters for an underwater manipulator; also, they survey and studied the effect of hydrodynamic forces on torque of a puma560 manipulator by simulation. Xu et al. (2007) used a robust and exact SMC controller for tracking of the underwater manipulator. They used saturation function for destroying chattering. In this system, there is not a parameter estimator for the controller and SMC parameters have been adjusted with try and error. Moreover, Wang et al. (2008) presented a new controlling method that was based on Cerebellar Model Articulation Controller (CMAC) that this is a neural network based on models of human memory and neuromuscular control. But it does not have high robustness. Pandian and Sakagami (2010) designed a Fuzzy-Neural controller for an underwater manipulator that was used a PD controller with Fuzzy gain regulator and a dynamic estimator with using of neural network. Gumusel and Ozmen (2011) presented modeling and controlling of a two degree of freedom underwater manipulator with a flexible link. They presented an exact modeling for drag forces on flexible link. Several researchers have studied sliding mode fuzzy control (SMFC) for different applications (El-Bakly and Fouda, 2009; Ryu and Park, 2001). However, little research has so far been conducted on SMFC's for the underwater manipulators. The rest of the paper is organized as follows; the dynamics of the underwater manipulator is modeled in Section II that it includes uncertain added mass, drag force, buoyancy and frictional forces. The section III presents the characteristics of a conventional SMC with PID sliding surface. Section IV presents the robust fuzzy SMC-PID using fuzzy self-tuning control gain. The computer simulation results are shown in section V. finally, the conclusion is presented in section VI.

II. UNDERWATER MANIPULATOR

The coupled effect between manipulator and vehicle is neglected and ROV/AUV is assumed stationary during manipulator movement. Fig.1 illustrates the n-D.O.F. UVMS.


Fig.1 schematic of UVMS

The added mass force results from the interaction of fluid in the prompt proximity of an underwater link which is accelerating relative to the fluid. The dynamic equations of motion are developed by using Lagrange formulation as follow:

(1)

where qR2 is the joint position of robotic manipulator, and is the joint velocity vector of robotic manipulator.

The vector of kinetic energy of the system is written as:

(2)

where is kinetic energy of manipulator due to rigid body, and is kinetic energy of manipulator due to added mass. The added mass matrix for each cylindrical link of a manipulator is represented as:

(3)

where . Substituting the total kinetic energy in Eq. 1, we obtain dynamic equation of motion which includes rigid body and added mass as follows:

(4)
(5)
(6)

The added mass of the links (mA) for cylindrical manipulator are expressed by Fossen (2002) in follow equation as per Fossen:

(7)

The drag force on a link is relative to the square of the link's velocity that is proved by Shinohara (2011). The sign of the drag force direction has to be determined according to the motion of the underwater manipulator is identified through the sign of the translational velocities. Drag torques are expressed in (8):

(8)


Fig. 2. Two-link underwater manipulator

where vi, i=1,2 represent translational velocities of the ith link, Tdi, i=1,2 shows drag torque of the ith link, di, i=1,2 is the drag coefficients of the ith link and diai, i=1,2 is diameter of the ith link. Buoyant force is in the opposite direction of gravitational force.

(9)

Calculating the force (Fp(q)) in all of the motion directions, we calculate the potential energy (P). Therefore the matrix h(q) is expressed as:

(10)

where ∇ or ρvw is the mass of water displaced by the link and vw is the volume being displaced by the body of link, mi is the mass of the ith link and g is the gravitational constant. Frictional force included two parts of viscous (Fv) and coulomb (Fc) frictions.

(11)
(12)
(13)

Combining equations of (4), (8), (9), (13) we can write the final form of the dynamic equations of motion the underwater manipulator with external disturbance:

(14)

where M(q)∈R2×2 is inertia matrix including rigid body and added mass terms, is vector of centrifugal and corriolis forces which included rigid body and added mass terms, is vector of drag torques, h(q)∈R2 is vector of gravity and buoyancy forces, is vector of frictional forces, TdR2 is the external disturbance, and τR2 is vector of torques acting on underwater manipulator. ci, si, sij and cij represent cos(qi), sin(qi), sin(qi+qj) and cos(qi+qj) respectively. Table 1 gives the parameters of both links during moves in underwater.

Table 1. parameters of underwater manipulator

III. SMC WITH PID SLIDING SURFACE

Sliding mode control is a variable structure controller (VSC). In fact a VSC is an effective design for trajectory tracking in presence of uncertainties. Defining the tracking error results in:

(15)
(16)
(17)

are assumed to be measurable and actual. Equation (14) is rewritten as

(18)

Substituting Eq. (18) into Eq. (17) yields

(19)

Select the PID sliding surface as

(20)

where λ1 and λ2=λ12/2 are the n×n constant and positive definite matrices and is the vector of PID sliding surfaces. Letting:

(21)

where τeq is the control law for sliding mode and τ1 is the control law for reaching mode. Structure of τ1 is the main reason of chattering as undesired oscillation around the sliding surface. Thus, to overcome this problem, the structure of τ1should be modified by reducing the variations rate of τ1 around the sliding surface. Now, we introduce a control law that includes an exponential term that make the reaching trajectory smooth, consequently, prevents the oscillation of the states around sliding surface. Comparing a-conventional structure and b- proposed structure trajectories in Fig. 3 can give better understanding.


Fig. 3. Modifying structure of controller for elimination of chattering a-Conventional structure b- Proposed structure

Differentiating Eq. (20) with respect to time and replacing from Eq. (19), we obtain

(22)

Thus, we can obtain teq as

(23)

where denote nominal value of M, C, D, h, F, respectively, and accordingly τeq is the closest estimation for response of the Eq. (22). Because of uncertainty in dynamic equation of underwater manipulator, one can define:

(24)

Consider a candidate Lyapunov function as

(25)

Taking the derivative of v(s) in (25), gives

(26)

With the follow condition, system states will reach the defined PID sliding surface (s=20 in 20) in finite time.

(27)

Substituting Eqs. (21) and (23) into Eq. (27) yields

(28)

We assume s is positive and Eq. (28) is rewritten as

(29)

where k1, k2 are diagonal positive definite matrices and are defined such that the above equation is satisfied. Also the maximum values of k1, k2 are limited according to actuators.

IV. DESIGN OF SLIDING MODE-PID FUZZY

Through the fuzzy logic, gains are tuned base on the distance of the states to the sliding surface. The main advantage of fuzzy control is that the tracking error and control effort are reduced. The configuration of our Sliding Mode-PID Fuzzy Control (SM-PIDFC) scheme is shown in Fig.4; it includes an equivalent control law part and a two-input single-output SM-PIDFC in which Mamdani's fuzzy algorithm is used.


Fig. 4. block diagram of the proposed controller

k1, k2 in Eq. (21) are expressed as follow:

(30)

where N1, N2 are the normalization factor of the output variable, and kfuzz is the output of the SM-PIDFC, which is determined by inference on input linguistic variables s(t) and . The membership function of input linguistic variables and the membership functions of output linguistic variable are shown in Figs. 5 and 6, respectively. s(t), and kfuzz are decomposed into five, three and three fuzzy partitions respectively. The fuzzy controller consists of four steps: Fuzzification, Rules evaluation, Aggregation and Defuzzification. The fuzzy rule base has been given in table 2 in which the following symbols have been used: NB: Negative Big; NS: Negative Small; ZE: Zero; PS: Positive Small; PB: Positive Big; N: Negative; Z: Zero; P: Positive; M: Medium; B: Big; S: Small. These linguistic fuzzy rules are defined heuristically in the following form:


Fig. 5. Input Membership Function


Fig. 6. Output Membership Function

Table 2. Fuzzy Rule Base

where A1l and A2l are the labels of the input fuzzy sets. Bl is the labels of the output fuzzy sets. l=1,2...,15 denotes the number of the fuzzy IF-THEN rules. Fuzzy implication is modeled by Mamdani's minimum operator, the conjunction operator is Min, the t-norm from compositional rule is Min and for the aggregation of the rules the Max operator is used. In this paper the centroid deffuzification method is used and calculated by the following equation:

(31)

The fuzzy control surface of the output kfuzz is shown in Fig. 7.


Fig. 7. Control surface of kfuzz

V. SIMULATION RESULTS

In this section, we show the design process of the proposed sliding mode-PID fuzzy control algorithm on a two-link manipulator. In the case study for angle of joints 1, 2 exp(1-t/4) sin(3t) and exp(1-t/4) cos(3t) trajectories are chosen respectively. The initial conditions are set as:

The external disturbance is:

Also in simulation of three kind of controller, we applied an unmodeled dynamic in form of variable mass due to added effect in underwater condition. This unmodeled dynamic is expressed as follow:

Using the values given in Table 1 simulation is carried out for conventional SMC and sliding mode-PIDFC controller. Fig.8 shows the trajectory tracking, tracking error and control inputs when system is subjected to conventional SMC.

Fig. 8. Conventional Sliding Mode Controller

Figure 9 shows the trajectory tracking, tracking error, control input and fuzzy controller outputs when system is subjected to SM-PIDFC with the function sign(s).

Fig. 9. SM-PIDFC with sign(s)

Figure 10 shows the trajectory tracking, tracking error, control input and fuzzy controller outputs when system is subjected to SM-PIDFC with the function exp(-a/|s|) sign(s).

Fig. 10 SM-PIDFC with exp(-a/|s|) sign(s) function.

VI. DISCUSSION

According to highly nonlinear terms of hydrodynamic forces, a conventional sliding mode controller could not be used. On the other hand the high frequency of inputs can damage the actuators. Figures 9 and 10 show the results of new proposed controller. Figure 9 is related to controller with the function sign(s).and Fig.10 is related to the controller with the function exp(-a/|s|) sign(s). Using Fuzzy controller with intelligent determination of gain in sliding mode controller causes to decrease of chattering and tracking error (Fig. 9). But still chatterings are not eliminated completely. But using exp function (as it is shown in Fig. 10) results in elimination of high frequency oscillation of input torques. Furthermore the controller cost decreases.

VII. CONCLUSION

A sliding mode-PID fuzzy controller for underwater manipulator has been presented. The proposed controller is designed based on the PID sliding surface and uses fuzzy rules to adaptively tune the gains. In the control law, for removing of chattering, the exponential function has been used. This controller is simple, easy to implement, and robust. In order to confirm the effectiveness of the proposed algorithm, simulations were performed on the trajectory tracking of a 2-DOF underwater manipulator. The results show that the proposed sliding mode-PID fuzzy controller provides accurate and robust tracking performance of the underwater manipulator without any of the chattering, which is superior to the one obtained with a conventional SMC. Table 3 gives the tracking error norms. Also Table 4 gives the percentage of reduced chattering in comparison to conventional SMC.

Table 3: Tracking Error Norms

Table 4: percentage of reduced chattering in comparison to conventional SMC

REFERENCES
1. Baicu, C.F., C.D. Rahn and D.M. Dawson, "Robust and Adaptive Tracking Control of a Rigid Link in a Cross Flow,'' American Control conf., 2985-2989 (1995).
2. El-Bakly, A. and A. Fouda, "A Proposed DC Motor Sliding Mode Position Controller Design using Fuzzy Logic and PID Techniques," International Conference on Aerospace Sciences & Aviation Technology, Egypt, ASAT (2009).
3. Fossen, T.I., Marine Control Systems Guidance, Navigation and Control of Ships, Rigs and Underwater Vehicle, Marine Cybernetics AS, Norway, 570-579 (2002).
4. Gumusel, L. and N.G. Ozmen, "Modeling and Control of Manipulators with Flexible Links Working on Land and Underwater Environments,'' Robotica, 29, 461-470, (2011).
5. Liceaga-Castro, J. and H. Qiao, "Modeling and Control of a Marine Robot ARM,'' IEEE Decision and Control conf., 704-705 (1991).
6. Levesque, B. and M.J. Richard, "Simplified Dynamics and Stochastic Controller for Underwater Robot'' IEEE Engineering in Harmony with Ocean conf., 317-320, (1993).
7. Lee, M. and H.S. Choi, "A Robust Neural Controller for Underwater Robot Manipulators,'' IEEE Trans. Neural Networks, 11, 1465-1470 (2000).
8. Lee, S.U., Y.S. Choi, K.M. Jeong and S. Jung, "Development of an Underwater Manipulator for Maintaining Nuclear Power Reactor,'' Int. Conf Control, Automation and Systems, Seoul, Korea (2007).
9. McLain, T.W. and S.M. Rock, "Experiments in the Hydrodynamic Modeling of an Underwater Manipulator,'' IEEE Autonomous Underwater Vehicle Technology conf., 463-469 (1996).
10. Pandian, S.R. and N. Sakagami, "A Neuro-Fuzzy Controller for Underwater Robot Manipulator,'' IEEE Control, Automation, Robotics and Vision Conf., 2135-2140, (2010).
11. Ryu, Se. and J. Park, "Fuzzy Logic Based Tuning of Sliding Mode Controller for Robot Trajectory Control," International Conference on Robotics & Automation, Seoul, Korea (2001).
12. Rahman, I.A., S.M. Suboh and M.R. Arshad, "Theory and Design Issues of Underwater Manipulator,'' Int. Conf. Control, Instrumentation and Mechatronics Engineering (CIM'07), Johor, Malaysia (2007).
13. Shinohara, K., "Optimal Trajectory of Underwater Manipulator using Adjoint Variable Method for Reducing Drag,'' Open J. of Discrete Mathematics, 1, 139-152 (2011).
14. Smith, J.S., R. Yu, I. Sarafis and J. Lucas, "Computer Vision Control of an Underwater Manipulator,'' IEEE Ocean Engineering for Today's Technology and Tomorrow's Preservation conf., 187-192 (1994).
15. Wang, L., C. Wang, J. Yao and Z. Wang, "A CMAC-based Control Method for the Underwater Manipulator,'' IEEE Computational Intel. and Indus. App. Conf., 144-148 (2008).
16. Xu, G., Z. Xiao, Y. Guo and X. Xiang, "Trajectory Tracking for Underwater Manipulator using Sliding Mode Control,'' IEEE Robotics and Biomimetics Conf., 2127-2132 (2007).

Received: August 9, 2013
Accepted: February 3, 2014
Recommended by Subject Editor: Jorge Solsona