Published: 30 June 2020

Hierarchical sliding mode attitude control of a spherical underwater exploring robot

Zhimin Liu1
1Shanghai Publishing and Printing College, Shanghai, 200093, China
Views 63
Reads 26
Downloads 1013

Abstract

Aiming at the attitude control of the spherical underwater robot, the kinematics and dynamics of the underactuated attitude control adjusting system are analyzed, and its dynamics model is established. By using the differential homeomorphism transformation, the model was divided into two subsystems. Based on the advantages of sliding mode variable structure control, this paper adopts the hierarchical sliding mode variable structure method to design the sliding mode of different variables respectively, and then designs the sliding mode of the whole system. The presented control scheme can solve the coupling problem well. The controller has small overshoot and can well suppress chattering phenomenon. The simulation results show that the designed control law can make the system converge quickly and control the attitude of the underwater spherical robot effectively.

Highlights

  • The hierarchical sliding mode variable structure method was adopted to design the sliding mode of different variables.
  • The presented control scheme can solve the coupling problem well.
  • The controller has small overshoot and can well suppress chattering phenomenon.

1. Introduction

As a kind of special robots, spherical underwater robots have the following advantages: good compression performance, uncoupled hydrodynamic calculation, equal hydrodynamic parameters in each direction. Accordingly, spherical underwater vehicles have a broad prospect of application in underwater archaeological explorations, sea-floor geomorphic observation, aquaculture, and so on [1-3].

Underactuated system has many advantages in practical application. Due to the reduction of the actuators, the weight, cost and volume of the whole control system will be reduced. In a word, the research on the control method of underactuated system has important theoretical and application value [4]. For underactuated vehicles, there were fewer independent motion control actuators than degrees of freedom (DOF) [5]. It has been proven that the underactuated mechanical systems have second-order nonholonomic constraints [6]. The attitude adjusting problem for underactuated underwater vehicles is of great challenge. The famous Brockett’s necessary condition shows that asymptotic stabilization of these underactuated UUVs cannot be achieved with any smooth or continuous time-invariant feedback controllers [7-9]. The underactuated control laws can be used to handle actuator failure for fully-actuated underwater vehicles or over-actuated underwater vehicles [10]. Nowadays, the attitude adjusting problem of underwater vehicles and other rigid underactuated mechanical systems has made some achievements. Throughout the existing research results, the design methods of attitude adjusting controllers include backstepping method [11] and Lyapunov’s direct method [12], sliding mode control [13], adaptive control [14], saturated-state feedback control and model predictive control control [15]. Among these methods, the sliding mode control (SMC) is one of the most effective means to handle the problem of motion control for underactuated underwater vehicles with external disturbance and model uncertainties, because it is natural strong robustness with regard to internal and external disturbance. Moreover, SMC has also the advantages of reduced order, decoupling, fast response, good dynamic characteristics and so on. Therefore, SMC can solve the attitude adjusting problem for underactuated underwater vehicles well.

The traditional SMC is an effective method for dealing with bounded uncertainty/disturbances and parasitic dynamics of nonlinear system. In this paper, a hierarchical sliding mode control method is proposed. The sliding planes of each layer of the method are asymptotically stable, which can drive the underactuated underwater robot to the desired state. Because the sliding mode control has the function of anti-interference, the designed controller in this paper has strong adaptability to all kinds of external disturbances.

2. Physical prototype of BYSQ-2

BYSQ-2 underwater spherical robot mainly consists of spherical catheter 1, Sleeve 2, long axis motor 3, weight pendulum 4 and short axis motor 5. Two motors placed perpendicular to each other, which can drive the weight pendulum to rotate to adjust the attitude. Physical prototype of robot is shown in Fig. 1.

Fig. 1Physical prototype of the robot

Physical prototype of the robot
Physical prototype of the robot

