Published: 08 December 2016

Sliding mode control of a 2-DOF manipulator with random base vibration based on modified exponential reaching law

Xi Wang1
Baolin Hou2
1, 2School of Mechanical Engineering, Nanjing University of Science and Technology, Nanjing, China
Corresponding Author:
Xi Wang
Views 212
Reads 118
Downloads 2087


To solve the precise position control problem of a two degree of freedom (2-DOF) manipulator with random base vibration, a sliding mode control method based on modified exponential reaching law is studied. The dynamic model of manipulator is established by using the second kind Lagrange equation. The nonlinear term generated by base random vibration is presented as external disturbance term. Based on dynamic models, the sliding mode control using improved exponential reaching law is applied in the manipulator system. It is verified by the simulation result that the control method can effectively suppress the influence of base random vibration, and bring the manipulator from a given initial state to a prescribed terminal state rapidly and precisely.

1. Introduction

With the gradual improvement of robot technology, manipulators are widely applied to many fields of science, such as ammunition loading manipulators in tank weapon [1], free floating space manipulators in astronautics [2], underwater robot manipulators for ocean development [3]. The problems about dynamics and control of these type of manipulators have drawn extensive concern of researchers from all over the world. Manipulators working in different environments may be affected by various uncertain factors, such as random vibration of base, model uncertainty due to the lack of cognition, understanding deviation, simplification and assumptions in modeling process, etc. The presence of these factors make the precision and stability be the main difficulty in the control problem of manipulators. To eliminate the influence of these nonlinear factors, different kinds of advanced control methods have been applied to the control of corresponding manipulators.

Soltanpour M. R. [4] designed an optimal fuzzy sliding mode controller based on particle swarm optimization algorithm for tracking the robot manipulator whose model has structured and unstructured uncertainties. Akira Abe [5] proposed a minimum energy trajectory planning method based on a multi-objective optimization technique to solve the point-to-point motion task of a robot manipulator, which mounted on flexible base, and effectively suppressed the residual vibration of the manipulators’ flexible base. Toda and his team deeply studied the control problems of manipulators [6-8] with oscillatory bases. These manipulators were installed on vessels or ocean structures. In these papers, the controller was designed by combining the H control method with PD control method, and it worked based on the assumption that the frequency of the base oscillation had been known.

Literatures above has done a lot of research on manipulators control with different methods, but the objective of paper [4] were manipulators with fixed base. The nonlinearities caused by base vibration which have great influence on manipulators’ dynamical performance were not considered. Paper [5] studied the control problems of manipulators with flexible vibration base. Papers [6-8] studied the control problems of manipulators whose base oscillation frequency had been known. In this paper, the base vibration is caused by external force, and it is random. That is to say the frequency of base vibration is unknown. Therefore, methods from literatures above are not suitable in this case.

Considering the problems analyzed above, a sliding mode control based on modified exponential reaching law is studied in this paper to reach the position control task of a 2-DOF manipulator with external random vibration base. The dynamic model is established by using the second kind Lagrange equation first. In the dynamic model, the nonlinear term caused by base vibration is presented as the system uncertain disturbance. Then, the sliding mode controller is designed, and the reaching law and control algorithm are analyzed in detail. Finally, a Simulink simulation model is established to verify the feasibility of the control method.

2. Dynamic model of 2-DOF manipulator with base vibration

The simplified mathematic model of a 2-DOF manipulator with vertical vibration base is as shown in Fig. 1. Here, XOY donates Cartesian coordinate system; G0 is the base for fixing the manipulator; G1, G2 are link 1 and link 2, respectively; Oi (i=1, 2) are the rotation center of link i; ci (i= 0, 1, 2) are the mass center of Gi; θ1 is the angular displacement of link 1 relative to the horizontal direction; θ2 is the angular displacement of link 2 relative to link 1; li (i= 1, 2) are the distance between the mass center and the rotation center of link i.

Fig. 1Simplified model of the 2-DOF manipulator

Simplified model of the 2-DOF manipulator

