#### Abstract

This paper focuses on high precision leveling control of an underwater heavy load platform, which is viewed as an underwater parallel robot on the basis of its work pattern. The kinematic of platform with deformation is analyzed and the dynamics model of joint space is established. An adaptive backstepping controller according to Lyapunov's function is proposed for leveling control of platform based on joint space. Furthermore, the “lowest point fixed angle error” leveling scheme called “chase” is chosen for leveling control of platform. The digital simulation and practical experiment of single joint space actuator are carried out, and the results show high precision servo control of joint space. On the basis of this, the platform leveling control simulation relies on the hardware-in-loop system. The results indicate that the proposed controller can effectively restrain the influence from system parameter uncertainties and external disturbance to realize high precision leveling control of the underwater platform.

#### 1. Introduction

An underwater parallel heavy-load platform based on tension-leg platform is proposed here, and it will be used to carry some special underwater tools for underwater experiments at designated depth. From the viewpoint of topology, the platform can be seen as an underwater flexible parallel robot with advantages of both parallel mechanism and flexible-driven mode. From the viewpoint of control, the platform is a multi-input and multioutput (MIMO) nonlinear system with complex coupling dynamic. Hence, it has certain difficulty to realize the high precision leveling control of platform.

At present, the studies on underwater parallel robot control are relatively lacking, so it can be just referred to rigid platform leveling control and flexible parallel robot control technology. The leveling control technology is widely used in engineering machinery, aerospace, military engineering, and other aspects, and its precision will directly affect the accuracy of overall system. Zhai and Ni proposed two leveling methods, respectively, based on position error and angle error aiming at the leveling issue of six supports hydraulic platform on stationary base [1]. Sheng and Qiu designed six-support hydraulic Stewart platform bearing heavy load, proposed computer parameterization leveling algorithm, and constructed electrohydraulic servo automatic leveling system [2, 3]. Ye focused on leveling control of the six-support platform bearing heavy load and then put forward a leveling scheme called “fixed point” scheme [4]. Zhang chose a “highest point fixed” leveling scheme called “chase” for a four-support platform and constructed the platform leveling system with programmable logic controller (PLC) [5]. Besides, many scholars have done a lot of research on the flexible parallel robot. Landsberger from Massachusetts Institute of Technology (MIT) first proposed a cable-controlled three degrees-of-freedom (DOF) parallel link manipulator and carried out dynamic analysis and control technology of system [6]. Fang et al. designed the nonlinear feed-forward control law for motion control of a six DOF tendon-based parallel manipulator [7]. Yamamoto et al. studied the dynamics and control of a parallel mechanism where an end-effector was suspended by multiple wires [8]. Pham et al. studied the workspace of a cable-driven parallel mechanism [9]. Zi gave out the mechanics analysis and control of the feed tracking system for the five-hundred meter aperture spherical radio telescope (FAST), established the dynamics models of the end-effector and the drive system, respectively, and then carried out the scaled model experiment of system [10].

The existing parallel robot control applying in engineering design can be divided into two categories: one is joint space based control and another is task space based control; both have their certain advantages and disadvantages. Joint space based control mainly relies on kinematic relation of the parallel platform mechanism, as well as dynamics model of the driving devices; task space based control, however, requires dynamics’ analysis of the platform to build the dynamics model of the platform [11]. Considering the complexity of the underwater platform system and unknown factors of underwater environment, accurate dynamics model of the underwater platform is hard to obtain; therefore, joint space based control is applied in order to accomplish underwater platform controller design in this paper. Given that the driving device of the platform is hydraulic winch, by using the accurate position servo control toward hydraulic winch, depth setting and orientation adjustment of the underwater platform can be realized. As to practical applications, the strong nonlinearity, as well as the uncertainty of both internal parameters and external load force of hydraulic servo system, has contributed great difficulties to the leveling control system design. Therefore many scholars have proposed various control algorithms in order to make profound study and thus to achieve the precise control of the platform.

Adaptive backstepping design based on Lyapunov’s function is an effective and systematic method for nonlinear system controller design. The original backstepping control methods are designed for nonlinear systems with strict parameter feedbacks. Guan et al. provided a standard method of backstepping design to develop the controller [12–14]. In the process, however, since the controller contains the parameters adaptive law, while adaptive law also contains control variables, the system performance consequently degrades in such loop nest. Ruan et al. made the assumption that the initial coefficient value remained to be 1 or invariable before any system control input; such a system was seldom used in practical control system; instead a variety of nonlinear systems with nonstrict parameter feedbacks are usually applied in practical application; also the coefficients before system control input remained to be uncertain at most of the cases [15, 16].