If the components of the underwater spherical robot BYSQ-2 are all regarded as rigid bodies, then BYSQ-2 is a multirigid body composed of three rigid bodies. The spherical shell, catheter and propeller are fixedly connected with each other, which is rigid bodies B1 with a total mass m1; the sleeve is rigid body B2 with a mass m2; the two weightpendulums are called rigid body B3 with a mass m3.

3. Kinematic analysis of attitude control system

In order to analyze the motion of multi rigid body system of underwater spherical robot, the following four coordinate systems are established {0}, {1}, {2}, {3}, as shown in Fig. 2.

Fig. 2Coordinate system diagram of multi rigid body system of underwater spherical robot

Coordinate system diagram of multi rigid body system of underwater spherical robot

The coordinate system {0} is an inertial reference system fixed to the earth, with the En axis pointing north and the Ed axis pointing vertically downward; the coordinate system {1} is a dynamic reference system fixed to the rigid body B1, with the origin at the center of the ball, the O1x1 axis along the long axis, initially parallel to the coordinate system {0}, and the O1x1 axis coincides with the axis; the coordinate system {2} is fixed to the rigid body B2, with the origin at the center of the ball, the O2x2 axis along the long axis, the coordinate system {3} is fixed to the rigid body B3 and the origin is located at the center of the ball. At the beginning, the coordinate system {3} is parallel to the coordinate system {2} and the O3x3 axis coincides with the axis O2x2.

Because the Euler angles of the body coordinate system {1} and the relative inertia coordinate system {0} are respectively ϕ, θ and ψ, let:

1
z1=ϕ,z2=θ,z3=ψ.

Then the angular velocity ω0 and acceleration ε0 of the coordinate system {1} relative to the coordinate system {0} are:

2
ω0=z˙1z˙2z˙3, ε0=z¨1z¨2z¨3

Because the angular velocity of the rigid body around the axis x1 is p, the angular velocity in the axis O1y1 direction is q, and the angular velocity in the axis z1 direction is r.

Let:

3
z4=p,z5=q,z6=r.

It can be concluded that the angular velocity ω1 and acceleration of the rigid body ε1 in the body coordinate system {1} are:

4
ω1=z4z5z6, ε1=z˙4z˙5z˙6.

The relationship between the angular velocity of the rigid body B1 in relative inertial coordinate system {0} and the body coordinate system {1} is as follows:

5
ϕ˙=p+qsinϕtanθ+rcosϕtanθ,θ˙=qcosϕ-rsinϕ,ψ˙=qsinϕcosθ+rcosϕcosθ.

Let the rotation angle of coordinate system {2} relative to axis O1x1 of coordinate system {1} be α, The attitude transformation matrix can be obtained as:

6
1000cosα-sinα0sinαcosα.

Let the angular velocity of the rigid body B2 around the axis O2x2 is z7, then:

7
α˙=z4+z7.

And let:

8
z8=α.

Let the rotation angle of coordinate system {3} relative to axis O2y2 of coordinate system {2} be β, the angular velocity of the rigid body B3 around the axis y3 is z9, then:

9
β˙=z5+z9.

The attitude transformation matrix can be obtained as:

10
10tanβ010001cosβ.

4. Dynamic analysis of attitude control system

According to the dynamic model equation of the underwater spherical robot established by Fossen [16], the dynamic equation of the rigid body B1 when the propeller is not working can be obtained as follows:

11
I1xp˙+I1z-I1yqr-r˙+pqI1xz+r2-q2I1yz+pr-q˙I1xy=M1,I1yq˙+I1x-I1zrp-p˙+qrI1xy+p2-r2I1zx+pq-r˙I1yz=M2y',I1zr˙+I1y-I1xpq-q˙+rpI1yz+q2-p2I1xy+rq-p˙I1xz=M2z',

