 Original Article
 Open Access
 Published:
Coordinate Control, Motion Optimization and Sea Experiment of a Fleet of PetrelII Gliders
Chinese Journal of Mechanical Engineering volume 31, Article number: 17 (2018)
Abstract
The formation of hybrid underwater gliders has advantages in sustained ocean observation with high resolution and more adaptation for complicated ocean tasks. However, the current work mostly focused on the traditional gliders and AUVs. The research on control strategy and energy consumption minimization for the hybrid gliders is necessary both in methodology and experiment. A multilayer coordinate control strategy is developed for the fleet of hybrid underwater gliders to control the gliders’ motion and formation geometry with optimized energy consumption. The inner layer integrated in the onboard controller and the outer layer integrated in the ground control center or the deck controller are designed. A coordinate control model is proposed based on multibody theory through adoption of artificial potential fields. Considering the existence of ocean flow, a hybrid motion energy consumption model is constructed and an optimization method is designed to obtain the heading angle, net buoyancy, gliding angle and the rotate speed of screw propeller to minimize the motion energy with consideration of the ocean flow. The feasibility of the coordinate control system and motion optimization method has been verified both by simulation and sea trials. Simulation results show the regularity of energy consumption with the control variables. The fleet of three PetrelII gliders developed by Tianjin University is deployed in the South China Sea. The trajectory error of each glider is less than 2.5 km, the formation shape error between each glider is less than 2 km, and the difference between actual energy consumption and the simulated energy consumption is less than 24% actual energy. The results of simulation and the sea trial prove the feasibility of the proposed coordinate control strategy and energy optimization method. In conclusion, a coordinate control system and a motion optimization method is studied, which can be used for reference in theoretical research and practical fleet operation for both the traditional gliders and hybrid gliders.
Introduction
Nowadays, deployment of autonomous mobile vehicles or platforms has become the mainstream method in ocean observation. Autonomous underwater glider [1,2,3] (AUG) is a type of autonomous underwater vehicle (AUV), which is distinguished from scientists by its unique gliding mode. AUG shows more competitiveness than other unmanned vehicles (e.g., typical AUVs [4], ROVs [5], and Mobile Buoy [6, 7]) in ocean observing and monitoring tasks due to its high endurance and low cost. On the basis of traditional AUG, the hybrid underwater glider [8,9,10,11,12] (HUG) is developed with the combination of AUG’s gliding motion and AUV’s propulsion motion, and thus has more advantages in maneuverability and adaptation under severe ocean conditions. Cooperation and coordination of multiple gliders can improve task quality both in providing more complete spatiotemporal data [13] of the object and minimizing observer error by adaptive task control strategy. Advantages of multiple gliders have been proved in several sea trails including ASAP field experiment [14], bloom tracking [15], and ocean currents mapping [16, 17], etc.
Coordinate control of the fleet both in realtime operation and theoretical research has become a hot topic as the application of the formation increases. Paley et al. [18] designed a glider coordinated control system (GCCS) which is an automated control system that performs feedback control at the level of the fleet designed for AOSN [19]. Leonard et al. [14] presented a coordinated adaptive sampling method for ASAP experiment based on GCCS. The experiment in Monterey Bay, California proved the coordinate adaptive motion control capability for ocean sampling. Das et al. [20] discussed the coordination of a AUVs’ team with communication constrains based on the leaderfollower method and the CLONAL selection algorithm is applied to plan the formation leader motion utilizing the triangular sensorbased grid coverage technique. A distributed control method [21] based on artificial potential fields (APFs) and virtual leaders was introduced for a group of underwater vehicles to coordinate motion and construct geometry. Combination of the APFs method and the Kane’s method was researched by Yang et al. [22] to achieve coordinate motion planning for MultiHUG formation in an environment with obstacles. Ren et al. [23] proposed an approach based on fuzzy concept to solve coordination problems of multiple gliders, which considers influence of the surrounding environment. Qi et al. [24] developed a practical design method for path following and coordinated control of AUVs by modeling each AUV as a system with timevarying parameters, unknown nonlinear dynamics and unknown disturbance. It is necessary to make efforts on the coordinate control of HUG formation for its superiority in operation and control, while most researches on coordinate control strategy of fleet focused on the traditional gliders and AUVs.
Energy saving, utilization and recycling are always concerned in practical engineering technology, especially in remoted mobile vehicles [25, 26]. Since the glider is required long voyage in most task, the endurance which is mainly determined by the onboard battery capacity, motion control strategy and ocean environment plays an important role in the glider operation. The questionnaire survey [27] carried out among the GROOM (Gliders for Research, Ocean Observation and Management) members shows that the battery and power failure is the second highest reason leading to the failure of glider mission. Several researches to achieve energy saving and optimal control have been reported in literature. The RapidlyExploring Random Trees (RRTs) method was utilized in the glider path planning for lower energy consumption in ocean current [28]. Yu et al. [29] developed a computational method to extend glider endurance by optimizing gliding motion parameters and sensor scheduling based on an energy consumption model. Zhou et al. [30] presented an optimal energy consumption method with adjustable speed of glider to achieve path planning. The energy consumption model and analysis focused on traditional glider form literature, the model of HUG is urge to research.
To meet the objective of coordinate motion, energy efficiency with consideration of the ocean environment, this paper develops a multilayer coordinate control strategy to control the fleet of gliders. The control strategy within each control layer is integrated in the offboard controller and onboard controller respectively. Compared with the method in GCCS, different types of APFs are constructed in the path planning model and an energy consumption model of hybrid underwater glider is established based on the concept of Refs. [29, 30] to optimize motion efficiency. The existence of ocean flow is taken into consideration in the coordinate control system.
In this research, a hybrid underwater glider (HUG), the PetrelII glider is taken as the object of study. Nonetheless, the methods might be used in the coordinate control of MultiHUG formation or MultiAUG formation with other types of underwater gliders. The paper is organized as follows. In Section 2, the specifications and the working principle of PetrelII glider are introduced as background of the research. Then in Section 3, a coordinate control system for multiHUG formation is described. Consequently, the primary sea trail is deployed in the South China Sea to test the method and experiment results are presented in Section 4, followed by conclusions in Section 5.
Background of PetrelII Glider
Structure and Main Parameters of PetrelII
PetrelII glider, shown in Figure 1, is a hybrid underwater glider (HUG) developed by Tianjin University, China [10, 11]. It expands the capability of traditional underwater glider by the combination of gliding mode and screw propeller driven mode, which is more adaptive in harsh ocean environment and more suitable for complex task. PetrelII glider has successfully completed numerous sea trials in the South China Sea and has been proved reliable for ocean observation. It has achieved high performance of 1108.4 km for nonstop sailing without any fault and 1514.2 m diving depth in the project acceptance of 863 Hightech Program. The main specifications of PetrelII are listed in Table 1.
PetrelII glider is constructed by the following main parts: the buoyancy driven part (regulating the net buoyancy to control glider’s diving or rising), attitude adjusting and battery package (adjusting the yaw, pitch and roll angles by the movement and rotation of the battery package, meanwhile supplying power for glider), electronic part (glider onboard controller for motion control, state monitoring and data obtaining), payload part (scientific sensors), GPS and communication module (wireless modem and Iridium satellite/Beidou satellite modem) and screw propeller. More details can be obtained in Refs. [11, 31].
Motion Control of Single Glider
A typical glider motion is shown in Figure 2, where the dash line represents the actual glider trajectory and the black arrow line represents the trajectory in the horizontal plane. In general, the underwater glider is always required to move along a preset trajectory or an adaptive reset local trajectory in the horizontal plane, meanwhile diving to the desired depth during the motion. A series of waypoints can be chosen along the required trajectory (horizontal plane) as a series of desired local positions. A simple PID controller [32] can be used to control the related subsystems to reach the desired motion parameters which can further control the glider to move to the waypoint by calculating the distance between the current position and the preset waypoint.
The heading angle of the glider is adjusted during the gliding to minimize the moving distance. As shown in Figure 3, the direction of dash glider represents the current attitude when the glider surfaces. The heading angle of the glider is required in the same direction with the connection between the current position and the waypoint, i.e., the direction of yellow glider in Figure 3. A PID controller [32] is also used to control the rotation of the battery package to regulate the heading angle during glider motion.
Coordinate Control System of MultiHUG
The coordinate control system introduced here can fulfill three goals: (1) to plan the optimal trajectory and meanwhile shape the formation under preset configuration with given the desired position of the task, even when obstacles exiting. (2) to control each glider to move to the desired position with optimized parameters to save energy. (3) to estimate the interference velocity of ocean current and make decision to move to the desired goal.
Overall Architecture
The coordinate of the HUG formation can be achieved by a multilayer coordinate control system as shown in Figure 4. There are totally two control layers which are under control loop with different time scales. This control system is not based on the dynamics of the glider.
The outer layer with longtime scale loop is integrated in the ground control center or the deck controller which can only work during communication when the glider surfaces. The function of outer layer is to plan the fleet trajectory and generate waypoints for each glider. The control software of PetrelII can manipulate up to 10 gliders at the same time in one computer. Since each glider has sailing error and may be influenced by the ocean environment, the trajectory is replanned every time loop for about 48/72 h by updating the current glider positions and the fresh task requirement (for adaptive glider sampling based on ocean model, the forecast period is 48/72 h [32]). The waypoints are updated to each glider by surfacing communication. On the outer control layer, gliders update working status every profile and receive new command every longtime loop.
The inner layer with short time scale loop is integrated in the onboard controller inside each glider. This layer receives the command waypoints from the outer layer and control the glider to move to the desired waypoints. Since endurance of the glider is very important for the longterm marine observation, a LEC (least energy consumption) algorithm is designed to minimize the energy cost in the glider motion. The distance between neighbor waypoints is calculated as the input of LEC and the optimal control variables are generated as the optimization output. The influence of ocean flow is considered by the controller. The glider gets its position every time it surfaces and estimates the flow velocity by comparing the position with the deadreckoned position (DK position) or that of the desired waypoint. The controller makes decision to decrease the influence of the flow by determining the heading angle of the glider and outputs the flow speed into the LEC to obtain optimal control variables. The onboard subsystem controller based on PID control will achieve the motion control under the optimal command. This control cycle loops every profile, so the inner layer is under a shorttime loop by profiles.
Fleet Trajectory Planner
Multibody System Model Based on Kane’s Equation
The goal of the trajectory planning of multiHUG is to generate optimal trajectories for each glider and meanwhile shape the whole formation under given motion conditions (initial position, motion goal and obstacle location) and desired formation configuration (formation geometry). Artificial potential fields (APFs) method is adopted in the planner for its capabilities in steering the motion along the trajectory of global minimum potential energy. The multiHUG formation is regarded as a virtual multibody system and for simplicity, the individual agent in the fleet is treated as a particle and is virtually connected with other agents in the multibody system. Motion simulation results of a threeglider fleet motion controlled by this method has been achieved in our early work (more details see Refs. [22, 33]).
Kinematics: this study assumes it as a twodimensional question since the desired trajectories of the gliders are only in horizontal plane. As an Nbody system shown in Figure 5, the gliders are regarded as particles with full actuation. B_{ k } represents the kth agent and all the bodies are fixed in the Cartesian reference frame which is denoted by the unit vector (N_{1}, N_{2}). Each body has two degrees of freedom and the system has 2 N degrees of freedom.
The position coordinates of the bodies can be chosen as the generalized coordinate, which is given by
where x_{ kn } (k = 1,…, N, n = 1, 2) represents the position coordinates of the kth body with respect to the inertial frame and n denotes the two axes of reference frame. The generalized speed can be expressed by
where \(\dot{x}_{kn}\) is the time derivative of x_{ kn }.
The partial velocity array is adopted to describe the kinematic characteristics of the multibody system, which can be obtained by
where v_{ k } is the velocity of the kth body in the inertial system, l = 1,…, 2 N represents the number of elements in the generalized coordinate, n, m = 1, 2 represent the two axes of the coordinate system, and is the velocity component of the agents.
Kinetics: The APFs are constructed for particular mission requirement, ocean environment, and formation geometry. Attractive potential field [21] between the gliders and the task target can guide the formation to the goal area. Interactive potential field [34] between gliders can shape and maintain the formation geometry by pulling together or pushing away the neighboring vehicles when they are apart from each other or toward each other by a control distance. Repulsive potential field [35] between gliders and ocean obstacles is also necessary to avoid collision in the ocean environment. The three types of APFs are expressed by the following equations:
where i, j, k are the ith, jth, kth bodies, i, j, k = 1…N, N is the total number of bodies, k_{a} is the scalar attractive control gain, k_{I} is the scaling interactive control gain, k_{r} is the scalar repulsive control gain, R_{gk} is the distance between the kth body and goal, R_{ok} is the distance between the kth body and the effective obstacle, r_{ ij } is the distance between the ith and jth bodies, d_{0} is the constant denoting the critical point between attraction and repulsion, d_{1} is the limited distance of interaction, d_{goal} is the equivalent radius of the attractive area, d_{obs} is the distance of influence by the obstacles.
The potential forces generated by APFs are the negative gradients of potential fields:
where F_{ APF } is the potential force and U is the artificial potential field. More derivation process of formulas can be obtained in Ref. [21]. Dissipative force is applied to individuals of the formation to achieve asymptotic stability at desired velocity:
where \(F_{diss}^{K}\) is the dissipative force on the kth body, k_{ diss } is the scalar control gain, v_{d} is the desired velocity of each glider.
Kane’s equation: The Kane’s equation has advantages in the construction of the dynamic equation with minimal sets of coordinates and complexity. The principle of Kane’s equation is that the sum of the generalized active force and the generalized inertia force equals to zero:
where F_{ l } is the generalized active force and \(F_{l}^{*}\) is the generalized inertia force. F_{ l } in the multiHUG formation is the sum of the generalized active force corresponding to APFs force and dissipative force:
where F_{ a l }, F_{ r l }, F_{ I l }, and F_{ dis l } is the generalized active force constructed by the attractive potential field, the repulsion potential field, the interaction potential field and the dissipative control term, expressed in Eqs. (4)‒(8), respectively. See Ref. [36] for more details about the construction of Kane’s equation.
Waypoints Generator
The waypoints are chosen to steer each glider’s motion to the trajectory planned by the method presented in Section 3.2.1. There are two principles for converting trajectory to waypoints [18]. One is to space waypoints uniformly in time and the other is to let the waypoints subject to a maximum spacing constrain. Considering the practical operation, the second method is adopted to set a maximum space between two waypoints, which is an optimization problem obtaining optimal points on the curve to minimize the distance function.
Let \(w_{ki}\) denotes the ith waypoint position of the kth body, k = 1,…, N and i = 1,…, p, p is the total number of the waypoints. The problem can be express as
where x_{ kj } is the jth calculated position on the planned trajectory of the kth body, j = 1,…, q, q is the number of the calculated position which is much larger than p, and \(d_{r}\) is the required distance between neighbor waypoints.
Optimal Onboard Control Based on LEC
Least Energy Consumption Algorithm (LEC)
Model: since the PetrelII glider is an under actuated system with the compound motion in horizontal plane, it is difficult to analyze the energy consumption of the system based on the motion dynamic model [37]. The method [29, 30, 38] that finds the relationship between the motion parameters (gliding angle, diving depth, etc.) and the energy cost of the subsystem by analyzing the glider operation principle and control flow, can simplify the complication of the question and give a practical expression. In this article, based on the main concept in the Refs. [29, 30, 38], an energy consumption model of the screw propeller driven hybrid underwater glider is established under the following assumptions:
(1) The question is assumed only in the vertical plane for the vertical motion (diving and rising) of glider cost the major power.
(2) The energy cost is considered under the steady gliding motion. It is assumed under the force balance condition with drag force D, lift force L, net buoyancy force B and screw propeller driven force P (exiting under hybrid motion condition) acted on the glider.
The force diagram of the glider under steady gliding balance is shown in Figure 6. Let the scalars D, L, B and P represent the magnitude of the force D, L, B and P, respectively. When considering the propulsion force P, the attack angle \(\alpha\) is simplified to be zero, and the balance equations of the system can be given by
where \(\alpha\) and \(\zeta\) are the attack angle and the gliding angle of the glider, respectively, and \(\varepsilon\) is the condition coefficient given by
The drag force and lift force are related to the gliding speed V and the attack angle α. The propulsion of screw propeller is related to its rotate speed n_{P}, its diameter D_{P} and the seawater density ρ. The three forces can be expressed by
where the K_{D0}, K_{ D }, K_{L0}, and K_{ L }, are the coefficients of drag force and lift force, respectively. K_{ P } is coefficient of the propulsion which can be obtained by the screw propeller atlas. The gliding speed is a function of the variables B, n_{ P } and \(\zeta\). And the motion time of the distance S between neighbor waypoints can be obtained by
The energy consumed during the glider motion can be divided into two classes [38]: the energy cost by the continuous working units (the control unit, part of sensors and screw propeller), which is related to gliding time, symbolled by E_{ t } and the energy consumed by motion driven units which is related to the number of working profiles, symbolled by E_{ n }.
where E_{ t } = P_{ t }·t, \(E_{n} = n\cdot(E_{h} + E_{m}),\) P_{ t } is the total power of the continuous working units, n is the number of the gliding profiles.
And E_{ h } is energy cost by buoyancy driven unit, which is considered as the consumption of the hydraulic system when glider dives and rises. E_{ m } is the energy cost by the attitude adjusting unit, which is considered as the consumption of the motor driving the battery movement.
where P_{ v } is the power of the magnetic valve, P_{p0} and k_{ p } are coefficients of the hydraulic pump which are related to its working depth (i.e., diving depth) d, g is the acceleration of gravity, q_{ v } and q_{ p } are the fluxes of the magnetic valve and hydraulic pump, respectively. \(\rho\) is the seawater density which is related to the temperature, pressure and salinity at the related position and depth undersea, and it is taken as a constant for simplicity in this study. P_{ m } is the power of the attitude adjusting motor, v_{ m } is the speed of the moving package and r is the movement of the package from the equilibrium position, which is determined by the pitch angle:
where pitch angle is assumed to be equal to the gliding angle for the attack angle is small. M and m are masses of glider and moving package respectively, and h is the metacentric height.
Algorithm: the total energy consumption is obtained by Eqs. (16)‒(19), from which we can analyze the relationship between the energy, the motion parameters and the control variables. The timerelated energy is determined by the required distance between neighbor waypoints S, the gliding angle \(\zeta\) and the gliding speed V which is further determined by the net buoyancy B and the rotate rate of the screw propeller n_{ P }. The profilerelated energy is determined by the gliding angle ζ, the number of profiles n, the diving depth d and the net buoyancy B. Thus, the total energy consumption function can be expressed by
Endurance is important for the glider to achieve long term ocean observation. The question is how to make the battery on the glider sustain as long as possible. A low energy cost optimization can be designed to choose the optimal variables to minimize the total energy cost based on the energy consumption function when given the required conditions S and d. Thus, the optimization problem can be expressed by
where B_{o}, \(\zeta_{{_{o} }}\) and n_{Po} are the optimal variables, B_{min} and B_{max} represent the ability of the net buoyancy determined by the design volume of oil tank, and \(\zeta_{\min}\), and \(\zeta_{\max}\) are the minimum value and maximum value of the gliding angle which is determined by the intersection of the design attitude adjusting range and the stable gliding condition. n_{Pmin} and n_{Pmax} are the rotate speed extreme values of normally glider operation. \(\left\lceil \bullet \right\rceil\) is to round up the value to make sure that the glider can arrive at the desired surfacing position.
As the problem described by Eq. (21) is complicated nonlinear question, it is difficult to obtain the optimal control variables by analytic method. An iterative optimization algorithm can solve the problem, which is designed as follows:
Flow Estimate and Motion Correction
The existence of ocean flow (ocean current) always influences the trajectory of the glider since the speed of the glider in horizontal plane is generally less than 0.4 m/s which has the same magnitude with the speed of the flow. A control scenario is designed to control the glider motion with the existence of ocean flow, shown in Figure 7.
The controller first estimates the velocity of ocean flow by the actual position and the desired position during every time the glider surfaces. Then the controller makes decision to determine the heading angle of the next motion and outputs the estimated speed into the LEC module. The optimal control variables can be obtained with the existence of ocean flow.
Flow estimate: The actual and the desired horizontal positions of glider at current surfacing time t are denoted by r(t) and r′(t), respectively. The average flow velocity of the last profile can be estimated by
where \(\Delta t\) is the motion period of the last profile and the surfacing time is assumed to be contained in the period. Compared with the ocean model based forecast, this method is much easier and does not need larger amount of precise sensor data. It is suitable to integrate into the onboard control system.
Heading angle determination: In order to keep the glider moving to the next waypoint, the direction of the resultant velocity of the desired glider velocity and the flow velocity should be on the connection of the current position and the next waypoint. When the glider is capable to move along the desired direction, the heading angle should be set same with the angle of the desired glider velocity. Otherwise, when the ocean flow is too strong for the glider to move on the resultant velocity direction, the heading angle should be set opposite to that of the ocean flow velocity. The criteria that tests whether the glider can move along desired direction is presented in Ref. [39].
LEC with ocean flow: Since ocean flow influences the speed of the glider, the motion time in the energy consumption model is changed by flow speed. The glider velocity relative to ground is the vector sum of the flow velocity and the water–referenced velocity [29].
The motion time of the distance S between neighbor waypoints can be obtained by
Simulation and Primary Sea Experiment
In order to verify the availability of the coordinate control algorithm, an actual deployment of three PetrelII gliders has been carried out in the South China Sea. In this section, a simulation test of optimal control base on LEC (see Section 3.3.1) is also presented to show the necessity of the method.
Simulation Test of Optimal Control Based on LEC
The PetrelII glider is taken as the simulation object. The energy consumption model expressed by Eqs. (16)‒(19) is programmed in MATLAB to implement the simulation. The hydrodynamic coefficients and the subsystem parameters of PetrelII involving in the model are listed in Table 2. For simplicity, the depth density value of 1000 m is taken as a constant seawater density, which is obtained by fitting the experiments data [40] of PetrelII deployed in the South China Sea.
The distance between neighbor waypoints is set to be 6 km in the simulation. Figure 8 shows the regularity of the energy consumption with the net buoyancy B, diving depth d and the number of profiles n. The energy cost increases along with the increase of the diving depth as shown in Figure 8. The energy cost by oneprofile gliding is lower than twoprofile gliding, and the oneprofile energy cost increases faster than the twoprofiles energy cost with the increase of the diving depth, which illustrates that the number of the profiles should be less in the practical glider operation. And the energy cost decreases to a minimum value then increases along with the increase of the net buoyancy. This implies that the LEC method is necessary to obtain an optimal net buoyancy which minimize the energy consumption.
There are maximally five profiles calculated by the LEC constrained by the gliding angle range by setting the desired diving depth to 1000 m and the waypoints distance to 6 km. The results are shown in Figure 9, and the comparison of five different numbers of gliding profiles shows the optimal net buoyancy locating on the curve of oneprofile gliding.
Figure 10 shows the energy consumed without and with the existence of the ocean flow by setting the distance to 6 km and the diving depth 1000 m under oneprofile gliding, respectively. The blue solid line represents the regulation without ocean flow and the blue dash line represents the result with a flow at speed of 0.1 m/s. It shows that the optimal net buoyancy value and the energy value get bigger when ocean flow exists. The value of the optimal net buoyancy and minimum energy can be obtained by the Algorithm 1. The optimal net buoyancy is 4.0 N and 5.4 N respectively. And the corresponding minimum energy is 6.5440 × 10^{4} J and 7.6193 × 10^{4} J. This illustrates that it costs more for glider to move to the desired waypoint when ocean flow existing and it also implies that the high net buoyancy regulating ability is important in the glider system designed to operate under ocean flow.
Figure 11 shows the energy consumption under the hybrid motion mode with the same motion conditions of S and d. The result shows that oneprofile motion costs more energy than twoprofile motion. The regulation is influenced by the existence of the propeller propulsion compared with Figures 8‒10. The energy cost by hybrid motion is much larger than in the unmixed gliding, which illustrates that the major energy is consumed by the motor of screw propeller and in order to ensure long term task, the hybrid mode should be applied only when fast motion is necessary. Based on LEC, the optimal rotate speed is 1000 r/min, the optimal net buoyancy is 7 N and the minimum energy is 3.2877 × 10^{5} J .
Actual Deployment in the South China Sea
A fleet of three Petrel gliders, referred to as EG03, EG04 and EG05, was deployed in the South China Sea in September 2014. The goal of the experiment was to test the coordinate control algorithms delivered in Section 3.
Figure 12 shows the mission area where the three gliders move as a triangle to two targets in order. The yellow dash line around targets is the effective area with a radius of 5 km. The two target positions of EG03, as a leader of the fleet, are:
The start position of EG03, EG04 and EG05 are:
The geometry of the formation is constrained by the interactive distance between EG03 and EG04, EG03 and EG05, EG04 and EG05 which are 10 km, 7 km and 10 km, respectively.
The trajectories of the gliders were generated by the fleet trajectory planner which shaped the desire formation geometry and achieved the sailing goals. Generally, the trajectories are renewed every two or three days by updating current position of the glider, the environment information and current task arrangement. As this experiment was a shortterm test for only three days, the trajectories were calculated once when the task began. The planned trajectories are shown in Figure 13, in which the coordinates of the gliders are converted to the earth coordinates from the latitude–longitude coordinates. The glider was commanded to dive to average depth of 800 m every profile. The waypoints of the leader glider EG03 were chosen by the waypoints generator by giving the desired distance d equal to 3 km with a truncation error of 0.3 km. The waypoints of EG04 and EG05 were set by the position related to the corresponding moment of every EG03 waypoint. The waypoints near the two desire positions were alternated by the latter. The small red cycle, red * and red × in Figure 13 represent the planned waypoints of EG03, EG04 and EG05, respectively.
The total number of profiles, the net buoyancy of every profile and the heading angle after every surfacing was determined by the onboard controller considering the energy consumption and the ocean flow environment. In this case, each glider was desired to run 15 profiles during the mission. Specifically, an addition profile before the desired motion is necessary to test the status of each components onboard and calibrate the control coefficients referenced by the sea environment, which is always set to dive less than 100 m. The actual fleet trajectory is shown in Figure 14. Compared with the planned trajectory shown in Figure 13, the actual fleet trajectory keeps the path shape and formation geometry basically. The surface locations of each glider float around the preset waypoints. The position errors are mainly caused by the uncertainties of ocean environment, the errors of the flow estimation, the errors of the GPS location, the latencies of communication and the errors of control system.
Figure 15 records the moving process of each glider in vertical plane. The diving depth of each glider is detected by the onboard pressure sensor. The total number of diving profiles is 16 with an additional test profile at the depth of 50 m. And the depth of other profiles is mainly 800 m with an error range of [− 10, 10] m. The average net buoyancy of each profile is calculated by the records of the residual oil volume in the inner ballast, as shown in Figure 16, which is larger than the optimal value shown in Figures 9, 10. This is caused by the existence of ocean flow and the errors of the onboard control system. The actual control heading angle is shown in Figure 17. The sharp changes of the heading angle happened in the inflection points of the trajectory and the area that the flow speed might be higher than the throughwater speed of the glider.
The minimum energy consumption of each profile was calculated by choosing optimal control variables before each diving. The actual energy consumption was obtained by the realtime onboard records of the battery voltage and current. Figure 18 gives a comparison between the simulation results and actual energy consumption. In Figures 18(a)‒(c), the yellow bar and blue bar represent the actual profile energy cost E_{a} and the simulated energy cost E_{s}. The average simulated energy cost of EG03, EG04 and EG05 is 6.6852 × 10^{4} J, 6.6880 × 10^{4} J and 6.6862 × 10^{4} J. The corresponding actual energy consumption of each glider is 8.6718 × 10^{4} J, 8.6716 × 10^{4} J and 8.6525 × 10^{4} J.
Figures 18(d)‒(f) shows the percentage difference between the two quantities, which is in the range of [22%, 24%] basically. The difference in Figure 18 is mainly caused by the limitation of calculation model which considered only vertical motion consumption and the errors of onboard control.
Trajectory error of each glider and the distance between gliders are adopted to evaluate the performance of the fleet controlled by the method presented in this paper. The results are shown in Figures 19, 20. The trajectory error of each profile is defined by the distance between the desired position and the actual surfacing position. The maximum error of each glider is 2.41 km, 1.3 km, 1.9 km respectively, as shown in Figure 19. The distance between gliders at each surfacing can help to evaluate the geometry maintaining performance of the formation. As shown in Figure 20, the distance fluctuates around the desired distance with a floating range of less than 2 km. The results prove that the fleet can basically move along the desire trajectory and keep the desired formation shape during the sea experiment. The higher trajectory error might be caused by the low estimate precision of the ocean flow, low control accuracy and uncertainty error. This implies that the regional ocean model which can forecast the ocean environment might be necessary in the coordinate control of multiHUG formation.
Conclusions