In this paper, according to positioning mode of the platform, based on the kinematic and dynamic analysis of system, the joint space based control model is established. Then, an improved adaptive backstepping control method is proposed based on Lyapunov’s function for the single driven joint to overcome the influence from uncertain parameters of system. Besides, we verify the performance of the proposed controller through digital simulations and individual experiments with single driven joint (an actual hydraulic winch). Finally, based on the proposed leveling scheme, the leveling control simulations of platform rely on the hardware-in-loop simulation system.

#### 2. System Description

The underwater platform mainly consists of platform ontology, hydraulic winches, wire ropes, and gravity anchors as shown in Figure 1.

Four tension winches are installed at points , , , and and four mooring winches are installed at points , , , and , respectively. Platform ontology always has positive buoyancy with ballast tank. All winches are connected to four gravity anchors through cables which are served as tension leg to keep the platform steady under water. Four depth transducers are installed at four corners of the platform deck, respectively, and an orientation transducer is installed at the center of the platform deck. It acquires depth and orientation information of the underwater platform with high precision transducers; then, it controls the platform based on the theory of parallel robot. The platform can realize high precision positioning at designated depth and meet the orientation requirement of carrying mechanism in certain workspace.

Both platform ontology and wire rope have a certain amount of deformation with external load. The deformation of platform cannot be ignored because of the large size, and it will be compensated during kinematics analysis. The wire rope is always tensioning with work load in the process of leveling control. As a result of this, the deformation of wire rope is constant, so its variation is ignored in this paper.

Hardware-in-loop simulation is a kind of technology which joins actual controller and model of the control object on the computer together for experiment. Complex systems like the platform require a certain building period, but its control system needs to be designed a priori. As a result of this, it can only rely on the simulation without actual control object. During the design process of the platform’s control system, we utilize the hardware-in-loop simulation system (see Figure 2) to simulate the actuator (hydraulic winch) and the object (underwater platform). It will effectively shorten the building period and avoid the waste of resources to a certain extent.

#### 3. Kinematic Analysis of Underwater Platform

##### 3.1. Coordinate Frames’ Selection

Kinematic analysis of the platform requires two coordinate frames as indicated in Figure 3. The earth-fixed coordinate frame takes the horizontal plane as datum known as -coordinate frame. Due to the deformation of platform, the actual deck is a curve surface, and it should be compensated into a flat surface which is called “virtual deck surface.” The body-fixed coordinate frame takes “virtual deck surface” as datum and its geometric center as origin known as -coordinate frame, where the geometric centers of actual deck and virtual deck are coincident.