where I1x, I1y, I1z are the moment of inertia of the rigid body B1 around the O1x1 axis, O1y1 axis and O1z1 axis respectively. M2y' and M2z' are the components of the torque of the short axis motor acting on the rigid body on the O1y1 axis and O1z1 axis. I1xy, I1xz and I1yz are the inertial products of rigid body B1 to plane x1o1y1, x1o1z1 and y1o1z1, respectively and:

12
I1x=Ωρ(y2+z2)dxdydz,I1y=Ωρ(x2+z2)dxdydz,I1z=Ωρ(x2+y2)dxdydz,
13
I1xy=Ωρxydxdydz,I1xz=Ωρxzdxdydz,I1yz=Ωρyzdxdydz.

Due to the symmetry of the structure, we have:

14
I1y=I1z,I1xy=I1xz=I1yz=0.

Since the values of Ix are similar to those of Iy and Iz, it is considered that:

15
I1x=I1y=I1z.

So Eq. (11) can be reduced to:

16
I1xp˙=M1,I1yq˙=M2y',I1zr˙=M2z',

where I2y and I2z are the moment of inertia of the sleeve (rigid body B2) around the O2y2 axis and O2z2 axis respectively.

Due to the regular shape of the sleeve, it can be approximately considered that:

17
I2y=I2z=I2yz,

where I2yz is the moment of inertia of the sleeve (rigid body B2) about any axis in the plane.

And we have:

18
I1xp˙=M1,(I1y+I2yz)q˙=M2y',I1z+I2yzr˙=M2z'.

Let:

19
Iy'=I1y+I2y,Iz'=I1z+I2z.

Since:

20
I1y=I1z.

We have:

21
Iy'=Iz'.

Then the system model Eq. (16) can be rewritten as:

22
I1xp˙=M1,Iy'q˙=M2y',Iz'r˙=M2z'.

In the coordinate system {3}, the torque of short axis motor can be expressed as:

23
0M20.

M2y' and M2z' can be expressed as:

24
0M2y'M2z'=1000cosα-sinα0sinαcosα10tanβ010001cosβ0M20 =0M2cosαM2sinα .

Then Eq. (22) can be reduced to:

25
p˙=M1I1x,q˙=M2cosαI1y+I2yr˙=M2sinαI1z+I2z.,

Let:

26
k1=1I1x, k2=1I1y+I2y, k3=k2=1I1z+I2z, k4=1I2x+I3x.

Then make the input transformation, let:

27
τ1=M1,τ2=M2.

Then the state equation of the spherical shell attitude control system is:

28
z˙1=z4+z5sinz1tanz2+z6cosz1tanz2,z˙2=z5cosz1-z6sinz1,z˙3=z5sinz1cosz2+z6cosz1cosz2,z˙4=k1τ1,z˙5=k2τ2cosz8,z˙6=k3τ2sinz8,z˙7=-2k4τ1,z˙8=z4+z7.

Further simplifying Eqs. (6-28), we can get:

29
z¨1-z¨3sinz2-z˙2z˙3cosz2=k1τ1,z¨2cosz1+z¨3sinz1cosz2+z˙1z˙3cosz1cosz2-z˙1z˙2sinz1-z˙2z˙3sinz1sinz2=k2τ2cosz8,-z¨2sinz1+z¨3cosz1cosz2-z˙1z˙3sinz1cosz2-z˙1z˙2cosz1-z˙2z˙3cosz1sinz2=k3τ2sinz8,z¨8=k1-2k4τ1.

Let:

30
ε11ε21ε31ε41=z1z2z3z8.

Considering modeling error and external interference, from Eq. (29), we can obtain:

31
ε˙11=ε12, ε˙12=f1ε+F1ετ2+k1τ1+d1,ε˙21=ε22, ε˙22=f2ε+F2ετ2+d2,ε˙31=ε32, ε˙32=f3ε+F3ετ2+d3,ε˙41=ε42, ε˙42=k1-2k4τ1,

where d1, d2 and d3 are modeling errors and external disturbances, and