(1)
A multilayer coordinate control strategy is proposed to achieve the coordinate control, motion optimization of Multi–HUG formation.

(2)
An energy consumption model is constructed for HUGs with the consideration of hybrid motion. The Least Energy Consumption (LEC) algorithm is proposed to minimize the motion energy cost with consideration of ocean flow existence.

(3)
The regularities of HUG energy consumption with motion variables is studied by simulation. The results show that the number of profiles is better to be less to extant endurance and the energy consumption under ocean flow is larger than the situation without flow existence, which need larger net buoyancy. It also suggests the propeller costs much more energy than other components under hybrid motion which need the largest net buoyancy to save energy.

(4)
A primary sea experiment of three PetrelII gliders is achieved in the South China Sea. The actual fleet trajectory is similar with the planned path and the formation geometry fits the shape request. The trajectory error is less than 2.5 km and the formation shape error is less than 2 km which meet the preset task request. The results verify the feasibility of the multilayer control strategy and the effect of LEC algorithm.

(5)
The modeled energy consumption is about 76%‒78% of the actual energy consumption of each glider. This implies the model can basically describe the energy cost of HUG. The future work could be drawn in more precise model considering threedimensional motion.
References
 1.
C C Eriksen, T J Osse, R D Light, et al. Seaglider: a longrange autonomous underwater vehicle for oceanographic research. IEEE Journal of Oceanic Engineering, 2001, 26(4): 424–436.
 2.
