Teguh Herlambang1
1Information System Department โ University of Nahdlatul Ulama Surabaya (UNUSA) [email protected]
ABSTRACT
This paper analyzes the motion control system stability using Sliding Mode Control (SMC) method with 2-DOF motion equation on Autonomous Underwater Vehicle (AUV). The 2-DOF motion equation consists of surge and roll motions in the form of nonlinear motion equations. The stability analysis was applied to AUV system using Lyapunov method. The simulation results of the SMC control system with the 2-DOF motion equation on the AUV system showed that the system was stable at the determined set-point value with an error of โค1% and locally, asymptotically stable.
KEYWORDS : AUV, motion control, stability analysis, Lyapunov
1. INTRODUCTION.
The geographical territory of Indonesia covers islands and waters. About one third of Indonesia territory is land area, while the rest, the two-thirds, is water. Indonesia's strategic region with its tropical climate provides a lot of potential and natural wealth contained in it (Oktafianto,2015). An area of approximately 70% of ocean needs special attention to be paid to the natural resources contained therein.Underwater technology is required to explore and safeguard the natural resources of Indonesian state, that is, underwater vehicle (Herlambang et al,2014).
Underwater vehicles that are commonly developed by many countries today are unmanned water robots or unmanned submarines. Such a robot is widely known as Autonomous Underwater Vehicle
(AUV) which is one of the unmanned vehicles or the unmanned vehicle that works automatically without any direct control by humans (Herlambang,2017).
The benefits of AUV are that it can be utilized not only for marine resources exploration, but also underwater mapping and underwater defense system equipment (Herlambang, 2015).
This study began by making up the model of motion equation with 2-DOF, that is, surge motion and roll motion. Surge and roll motions are translation and rotation motions on the x-axis. Then motion control system design for forward movement was developed by using Sliding Mode Control (SMC). The next step was to find stability analiysis with Lyapunov Function, and we get system is locally asymptotically stable .
Postgraduate International Conference, Vol. 2 ICMST 2018 July, 26th 2018
60
2. AUTONOMOUS UNDERWATER VEHICLE (AUV) MODEL
Fig. 1. Six degree of freedom of AUV motion (Yang, 2007)
To analyze the AUV system there are two important things to note, namely the axis system consisting of Earth Fixed Frame (EFF) and Body Fixed Frame (BFF) which have been represented in Figure 1 (Yang, 2007). EFF is used to explain the position and orientation of AUV, where the x-axis position leads northward, the y-axis to the east and the z-axis toward the center of the earth. While the BFF defines the positive x-axis as desired direction of the vehicle, the positive y-axis was direction to the right side of the vehicle, and the positive z-axis as direction to downward (Fosen,2005). The BFF system is used to explain the speed and acceleration of the AUV with the starting point at the center of gravity (Herlambang,2017). This study used motion equations with 2-DOF i.e. surge and roll, ignoring sway motion, heave, pitch and yaw. Below are the motion equations in 2-DOF:
๐ขฬ =๐๐๐๐ +๐|๐ข|๐ข๐ข|๐ข|+๐๐๐๐๐
๐โ๐๐ขฬ (1)
๐ฬ =๐พ๐๐๐ +๐พ๐|๐|๐|๐|+๐พ๐๐๐๐
๐ผ๐ฅโ๐พ๐ฬ (2)
Where๐๐๐๐ dan ๐พ๐๐๐ are hydrostastic forces and moments in the x-axis direction, ๐๐๐๐๐dan๐พ๐๐๐๐ as force and moment of thrust.AUV specifications are listed in Table 1.
Table 1.Specification of AUV
Weight 18 Kg
Length 1600 mm
Diameter 200 mm
Controller Ardupilot Mega 2.0 Communication Wireless Xbee 2.4
GHz
Camera TTL Camera
Battery Li-Pro 11,8 V Propulsion 12V motor DC Propeller 3 Blades OD : 50
mm
Speed 3.1 knots (1.5m/s)
Maximum Depth 8 m
3. SLIDING MODE CONTROL (SMC)
The design of the SMC controller can be described as follows (Herlambang et al,2017):
a. Determine the function of Switching S(x,t)as in the equation
๏จ ๏ฉ
, 0S x t ๏ฝ ๏ซe ๏ฌe๏ฝ of tracking error of dynamic system.
Postgraduate International Conference, Vol. 2 ICMST 2018 July, 26th 2018
61 b. Determine the Sliding surface, ie
S(x,t)=0of the Switching function obtained.
c. Determine the estimated value of the controller
u ห
. Dynamics under sliding condition can be written as: ๐ฬ = 0by completing the switching function, expression for the estimated value of the controller was obtained as equivalent control. When using dynamic SMC at the moment S=0,
u ห
was obtained.d. Define the rules of SMC, that is, using control law,
) ห Ksgn(S u
u๏ฝ ๏ญ
where the signum function, sgn is defined as:
๏ฎ ๏ญ
๏ฌ๏ญ
1 ) 1 sgn(x
1 ,
1 ,
๏ณ
๏ผ x x
e. Substitute the value of
u ห
incontrol law so as to obtain newcontrol input as subtitute of previous control input.f. Determine the value of K in conformance to the sliding condition in equation of stage 4.
Then work on designing the SMC control system in the motion equation of non-linear model with 2-DOF.
4. Designing SMC Control System of 2-DOF non-linear Model
In this part the SMC control system was designed to obtain control input for surge and roll motions.
4.1. Surge Control System
To find control of surge, the tracking error of the surge was determined first as follows
๐ขฬ = ๐ข โ ๐ข๐ ๐ข๐=constant
Since the system is of order 1, switching function was formulated as follows :
๐(๐ข, ๐ก) = (๐
๐๐ก)๐โ1๐ขฬ with n=1 ๐(๐ข, ๐ก) = (๐
๐๐ก)
1โ1
๐ขฬ
๐(๐ข, ๐ก) = ๐ขฬ = ๐ข โ ๐ข๐
Whereas the derivative of S is as follows :
๐ฬ(๐ข, ๐ก) = ๐ขฬ โ ๐ขฬ๐ (3) Since๐ข๐=constantm then๐ขฬ๐= 0
By subtituting equation (1) to equation (3), it becameas follows:
๐ฬ(๐ข, ๐ก) =๐๐๐๐ +๐|๐ข|๐ข๐ข|๐ข|+๐๐๐๐๐
๐โ๐๐ขฬ (4)
Then the value of๐ฬ๐๐๐๐in equation (4) where
S ๏ฝ 0
was determined as follows.
๐๐๐๐ +๐|๐ข|๐ข๐ข|๐ข|+๐๐๐๐๐
๐โ๐๐ขฬ = 0 (5)
So๐ฬ๐๐๐๐ obtained was
๐ฬ๐๐๐๐= โ(๐๐๐๐ + ๐|๐ข|๐ข๐ข|๐ข|) (6) Based oncontrol law meetingslidingcondition was : ๐๐๐๐๐= ๐ฬ๐๐๐๐โ ๐พ1 ๐ ๐๐ (๐) (7) Then from equation (6) and (7) the following was obtained
๐๐๐๐๐= โ(๐๐๐๐ + ๐|๐ข|๐ข๐ข|๐ข|) โ ๐พ1 ๐ ๐๐ (๐) (8) By subtituting equation (8) to (5), the following equation was obtained :
๐ฬ(๐ข, ๐ก) =
๐๐๐๐ +๐|๐ข|๐ข๐ข|๐ข|+(โ(๐๐๐๐ +๐|๐ข|๐ข๐ข|๐ข|)โ ๐พ1 ๐ ๐๐ (๐)) ๐โ๐๐ขฬ
๐ฬ(๐ข, ๐ก) = โ๐พ1 ๐ ๐๐ (๐)
๐โ๐๐ขฬ (9)
Then the K value was designed by substituting equation (9) into equation (10) in order to meet the sliding conditions:
๐๐ฬ โค โ๐|๐| (10)
โ๐๐พ1 ๐ ๐๐ (๐)
๐ โ ๐๐ขฬ โค โ๐|๐|
Postgraduate International Conference, Vol. 2 ICMST 2018 July, 26th 2018
62
โ๐ด๐ด1๐พ1 ๐ ๐๐ (๐) โค โ๐|๐|
๐ ๐พ1 โฅ(๐โ๐๐ขฬ)๐
๐ ๐๐ (๐) (11)
From equation (11) the value of K was obtained:
๐พ1= |max(๐ โ ๐๐ขฬ)๐| (12) Then a boundary layer was used to minimize chattering by changing the signum function (sgn) into saturation function (sat) as follows:
๐๐๐๐๐= ๐ฬ๐๐๐๐โ ๐พ ๐ ๐๐ก (๐
๐) (13)
Thus the control system design obtained by substituting equations (6) and (12) into equation (13) is as follows:
๐๐๐๐๐= โ(๐๐๐๐ + ๐|๐ข|๐ข๐ข|๐ข|) โ |max(๐ โ ๐๐ขฬ)๐| ๐ ๐๐ก (๐
๐) (14)
4.2. Roll Control System
To find control of the roll,the tracking error of the roll was determined first as follows.
๐ฬ = ๐ โ ๐๐ ๐๐=constant
Since the system was of order 1, the the switching function was formulated as follows:
๐(๐, ๐ก) = (๐
๐๐ก)๐โ1๐ฬ with n=1 ๐(๐, ๐ก) = (๐
๐๐ก)
1โ1
๐ฬ
๐(๐, ๐ก) = ๐ฬ = ๐ โ ๐๐
Whereas the derivative of S is as follows : ๐ฬ(๐, ๐ก) = ๐ฬ โ ๐ฬ๐
(15)
Since๐๐=constant, then๐ฬ๐= 0
By subtituting equation (2) into (15), then it became :
๐ฬ(๐, ๐ก) =๐พ๐๐๐ +๐พ๐|๐|๐|๐|+๐พ๐๐๐๐
๐ผ๐ฅโ๐พ๐ฬ
(16)
Next the value of๐พฬ๐๐๐๐in equation (16) with the value of
S ๏ฝ 0
was determined as follows.๐พ๐๐๐ +๐พ๐|๐|๐|๐|+๐พ๐๐๐๐
๐ผ๐ฅโ๐พ๐ฬ = 0 (17)
So๐พฬ๐๐๐๐ obtained is
๐พฬ๐๐๐๐= โ(๐พ๐๐๐ + ๐พ๐|๐|๐|๐|) (18) Based oncontrol law meeting thesliding condition is :
๐พ๐๐๐๐= ๐พฬ๐๐๐๐โ ๐พ ๐ ๐๐ (๐) (19) So from equation (18) and (19) the following was obtained :
๐พ๐๐๐๐= โ(๐พ๐๐๐ + ๐พ๐|๐|๐|๐|) โ ๐พ ๐ ๐๐ (๐) (20) Dengan mensubstitusikan persamaan (20) ke (16), diperoleh :
๐ฬ(๐, ๐ก) =
๐พ๐๐๐ +๐พ๐|๐|๐|๐|+(โ(๐พ๐๐๐ +๐พ๐|๐|๐|๐|)โ ๐พ ๐ ๐๐ (๐)) ๐ผ๐ฅโ๐พ๐ฬ
๐ฬ(๐, ๐ก) = โ ๐พ ๐ ๐๐ (๐)
๐ผ๐ฅโ๐พ๐ฬ (21)
Then the value of K was designed by subtituting equation (21) into equation (22) so as to meet sliding condition, that is :
๐๐ฬ โค โ๐|๐|
(22)
โ๐๐พ ๐ ๐๐ (๐)
๐ผ๐ฅโ ๐พ๐ฬ โค โ๐|๐|
๐พ โฅ(๐ผ๐ฅโ๐พ๐ฬ)๐
๐ ๐๐ (๐)
(23)
From equation (23) it was obtained that the K value is :
๐พ = |max(๐ผ๐ฅโ ๐พ๐ฬ)๐| (24) Then a boundary layer was used to minimize chattering by changing the signum function (sgn) into saturation function (sat) as follows:
๐พ๐๐๐๐= ๐พฬ๐๐๐๐โ ๐พ ๐ ๐๐ก (๐
๐) (25)
Thus the control system design obtained by substituting equations (18) and (24) into equation (25) is as follows:
๐พ๐๐๐๐= โ(๐พ๐๐๐ + ๐พ๐|๐|๐|๐|) โ |max(๐ผ๐ฅโ ๐พ๐ฬ)๐| ๐ ๐๐ก (๐
๐) (26)
Postgraduate International Conference, Vol. 2 ICMST 2018 July, 26th 2018
63 5. RESULT OF STABILITY ANALYSIS
The SMC control system design of the nonlinear 2-DOF model was obtained, from AUV 2- DOF motion equations: surge and roll, control law was obtained by using lyapunov function as a candidate is
๐(๐ข, ๐) =1 2๐ข2+1
2๐2
It was shown that function ๐(๐ข, ๐) =1
2๐ข2+
1
2๐2 is lyapunov function in conformance to the above definition :
a. Function ๐ is continuous and has partial derivative of ๐
Function๐(๐ข, ๐) =1
2๐ข2+1
2๐2is a quadratic function, it is clear that the quadratic function is continuous in E. Then the partial derivative is also continuous.
b. Take any ๐ = (๐ข, ๐) โ ๐พ with ๐ โ ๐1, so ๐(๐) =1
2๐ข2+1
2๐2> 0
Take any ๐ = (๐ข, ๐) โ ๐พ with ๐ โ ๐1, so ๐(๐) =1
202+1
202= 0 c. ๐ฬ(๐ข, ๐) =๐๐
๐๐ข๐ขฬ +๐๐
๐๐๐ฬ
๐ฬ(๐ข, ๐) = ๐ข๐ขฬ + ๐๐ฬ
๐ฬ(๐ข, ๐)
= ๐ข (๐๐๐๐ + ๐|๐ข|๐ข๐ข|๐ข| + ๐๐๐๐๐
๐ โ ๐๐ขฬ )
+ ๐ (๐พ๐๐๐ + ๐พ๐|๐|๐|๐| + ๐พ๐๐๐๐ ๐ผ๐ฅโ ๐พ๐ฬ )
Choose ๐๐๐๐๐= โ(๐๐๐๐ + ๐|๐ข|๐ข๐ข|๐ข|) โ ๐พ๐ ๐๐(๐)
Choose ๐พ๐๐๐๐= โ(๐พ๐๐๐ + ๐พ๐|๐|๐|๐|) โ ๐พ๐ ๐๐(๐)
So the following is obtained
๐ฬ(๐ข, ๐) = ๐ข (โ๐พ1๐ ๐๐(๐)
๐ โ ๐๐ขฬ ) + ๐ (โ๐พ2๐ ๐๐(๐) ๐ผ๐ฅโ ๐พ๐ฬ )
โค [โ ๐พ1 ๐ โ ๐๐ขฬ] [๐ข]
+ [โ ๐พ2 ๐ผ๐ฅโ ๐พ๐ฬ] [๐]
Choose ๐พ1= [๐ โ ๐๐ขฬ]๐ dan ๐พ2= [๐ผ๐ฅโ ๐พ๐ฬ]๐ So the followings were obtained ๐ฬ(๐ข, ๐) โค [โ๐]|๐ข| + [โ๐]|๐|
๐ฬ(๐ข, ๐) โค โ๐[|๐ข| + |๐|]
Having met those three requirement, function ๐(๐ข, ๐) =1
2๐ข2+1
2๐2 is Lyapunov function and locally, asymptotically stable.
6. CONCLUSION.
Based on the results and discussion it can be concluded that the Sliding Mode Control (SMC) method can be applied as a control system of surge and roll motion with an error of โค1 and is locally asymptotically stable.
7. REFERENCES.
Fossen, T. I. (2005) ,โA Nonlinear Unified State-space Model for Ship Maneuvering and Control in A Seawayโ. International Journal of Bifurcation and Chaos, Vol. 5, pp. 2717-2746, Aug.
Herlambang, T., Nurhadi H and Subchan., (2014). โPreliminary Numerical Study on Designing Navigation and Stability Control Systems for ITS AUVโ, Applied Mechanics and Materials, Trans Tech Publications, Switzerland. Vol. 49, pp. 420-425
Herlambang, T., Djatmiko E.B and Nurhadi H., (2015), โNavigation and Guidance Control System of AUV with Trajectory Estimation of Linear Modellingโ, Proc. of International Conference on Advance Mechatronics,
Postgraduate International Conference, Vol. 2 ICMST 2018 July, 26th 2018
64 Intelligent Manufactre, and Industrial Automation, IEEE , ICAMIMIA 2015,Surabaya, Indonesia, pp. 184-187, Oct 15 โ 17.
Herlambang, T., Djatmiko E.B and Nurhadi H., (2015), โEnsemble Kalman Filter with a Square Root Scheme (EnKF-SR) for Trajectory Estimation of AUV SEGOROGENI ITSโ, International Review of Mechanical Engineering IREME Journal, Vol. 9, No. 6. Pp.
553-560, ISSN 1970 โ 8734. Nov.
Herlambang, T., (2017), โDesign Control System of Surge, Sway and Yaw Motion in Autonomous Underwater Vehicle using Sliding Mode Control (SMC) Methodโ Journal Of Mathematics and Its Applications (LIMITS), Vol. 14, No.1, page 53-60, ISSN 2579-8936.
Mei.
Herlambang, T., Apriliani E, Cordova H, Mardlijah., (2017), โDynamic Sliding Mode Control (DSMC) for Water Level Control in Steam Drum Boilerโ, Technology Science and Engineering Journal, Vol 1 No 1 February 2017. E-ISSN: 2549-1601X.
Oktafianto, K., Herlambang T, Mardlijah and Nurhadi H., (2015), โDesign of Autonomous Underwater Vehcle Motion Control Using Sliding Mode Control Methodโ, Proc. of International Conference on Advance Mechatronics, Intelligent Manufactre, and Industrial Automation, IEEE , ICAMIMIA 2015, Surabaya, Indonesia, pp. 184-187, Oct 15 โ 17.
Yang, C. 2007. Modular Modelling and Control for Autonomous Vehicle (AUV). Department of Mechanical Engineering National University of Singapore.
Indonesian Naval Technology College, STTAL Postgraduate International Conference, Vol. 2 ICMST 2018 July, 26th 2018
65