f1ε=ε12ε22tanε21+ε22ε32sinε21tanε21+ε22ε32cosε21,
f2ε=-ε12ε32sinε21, f3ε=ε12ε22cosε21+ε22ε32tanε21,
F1ε=k2tanε21sinε11cosε41+cosε11sinε41,
F2ε=k2cosε11cosε41-sinε11sinε41,
F3ε=k2cosε21sinε11cosε41+cosε11sinε41.

Since the values of ε41 and ε42 are only two state variables needed in the design of control system, and there is no expected value, Eqs. (6-31) can be simplified to:

32
ε˙11=ε12,ε˙12=f1ε+F1ετ2+k1τ1+d1,ε˙21=ε22,ε˙22=f2ε+F2ετ2+d2,ε˙31=ε32,ε˙32=f3ε+F3ετ2+d3.

5. Control design

To design the control law conveniently, the system Eq. (32) is divided into two subsystems:

33
1ε˙21=ε22,ε˙22=f2ε+F2ετ2+d2,ε˙31=ε32,ε˙32=f3ε+F3ετ2+d3, 2ε˙11=ε12,ε˙12=f1ε+F1ετ2+k1τ1+d1.

Then the back stepping sliding mode control law is designed for the two subsystems respectively.

Firstly, for the system 1, the position error of the system is:

34
e2=ε21-ε21d,e3=ε31-ε31d.

The sliding mode function can be designed as:

35
s2=c2e2+e˙2,s3=c3e3+e˙3,

where c2 and c3 are positive constants.

From Eq. (31), we have:

36
e˙2=ε˙21-ε˙21d=ε22,e¨2=ε¨21-ε¨21d=f2ε+F2ετ2+d2,e˙3=ε˙31-ε˙31d=ε32,e¨3=ε¨31-ε¨31d=f3ε+F3ετ2+d3,

and

37
s2=c2ε21-ε21d+ε22,s˙2=c2ε˙21-ε˙21d+ε˙22=c2ε22+f2ε+F2ετ2+d2,s3=c3ε31-ε31d+ε32,s˙3=c3ε˙31-ε˙31d+ε˙22=c3ε32+f3ε+F3ετ2+d3.

If the following control laws are designed:

38
τ21=1F2ε-c2ε22-f2ε-D2sgns2,τ22=1F3ε-c3ε32-f3ε-D3sgns3,

where D2 is the upper bound of d2,D3 is the upper bound of d3, sgn represented symbolic function, its definition is given by:

39
sgn(s)=+1, s>0,sgn(s)=-1, s<0.

Substituting Eqs. (38) and (39) into Eq. (37),we have:

40
s˙2=-D2sgns2+d2,s˙3=-D3sgns3+d3,

and

41
s2s˙2=s2(-D2sgn(s2)+d2)=-D2s2+d2s20,s3s˙3=s3(-D3sgn(s3)+d3)=-D3s3+d3s30.

Due to the coupling effect between the two subsystems in the system, it is not reasonable to add the two control laws easily, and we need to introduce the control law corresponding to the coupling effect.

The total desired control law is set to:

42
τ2=τ21+τ22+τ2h,

where τ2h is the coupled switching control law of the system in approach stage.

Now we construct the second sliding plane:

43
S=Cs2+s3,

where C is a positive constant.

To get the coupled switching control law, the CLF is chosen as:

44
V1=12S2,

the first-order time-derivative of the CLF V1 renders to:

45
V˙1=SS˙=SCs˙2+s˙3,

substituting Eqs. (37) into Eq. (45), we have:

46
V˙1=SCF2ετ22+F3ετ21+CF2ε+F3ετ2h.

If the exponential approach law is taken for the system from the initial state to the switching surface, then:

47
CF2ετ22+F3ετ21+CF2ε+F3ετ2h=-p1sgnS-p2S,

where p1 and p2 are positive constants.

From Eq. (47), we have:

48
τ2h=-1CF2ε+F3εCF2ετ22+F3ετ21+p1sgnS+p2S,

and

49
V˙1=-p1S-p2S2 0,
50
τ2=τ21+τ22+τ2h= 1CF2(ε)+F3(ε)(F3(ε)τ22+CF2(ε)τ21-p1sgn(S)-p2S)
=-1CF2ε+F3εc3ε32+f3ε+D3sgns3+Cc2ε22+Cf2ε+CD2sgns2+p1sgnS+p2S.

Secondly, for system 2, the position error of the system is:

51
e1=ε11-ε11d.

The sliding mode function is chosen by the following equation:

52
s1=c1e1+e˙1,

where c1 is a positive constant.

From Eq. (31), we have:

53
e˙1=ε˙11-ε˙11d=ε12,e¨1=ε¨11-ε¨11d=f1ε+F1ετ2+k1τ1,

and

54
s1=c1ε11-ε11d+ε12,s˙1=c1ε˙11-ε˙11d+ε˙12=c1ε12+f1ε+F1ετ2+k1τ1.

Let us definite the following Lyapunov function:

55
V2=V1+12s12.

If the exponential approach law is taken for the system from the initial state to the switching surface, then:

56
c1ε12+f1ε+F1ετ2+k1τ1=-p1'sgns1-p2's1,

where p1' and p2' are positive constants.

From Eq. (56), the control input τ1 can be obtained as:

57
τ1=-1k1p1'sgns1+p2's1+c1ε12+f1ε+F1ετ2,

and

58
V˙2=V˙1+s1s˙1=V˙1-p1's1-p2's12 0.

According to the aforementioned discussion, it is known that the control law Eqs. (50), (57) can drive arbitrary tracking errors to converge to the origin.

6. Simulation

According to the designed hierarchical sliding mode control law, we carry out some computer simulations by using the Simulink box to demonstrate the performance of the designed controller. The initial attitude value (ϕ,θ,ψ) of the rigid body B1 is (π/2,π/4,π/4). The desired attitude value (ϕd,θd,ψd) of the rigid bodyB1 is (π/6,π/3,π/2). The parameters are selected as follows: c1=48, c2=60, c3=80, C=96, p1=8, p2=9, p1'=7, p2'=12.

The modeling errors and interferences are selected as follows: D1= 0.2, D2= 0.1, D3= 0.3.

Fig. 3Change of roll angle

Change of roll angle

Fig. 4Change of pitch angle

Change of pitch angle

Fig. 5Change of yaw angle

Change of yaw angle

Fig. 6Input torque change of long axis motor

Input torque change of long axis motor

Fig. 7Input torque change of short axis motor

Input torque change of short axis motor

According to Figs. 3-5, the response curves of roll angle, pitch angle and yaw angle have no oscillation, the rise time is less than 0.6 s, the transition time is less than 1 s, and the system has good dynamic performance.

According to Fig. 6, the input torque of the long axis motor has a small chattering, but does not affect the output of the system.

According to Fig. 7, the input torque of the short axis motor have no chatter.

In order to further test the performance of the controller, we carried out a circular experiment. The expected trajectory of the underwater spherical robot is an arc with a radius of 0.5 m, that is xd= 0.5 m, yd= 0.5 m, the initial value of (x, y, θ) is (0, 0.5, 0). The value of θ is from 0 to π/2. The disturbance of the current can be expressed as τw=0.6+0.8sin(0.8t+π/4).

The simulation results are shown in Figs. 8-11.

Fig. 8Change of the yaw angle

Change of the yaw angle

Fig. 9Change of y

Change of y

Fig. 10Change of x

Change of x

Fig. 11Trajectory of the robot

Trajectory of the robot

According to Figs. 8-9, the absolute value of heading angle error is less than 0.2 rad, the absolute value of horizontal position error is less than 0.10 m, and the absolute value of vertical position error is less than 0.08 m.