Assume the mass of link i are mi; the rotational inertia of link i relative to rotation center Oi are Ii; define generalized coordinate vector as q=q0,q1,q2T=yr,θ1,θ2T, using the second kind Lagrange equation to establish the dynamical model as follow:


In Eq. (1):

Hq=I1+4m2l 12+m2l22+4m2l1l2cosq2m2l22+2m2l1l2cosq2m2l22+2m2l1l2cosq2I2,

3. Sliding mode controller design

3.1. Reaching law design

The motion of sliding mode control system is a two-pronged process: the reaching process and the sliding mode process. In the reaching process, the trajectory of the system is outside the switching surface or move through the switching surface within the limited time in state space. In the sliding mode surface, the system moves near the sliding surface and sliding along the switching surface. From the principle of sliding mode variable structure, we can know that the reaching condition of sliding mode control can only ensure the controlled object reach the switching surface in finite time from the arbitrary initial state. So, we can use different reaching laws to improve the dynamic quality in the reaching process. The typical reaching laws include constant reaching law; exponential reaching law; power reaching law, and etc. [9]. In these reaching laws, the expression of exponential reaching law is as shown in Eq. (2):

s˙=-εsgns-ks, ε>0, k>0.

Sliding mode control methods based on the traditional reaching laws are limited somehow because the existence of chattering. One reason is that the parameters in these reaching laws cannot change with system state. In this paper, a sliding mode control algorithm based on exponential reaching law is chosen to shorten the reaching time and decrease the reaching rate to the switching surface, so as to improve the dynamic quality. To avoid the chattering when the system moves nearby the switching surface, we bring a sβ factor in exponential reaching law, so the modified reaching law is as follow:

s˙=-εsβsgns-ks, ε>0, k>0, β>0.

Fig. 2Contrast of reaching law curve with different β

Contrast of reaching law curve with different β

As it shows in Fig. 2, after introducing the factor sβ, the rate of reaching law curve is greater than the original one during 0<t<t1, and less than the original one during t1<t<t2. This means, the rate of the system can be smaller when reaching the switching surface s=0 if the sβ is introduced. And it is obviously that the greater the β is, the greater the difference of the rate among the reaching law curve will be. Therefore, control algorithm based on the modified exponential reaching law can shorten the time of the reaching process as well as reduce the reaching speed when the system comes by sliding surface, and the chattering when the system reaching the sliding surface can be effectively decreased.

Based on the modified exponential reaching law, an attenuation factor is added into Eq. (3) as refer to paper [10]. So the new reaching law can be written as:

s˙=-εsβe-αtsgns-ks, ε>0, k>0, α>0, β>0.

3.2. Controller design

The unmodeled error and the uncertainty comes from variable parameters are not taken into consideration in dynamic model (Eq. (1)) established by the second kind Lagrange equation. If consider these factors, the actual model of the 2-DOF manipulator can be written as Eq. (4):


Regard the model error and uncertainty from variable parameters as the disturbance term f(q,q˙,t), then:


In Eq. (6),f(q,q˙,t)=Δu-ΔHq¨-ΔE.

Assume that the target of link 1 and link 2 are q1d and q2d, and written as qd=[q1dq2d]T, so the system error signal is as follow:


Choose the switching function as:


In Eq. (8), C=c1c2T.



Deducing from Eq. (3) and Eq. (9), we can get the controller as Eq. (10):


4. Simulation results

To verify the effectiveness of the controller based on modified exponential reaching law, a Simulink simulation model is established as Fig. 3 shows.

Fig. 3Simulink simulation model

Simulink simulation model