D C Webb, P J Simonetti, C P Jones. SLOCUM: an underwater glider propelled by environmental energy. IEEE Journal of Oceanic Engineering, 2001, 26(4): 447–452.
 3.
J Sherman, R E Davis, W B Owens, et al. The autonomous underwater glider “Spray”. IEEE Journal of Oceanic Engineering, 2001, 26(4): 437–446.
 4.
G Marani, S K Choi, J Yuh. Underwater autonomous manipulation for intervention missions AUVs. Ocean Engineering, 2009, 36(1): 15–23.
 5.
D L Orange, J Yun, N Maher, et al. Tracking California seafloor seeps with bathymetry, backscatter and ROVs. Continental Shelf Research, 2002, 22(16): 2273–2290.
 6.
Z J Yu, Z Q Zheng, X G Yang, et al. Dynamic analysis of propulsion mechanism directly driven by wave energy for marine mobile buoy. Chinese Journal of Mechanical Engineering, 2016, 29(4): 710–715.
 7.
X Q Zhu, W S Yoo. Numerical modeling of a spherical buoy moored by a cable in three dimensions. Chinese Journal of Mechanical Engineering, 2016, 29(3): 588–597.
 8.
B Claus, R Bachmayer, C D Williams. Development of an auxiliary propulsion module for an autonomous underwater glider. Journal of Engineering for the Maritime Environment, 2010, 224(4): 255–266.
 9.