According to Figs. 10-11, the trajectory of the underwater spherical robot is an arc with an approximate radius of 0.5 m.

Therefore, the experimental results show that the established dynamic control law based on this model are effective, which can realize the tracking of the motion track in the vertical plane, The controller has small overshoot and can well suppress chattering phnomenon and the control accuracy is ideal.

The above simulation results show the feasibility of the hierarchical sliding mode control law in the attitude adjusting control of the underwater spherical robot.

References

  • Guo Shuxiang, Du Juan, Ye Xiufen, Gao Hongtao, Gu Yizhou Real-time adjusting control algorithm for the spherical underwater robot. International Journal on Information, Vol. 13, 2010, p. 2021-2029.
  • Li Yansheng, Yang Meimei, Sun Hanxu Fluctuation characteristics and rolling control for an underactuated spherical underwater exploration robot. Journal of Vibroengineering, Vol. 19, Issue 2, 2017, p. 1050-1061.
  • Gu Shuoxin, Guo Shuxiang Performance evaluation of a novel propulsion system for the spherical underwater robot (SURIII). Applied Sciences, Vol. 7, 2017, p. 1196.
  • Seifried R. Dynamics of Underactuated Multibody Systems: Modeling, Control and Optimal Design. Solid Mechanics and Its Applications, Springer International Publishing, 2014.
  • Shojaei K. Neural adaptive robust control of underactuated marine surface vehicles with input aturation. Applied Ocean Research, Vol. 53, 2015, p. 267-278.
  • Sabiha Wadoo, Pushkin Kachroo Autonomous Underwater Vehicles Modeling, Control Design and Simulation. CRC Press, 2011.
  • Brockett R. W. Asymptotic Stability and Feedback Stabilization. Differential Geometric Control Theory, Birkhauser, 1993.
  • Bhat S. P., Bernstein D. S. Finite-time stability of homogeneous systems. Proceedings of the American Control Conference, Albuquerque, New Mexico, USA, 1997, p. 2514-2513.
  • Bhat S. P., Bernstein D. S. Finite-time stability of continuous autonomous systems. SIAM Journal on Control and Optimization, Vol. 38, Issue 3, 2000, p. 751-766.
  • Yu Haomiao, Guo Chen, Yan Zheping Globally finite-time stable three-dimensional trajectory-tracking control of underactuated UUVs. Ocean Engineering, Vol. 189, 2019, p. 106329.
  • Pettersen K. Y., Egeland O. Position and attitude control of an underactuated autonomous underwater vehicle. Proceedings of 35th IEEE Conference on Decision and Control, 1996.
  • Hua M. D., Hamel T., Morin P., et al. Control of thrust-propelled underactuated vehicles. IEEE International Conference on Robotics and Automation, 2008.
  • Jun B.-H., Park J.-Y., Lee F.-Y. Development of the AUV ‘ISiMI’ and free running test in an ocean engineering basin. Ocean Engineering, Vol. 36, Issue 1, 2009, p. 2-14.
  • Isa K., Arshad M. R., Ishak S. A hybrid-driven underwater glider model, hydrodynamics estimation, and an analysis of the motion control. Ocean Engineering, Vol. 81, Issue 2, 2014, p. 111-129.
  • Lin W., Chin C. S. Block diagonal dominant remotely operated vehicle model simulation using decentralized model predictive control. Advances in Mechanical Engineering, Vol. 9, Issue 4, 2017, https://doi.org/10.1177/1687814017698886.
  • Fossen T. I. Handbook of Marine Craft Hydrodynamics and Motion Control. 1st. Edition, Wiley, 2011.

About this article

Received
20 December 2019
Accepted
31 March 2020
Published
30 June 2020
Keywords
spherical underwater exploring robot
hierarchical sliding mode
attitude control underactuated system
Acknowledgements

The authors would like to thank the support of China National Natural Science Foundation (51175048) for the research.