The platform viewed as rigid body is a six DOF parallel robot as shown in Figure 3. Owing to special positioning mode, the movement along -axis and -axis and the rotation around are limited, so the platform is a three DOF underwater parallel robot actually. In this system the position and orientation of the platform are represented by six parameters which contain coordinate values of the origin of the -coordinate frame and Euler angles ( of the -coordinate frame relative to the -coordinate frame, where represent roll angle and pitch and yaw angles. We select () as generalized coordinates of the platform [17].

##### 3.2. Kinematic Analysis

Let denote the deformations of four corners on platform, and the values of depth transducers are , so the depth of is . Besides, the work depth of platform is .

Let denote the length, width, and height of the platform, respectively; the coordinate values of in the -coordinate frame are acquired as follows based upon the geometrical relationship: The coordinate value of arbitrary point named in -coordinate frame is , and denotes the coordinate value of point in -coordinate frame. is the rotation matrix of -coordinate with respect to -coordinate. is the coordinate value of -coordinate origin in -coordinate. Then (2) is acquired as follows: whereThe coordinate values of in -coordinate frame can be acquired based upon coordinate transformation as follows:During the whole diving process, the orientation of platform is monitored to ensure steadiness. Hence, the roll and pitch angles of the platform are small (), so the angle is small, as shown in Figure 4. Then, it realizes the leveling control of the platform based on orientation information of the platform measured by high precision orientation transducer. represents the position before adjustment, represents the ideal position after adjustment, and represents the position of anchor.

The Jacobian matrix of flexible parallel robot is defined as the linear relation between the velocity of the driven cable and the velocity of the platform [18]. In order to calculate the Jacobian matrix, it is assumed that the bottom of the test water area is generally flat, and the depth is . The coordinate values of in -coordinate frame are shown as follows: The length vector expressed with respect to -coordinate frame can be computed by We define as the velocity of the driven cable and specify the velocity of the platform as represented by translation along three axes and rotation around three axes of the -coordinate frame as shown in where Jacobian matrix is Proved by the calculation, the Jacobian matrix is always nonsingular in the workspace of the platform ().

Actually, the lakebed environment is unknown, so the calculation result of cable length above is just an estimated value which is not precise enough for leveling control of platform. As the platform moves nearby the horizontal position, we take an approximate method for the calculation of cable length as follows: The variation of cable length expressed with respect to -coordinate frame can be computed by The coordinate values of in -coordinate frame are denoted as follows:

#### 4. Dynamic Modeling of Joint Space

##### 4.1. Dynamic Modeling of Underwater Platform

The dynamical equations can be obtained based on the Newton-Euler method as shown in where is the position vector of the -coordinate frame origin with respect to the -coordinate frame, is the mass of the platform with ballast tank full of water, is angular velocity of the -coordinate frame, is the gravity and buoyancy of the platform with ballast tank full of water, and is the moment of inertia of the platform in the -coordinate frame; then , is the gravity and buoyancy torque of the platform, and and are the external force and torque, respectively. The moment of inertia of the platform in -coordinate frame is expressed in [19, 20] Here, it is supposed that the mass of the platform is uniformly distributed, so the center of gravity is geometric center of platform, and the center of buoyancy is located right above the center of gravity.

Through a series of transformations and substitutions, the dynamics model of the platform is expressed in terms of generalized coordinates as the following general form [21]: where denotes the position and orientation vectors with coordinates in the -coordinate frame, denotes the linear and angular velocity vectors with coordinates in the -coordinate frame, is the inertia matrix of the platform (including added mass), is the matrix of Coriolis and centripetal terms (including added mass), is the damping matrix of the platform, is vector of gravitational forces and torques, and is the vector of external disturbance terms. Here, is the force and torque vector generated by winch, and is the vector of control inputs by tensile force of cables. The transformation matrix is shown as follows: where It is difficult to establish an accurate dynamics model for the platform due to the nonlinear characteristic of the overall system, complicated underwater environment, and many other uncertainties. Considering the low velocity of the platform underwater, we utilize the method based on joint space to realize the control of the platform.

##### 4.2. Dynamic Modeling of Driving System

Considering the underwater dynamic sealing and heavy load, the hydraulic driving mode is chosen for the system. The hydraulic system adopts valve control with quantitative pump and motor for power supply, as well as keeping running smooth in overrunning load condition with respect to the balance valve. The driving system of platform is mainly composed of oil source, electrohydraulic servo valve, hydraulic motor, servo amplifier, and load as shown in Figure 5.

The dynamics model of hydraulic system is mainly composed of the following three equations [22]. In this section, we introduce a nonlinear mathematic model of the system.

The flow equation of servo valve is described as where is the load flow, is the discharge coefficient, is the area gradient, is the displacement of the spool in the servo valve, is the supply pressure of the pump, is the load pressure, and is the hydraulic oil density.

The continuity equation of the motor is where is the volumetric displacement of the hydraulic motor, is the rotor angle of motor rotor, is the total leakage coefficient, is the total actuator volume, and is the effective bulk modulus of the system.

As the servo valve dynamics are often sufficiently fast, they can be ignored in this paper. Therefore where is the servo amplifier gain, is the servo valve gain, is the controller output voltage, and is the input current of the servo valve.

The platform can be viewed as a rigid body, so the load torsional spring stiffness . The torque balance equation of the motor is where is the torque generated by hydraulic motor, is the inertia of hydraulic motor and load, is the viscous damping coefficient of hydraulic motor and load, and is the external load torque.

##### 4.3. Dynamic Modeling of Joint Space

The driving system of the platform is hydraulic winch which consists of hydraulic motor, reducer, and capstan. Cables with high modulus of elasticity are selected, so elastic deformation is negligible. The relation between length variation of cable and rotor angle of motor is shown as follows: where denotes the rotor angle of motor, denotes radius of the capstan, denotes reduction ratio, and denotes the length variation of cable.

Then .

With Jacobian matrix, we can acquire So, dynamics equation of the platform can be transformed from task space to joint space as shown in Here, is equivalent inertia matrix of joint space, and is equivalent viscous damping coefficient matrix of joint space. The coefficients of (23) are expressed as The platform moves nearby the horizontal position. As a result of this, we define the value of as when the platform is in the horizontal position. The dynamical equation matrix of the platform joint space is shown in As to build driving branches controlling dynamics model of inverse dynamics of the platform, we rewrite (23) as shown in where is viewed as dynamic coupling interference force which acts on the driving branch .

Therefore, the dynamics model of the platform is divided into two parts: the first part is standard driving branch controlling dynamical model expressed as , the other part is dynamic coupling interference model that acts on the driving branch .

Aiming at the driving branch of the platform, the torque balance equation of the motor is shown in On the basis of (26), inertia of hydraulic motor and load is denoted as , viscous damping coefficient is denoted as , external load torque which acts on the motor drive shaft is denoted as , and torque generated by hydraulic motor is denoted as .

The trajectory of the platform is nearby the horizontal position with limited amplitude and it is far away from the singular area. Therefore, the external load torque on the motor shaft is continuous and bounded. As a result of this, the dynamic coupling torque that acts on the driving branch can be seen as external disturbance torque including inertia, damping, and gravity/buoyancy torques [23].

We aim at single tension leg during the formula derivation of joint space controller design; so the subscript will be omitted below for convenience.

Take as the state variables, where is the rotor angle of motor rotor, is the velocity of motor rotor, and is the torque generated by hydraulic motor. The coefficient of is written in the form of reciprocal to make the controller design convenient. The state space description for the dynamics model of joint space obtained from formulas (17)–(28) is described as where is the system input.

#### 5. Design of Adaptive Backstepping Controller

In this paper, we mainly view the leveling control of the platform. Based on the working characteristics of the platform, the joint space based control method is chosen, so the precision of system will depend on precision of single driven joint. Besides, an improved adaptive backstepping control method is proposed based on Lyapunov’s function for the single driven joint to overcome the influence from uncertain parameters of system. In order to avoid the overrunning load condition of hydraulic system, the “lowest point fixed angle error” leveling scheme called “chase” is chosen for the leveling control of platform. This leveling scheme means that we keep the lowest point fixed and adjust the other points to make the roll angle of platform tend to zero first and then adjust the pitch angle to zero in the same way, so as to realize the leveling of platform ultimately. The control principle diagram is shown in Figure 6.

With the joint space control method, we design adaptive backstepping controller for single driven joint of the system and give adaptive law of the uncertain coefficients based on Lyapunov’s stability theory [24–28]. In the following derived process, are the real values of system state variables, are the expectation values of system state variables, and are the controller parameters.

Joint space controller design: firstly, define error as follows: Differentiate (31) as follows: So there is a Lyapunov function as follows: Differentiating (33) gives us Define error as where is the first virtual control variable. Consider Substituting (35) and (36) in (34) results in If , then . We need to do the next step of design.

Differentiating (35) gives us In order to avoid the nesting problem that the adaptive laws of and include the virtual control variable and , we add coefficient in front of and during the selecting of the Lyapunov functions and .

Select another Lyapunov function as follows: Differentiate (39) as follows: where and .

Define , and . Here , and are the estimated values of , and .

Define the error as Here is the second virtual control variable. Consider Substituting (41) and (42) in (40) results in If , then . We need to do the next step of design.

Differentiating (41) gives us Select another Lyapunov function as follows: where , .

Differentiate (45) as follows: Here and . In this paper, we mainly consider the uncertainties of total inertia of hydraulic , viscous damping coefficient , and external load torque , so and are constant.

Therefore, the output of the controller is expressed in where Substituting (47) and (48) in (46) results in So the adaptation law is chosen as

#### 6. Simulation and Experiment

Firstly, digital simulation of the hydraulic system is done to prove rationality of the model and controller; secondly, an actual hydraulic winch is taken to perform the individual experiment based on digital simulation; then, we carry out hardware-in-loop simulation for leveling control of the platform which verifies effectiveness of the proposed control method further. According to the design of underwater platform and hydraulic winch, the primary parameters of system are given as shown in Table 1. Moment of inertia of the platform in -coordinate frame (in ):

During the practical experiment of underwater platform, the parameters of the hydraulic system will change with the changing of environment slowly, especially the external load torque on the motor. Because of the special work environment of underwater platform, the variations of platform orientation, hydrodynamic force, and flow will affect the force on the platform. Hence, we consider the hydrodynamic force and interference torque as a component of external load torque on the motor. So we mainly consider the uncertainties of total inertia of hydraulic , viscous damping coefficient , and external load torque . It is assumed that they vary slowly with time as follows:

##### 6.1. Digital Simulation

In this section, we utilize MATLAB to compare effectiveness of the adaptive backstepping controller with conventional PID controller.

The parameters of the adaptive backstepping controller based on joint space control are as follows: The parameters of conventional PID controller are as follows: The simulation is done with −0.01 m position input which signifies the wire rope draw-in, and the results are shown in Figures 7 and 8.

Figure 7 shows the response of adaptive backstepping controller and Figure 8 shows the response of PID controller which has overshoot, and it is inadmissible in the leveling control of platform. It is indicated by the simulation results that compared with the conventional PID controller, the proposed controller performs better in controlling precision with external disturbance and uncertain parameters of the platform.

##### 6.2. Individual Experiment

On the basis of digital simulation, we take an actual hydraulic winch to do the position servo control experiment with 15 tons external load using the adaptive backstepping controller. The equipments of individual experiment are shown in Figure 9.

The hydraulic winch realizes closed-loop control by stroke encoder. With respect to the requirement of high control precision, we set the input values as 0.01 m or 0.1 m under the inching mode of hydraulic winch. During the experiment, we select any point on the wire rope for stroke measurement and compare the result with input and the encoder feedback value. As a result of the “lowest point fixed angle error” leveling control scheme, the precision of wire rope draw-in is the focus of this experiment. The encoder feedback values are shown in Table 2, where the negative input signifies wire rope draw-in and the positive input signifies wire rope let-out.

The results of measurement on wire rope are shown in Figures 10 and 11, where Figure 10 shows the result of wire rope draw-in at 0.01 m, and Figure 11 shows the result of wire rope draw-in at 0.1 m.

The results of individual experiment indicate that under inching mode of the hydraulic winch, the error of wire rope draw-in is within 1 mm; however, the error of wire rope let-out obviously increases because of the overrunning load condition. Furthermore, the results prove that it is reasonable to ignore the variation of wire rope deformation. As a result of this, it can meet the high precision requirement of underwater platform leveling control with the “lowest point fixed angle error” leveling control scheme and adaptive backstepping controller.

##### 6.3. Leveling Control Simulation

In this section, we carry out the leveling control simulation experiment of underwater platform using the hardware-in-loop simulation system connected with actual controller. We utilize the “lowest point fixed angle error” leveling scheme called “chase” to avoid the overrunning load condition of hydraulic winch for the platform leveling control based on the adaptive backstepping controller. The actual controller and hardware-in-loop system are shown in Figure 12.

We set the initial roll () and pitch () angles and survey the orientation of platform during the leveling control process. The results of hardware-in-loop simulation are shown in Figure 13, where Figure 13(a) shows and , Figure 13(b) shows and , Figure 13(c) shows and , and Figure 13(d) shows and .

**(a)**

**(b)**

**(c)**

**(d)**

The results of hardware-in-loop simulation indicate that the actual controller with adaptive backstepping arithmetic can effectively overcome uncertain parameters and external disturbance of hydraulic system to realize the leveling control of underwater platform based on “lowest point fixed angle error” leveling scheme. Besides, it proves the rationality of simulation model.

#### 7. Conclusion

This paper presents a new underwater platform based on tension-leg platform. We have made simulation and experiment using the proposed adaptive backstepping controller. The results of digital simulation and individual experiment indicate that we can realize high precision position servo control of the actuator. Then, we utilize hardware-in-loop simulation system to do leveling control simulation of the platform. It further proves robustness of the proposed controller with uncertain parameters and external load disturbance of system. Hence, this work paves the way for the actual leveling control of the platform.

#### Conflict of Interests

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

#### Acknowledgments

This work was supported by the National Major Project (Grant no. 0261140024) and the National Natural Science Foundation (Grant no. 51079061).