A Alvarez, A Caffaz, A Caiti, et al. Folaga: a lowcost autonomous underwater vehicle combining glider and AUV capabilities. Ocean Engineering, 2009, 36(1): 24–38.
 10.
F Liu, Y H Wang, S X Wang. Development of the hybrid underwater glider PetrelII. Sea Technology, 2014, 55(4): 51–54.
 11.
S X Wang, F Liu, S Shao, et al. Dynamic modeling of hybrid underwater glider based on the theory of differential geometry and sea trails. Journal of Mechanical Engineering, 2014, 50(2): 19–27. (in Chinese).
 12.
Z E Chen, J C Yu, A Q Zhang, et al. Design and analysis of folding propulsion mechanism for hybriddriven underwater gliders. Ocean Engineering, 2016, 119: 125–134.
 13.
M P Stephanie. Autonomous & adaptive oceanographic feature tracking on board autonomous underwater vehicles. American: MIT and WHOI Doctor, 2015.
 14.
N E Leonard, D A Paley, R E Davis, et al. Coordinated control of an underwater glider fleet in an adaptive ocean sampling field experiment in Monterey bay. Journal of Field Robotics, 2010, 27(6): 718–740.
 15.
J Zhao, C M Hu, J M Lenes, et al. Threedimensional structure of a Karenia brevis bloom: observations from gliders, satellites, and field measurements. Harmful Algae, 2013, 29(4): 22–30.
 16.