The target angular displacements of link 1 and link 2 are q1d= 0.5 rad, q2d= 0.5 rad, and the initial state of system is [q1 q˙1 q2 q˙2]=[0 0 0 0. The value of control parameters are c1=c2=20, k=10, ε=0.5, α=1, β=2. The value of f is f=3sinπt 3cosπtT. The mass and structure parameters are as shown in Table 1.

The amplitude of random base vibration acceleration is 10 m/s2, which means A(q¨0)= 10 m/s2, and the base vibration curve is as shown in Fig. 4.

Table 1Parameters of manipulator

mi (kg)
Ii (kg∙m2)
li (m)
link 1 (i=1)
link 2 (i=2)

Fig. 4Base vibration acceleration

Base vibration acceleration

The simulation results are as shown from Figs. 5-12. Fig. 5 and Fig. 6 are the angular displacement of link 1 and link 2; Fig. 7 and Fig. 8 are the angular velocity of link 1 and link 2; Fig. 9 and Fig. 10 are the generalized control torque acting on link 1 and link 2.

Fig. 5Angular displacement of link 1

Angular displacement of link 1

Fig. 6Angular displacement of link 2

Angular displacement of link 2

Fig. 7Angular velocity of link 1

Angular velocity of link 1

Fig. 8Angular velocity of link 2

Angular velocity of link 2

The simulation results show that the sliding mode controller based on modified exponential reaching law in this paper can overcome the influence of model uncertainty and random base vibration. The manipulator reaches the target state precisely in 0.6 s from the given initial state. This results prove that the controller has high precision of location and has good robustness.

Fig. 9Generalized control torque 1

Generalized control torque 1

Fig. 10Generalized control torque 2

Generalized control torque 2

5. Conclusions

In this paper, the dynamic model of 2-DOF manipulator with random base vibration is established by using the second kind Lagrange equation. Then the nonlinear term generated by base random vibration is presented as external disturbance. The unmodeled error and parameters uncertainty are presented as model error disturbance. A sliding mode controller based on modified exponential reaching law is designed base on the dynamic model of system. When compared with the traditional exponential reaching law, the modified one can make the system have higher reaching speed in the earlier process and have lower speed in the later process. This not only ensure the rapidity of reaching process, but also decrease the chattering when the system reaching the sliding surface. It is verified that the controller can realize the rapidly and precisely control of the 2-DOF manipulator under random base vibration.


  • Guo Yufei, Hou Baolin Dynamics analysis of structure and positioning control of an ammunition coordinator. Acta Armamentarii, Vol. 34, Issue 4, 2013, p. 392-397.
  • Nanos K., Papadopoulos E. G. On the dynamics and control of flexible joint space manipulators. Control Engineering Practice, Vol. 45, 2015, p. 230-243.
  • Mcgann C., Py F., Rajan K., et al. Adaptive control for autonomous underwater vehicles. National Conference on Artificial Intelligence, 2015, p. 1319-1324.
  • Soltanpour M. R., Khooban M. H. A particle swarm optimization approach for fuzzy sliding mode control for tracking the robot manipulator. Nonlinear Dynamics, Vol. 74, Issue 1, 2013, p. 467-478.
  • Abe A. Minimum energy trajectory planning method for robot manipulator mounted on flexible base. Control Conference, 2013, p. 1-7.
  • Toda M. An H∞ control-based approach to robust control of mechanical systems with oscillatory bases. IEEE Transactions on Robotics and Automation, Vol. 20, Issue 2, 2004, p. 283-296.
  • Sato M., Toda M. Motion control of an oscillatory-base manipulator in the global coordinates. IEEE International Conference on Control and Automation. IEEE, 2009, p. 349-354.
  • Sato M., Toda M. Robust motion control of an oscillatory-base manipulator in a global coordinate system. IEEE Transactions on Industrial Electronics, Vol. 65, Issue 2, 2015, p. 1163-1174.
  • Liu Jinkun Sliding Mode Control Design and MATLAB Simulation. Third Edition. Tsinghua University Press, Beijing, 2015.
  • Huang Hua, Li Guang, Liu Linghua, Lin Peng Research of a sliding mode control strategy for manipulator arm based on reaching law. Journal of Hunan University of Technology, Vol. 27, Issue 1, 2013, p. 62-66.

About this article

28 August 2016
29 August 2016
08 December 2016
Vibration generation and control
base vibration
exponential reaching law
sliding mode control