A Alvarez, J Chiggiato, K Schroeder. Mapping subsurface geostrophic currents from altimetry and a fleet of gliders. DeepSea Research Part IOceanographic Research Papers, 2013, 74: 115–129.
 17.
X L Liang, W C Wu, D S Chang, et al. Realtime modelling of tidal current for navigating underwater glider sensing networks. 3rd International Conference on Ambient Systems, Networks and Technologies/9th International Conference on Mobile Web Information Systems. Niagara Falls, CANADA, August 27–29, 2012. Procedia Computer Science, 2012, 10: 1121–1126.
 18.
D A Paley, F M Zhang, N E Leonard. Cooperative control for ocean sampling: the glider coordinated control system. IEEE Transactions on Control Systems Technology, 2008, 16(4): 735–744.
 19.
T B Curtin, J G Bellingham, J Catipovic, et al. Autonomous oceanographic sampling networks. Oceanography, 1993, 6(3): 86–94.
 20.
B Das, B Subudhi, B B Pati. Cooperative control coordination of a team of underwater vehicles with communication constraints. Transactions of the Institute of Measurement and Control, 2016, 38(4): 463–481.
 21.
N E Leonard, E Fiorelli. Virtual leader, artificial potentials and coordinated control of groups. 40th IEEE Conference on Decision and Control Location, Orlando, Florida, December 0407, 2001. IEEE Conference on Decision and Control–Proceedings, 2001: 2968–2974.
 22.
Y Yang, S X Wang, Z L Wu, et al. Motion planning for multihug formation in an environment with obstacles. Ocean Engineering, 2011, 38(17–18): 2262–2269.
 23.
S X Ren, Y Zhang, C Z Chen. Negotiation of the multiunderwater glider system. First international conference on innovative computing, information and control, Beijing, China, August 30–September 01, 2006. ICICIC 2006, 2006, 2: 138–141.
 24.
X Qi, L J Zhang, J M Zhao. Adaptive path following and coordinated control of autonomous underwater vehicles. Proceedings of the 33rd Chinese Control Conference, Nanjing, China, July 28–30, 2014. USA: Piscataway, NJ, IEEE, 2014: 2127–2132.
 25.
D B Tang, M Dai. Energyefficient approach to minimizing the energy consumption in an extended jobshop scheduling problem. Chinese Journal of Mechanical Engineering, 2015, 28(5): 1048–1055.
 26.
Z S Ma, Y H Wang, S X Wang, et al. Ocean thermal energy harvesting with phase change material for underwater glider. Applied Energy, 2016, 178: 557–566.
 27.
M Brito, D Smeed. Underwater glider reliability and implications for survey design. Journal of Atmospheric and Oceanic Technology, 2014, 31(12): 2858–2870.
 28.
D Rao, S B Williams. Largescale path planning for underwater gliders in ocean current. Australasian Conference on Robotics and Automation(ACRA), Sydney, Australia, December 2–4, 2009. Australia: Australian Robotics and Automation Association Inc., 2009: 1–8.
 29.
J C Yu, F M Zhang, A Q Zhang, et al. Motion parameter optimization and sensor scheduling for the seawing underwater glider. IEEE Journal of Oceanic Engineering, 2013, 38(2): 243–254.
 30.
Y J Zhou, J C Yu, X H Wang. Path planning method of underwater glider based on energy consumption model in current environment. Intelligent Robotics and Applications. 7th International Conference, Guangzhou, China, December 17–20, 2014. Switzerland: Springer International Publishing, 2014: 142–152.
 31.
F Liu. System design and motion behavior analysis of the hybrid underwater glider. Tianjin: Tianjin University, 2014. (in Chinese).
 32.
J D Han, Z Q Zhu, Z Y Jiang, et al. Simple PID parameter turning method based on outputs of the closed loop system. Chinese Journal of Mechanical Engineering, 2016, 29(3): 465–474.
 33.
B Mourre, A Alvarez. Benefit assessment of glider adaptive sampling in Ligurian Sea. DeepSea Research Part IOceanographic Research Papers, 2012, 68(5): 68–78.
 34.
P Bhatta, E Fiorelli, F Lekien, et al. Coordination of an underwater glider fleet for adaptive ocean sampling. Proceedings IARP International Workshop on Underwater Robotics, Genova, Italy, 2005: 61–69.
 35.
S S Ge, Y J Cui. Dynamic motion planning for mobile robots using potential field method. Autonomous Robots, 2002, 13(3): 207–222.
 36.
D Y Xue, Z L Wu, S X Wang. Dynamical analysis of autonomous underwater glider formation with environmental uncertainties. IUTAM Symposium on Dynamical Analysis of Multibody Systems with Design Uncertainties, Stuttgart, GERMANY, June 10–13, 2014. Netherlands: Elsevier B.V., 2015, 13: 108–117.
 37.
S X Wang, X J Sun, Y H Wang, et al. Dynamic modeling and motion simulation for a winged hybriddriven underwater glider. China Ocean Engineering, 2011, 25(1): 97–112.
 38.
X K Zhu. Methods research of underwater gliders for ocean sampling. Shenyang: Chinese Academy of Sciences, 2011. (in Chinese).
 39.
D Chang, F M Zhang, C R Edwards. Realtime guidance of underwater gliders assisted by predictive ocean models. Journal of Atmospheric and Oceanic Technology, 2015, 32(2): 562–578.
 40.
S Z Feng, F Q Li, S J Li. An introduction to marine science. Beijing: Higher Education Press, 1999. (in Chinese).
Authors’ contributions
DYX carried out the dynamic modeling studies, and drafted the manuscript. ZLW carried out the control system design. YHW carried out the sea trials of the Petrel underwater gliders, participated in the analyzing of the test data and the design of the Petrel underwater glider. SXW carried out the design of the Petrel underwater glider, participated in the analyzing of the test data. All authors read and approved the final manuscript.
Authors' Information
DongYang Xue, born in 1987, is currently a PhD candidate at School of Mechanical Engineering, Tianjin University, China. She received her master degree from Northeastern University, China, in 2011. She received her bachelor degree from Northeastern University, China, in 2009. Her research interests include autonomous underwater vehicle and multiple agents control.
ZhiLiang Wu is currently an associate professor at School of Mechanical Engineering, Tianjin University, China. Her research interests focus on coordination of mobile autonomous agents.
YanHui Wang born in 1979, received his bachelor, master and PhD degrees on mechanical engineering from Tianjin University, China, where he is currently a professor at School of Mechanical Engineering. He has been involved in the research of various underwater vehicles.
ShuXin Wang born in 1966, received his bachelor degree on mechanical engineering from Hebei University of Technology, China, in 1987 and master and PhD degrees on mechanical engineering from Tianjin University, China. He is currently a professor at Tianjin University, China and has been active in various aspects of the research and design of ocean vehicles since 2000.
Acknowledgements
Supported by National Key R&D Plan of China (Grant No. 2016YFC0301100), National Natural Science Foundation of China (Grant Nos. 51475319, 51575736, 41527901), and Aoshan Talents Program of Qingdao National Laboratory for Marine Science and Technology, China.
Competing interests
The authors declare that they have no competing interests.
Ethics approval and consent to participate
Not applicable.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Author information
Affiliations
Corresponding author
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Xue, D., Wu, Z., Wang, Y. et al. Coordinate Control, Motion Optimization and Sea Experiment of a Fleet of PetrelII Gliders. Chin. J. Mech. Eng. 31, 17 (2018). https://doi.org/10.1186/s1003301802100
Received:
Accepted:
Published:
Keywords
 Underwater glider
 PetrelII
 Coordinate control
 Path planning
 Artificial potential fields (APFs)
 Energy consumption