Abstract

There is currently a growing interest in developing devices that can be used to exploit energy from oceans. In the recent past, the search for oil and gas at ever-greater depths has led to the evolution of devices with which these resources are extracted. These devices range from those that simply rest on the seabed to those that are fully floating and anchored to it. This trend can be considered as the basis needed to understand the future evolution of devices for harnessing depth renewable resources. This paper presents a simple dynamic modeling and a nonlinear multivariable control model-based system for a new three-degree-of-freedom underwater generator with which energy from depth marine currents is harnessed when reference trajectory tracking for the emersion maneuvers needed to carry out maintenance tasks is performed. The goodness of both the model and the proposed controller has been demonstrated through the development of various simulations in the MATLAB-Simulink environment. Additionally, the validation of the control algorithms was carried out by using the dynamic model offered by the simulation environment Orcina OrcaFlex (software for the dynamic analysis for offshore marine systems) through the MATLAB-OrcaFlex interface.

1. Introduction

The growing interest in the exploitation of marine renewable energies began several years ago, and various devices with which to harness energy from seas have therefore been conceived or developed (see [13]), their main natural energy sources being wind, waves, and marine currents.

One of the most promising sources of marine energy is the exploitation of tidal or oceanic water flows [47], and the industry’s effort is currently focused on the so-called first generation devices [8] (fixed to the sea bottom and suitable for sites with depths below 40 m). But there are an increasing number of second-generation devices that have been conceived to be moored to the sea bottom with an expected similar trend to that which has taken place during the development of oil and gas platforms that must access resources at increasingly greater depths [9].

This evolution has led these devices to evolve from being anchored to the seabed to being located in a floating location, and the most appropriate ways and means to perform maintenance tasks have therefore also had to evolve these kinds of devices [1015].

The successful installation of these kinds of devices for harnessing energy from depth currents can only take place once it has been proved that they are both technically and economically feasible in comparison to other traditional energy sources. One well known way in which to reduce costs is by successively automating more tasks, thus signifying less human intervention or the possibility of using the cheapest general purpose ships rather than high cost special vessels for maintenance purposes. In [16] are studied the automatic maneuvering emersion and immersion of one of these devices.

Nowadays there exist different devices with the following main alternatives for performing maintenance tasks:(i)There is the use of a servo actuated crabbing based system to move the main generation unit from the support structure. See different devices from [17, 18].(ii)There is the use of elevation and placement by means of floating cranes. See [1923].(iii)There is the use of a ballast management system to generate vertical forces, thus enabling the device’s emersion and immersion movements to be controlled. See [2426].A new family of generators is briefly presented in this work. They use a mooring system based on buoys and wires that allow the device to be located at the desired position on the seabed and positioned at any desired depth of the layer with almost no human resources. By simply disconnecting stern wire that joins the generator to the seabed and a proper management of the ballast water that is strategically located inside the generator, it is possible to perform closed loop emersion and immersion maneuvers with three degrees of freedom (DoFs), two orientation angles and a depth control, in such a way that the process of moving from a submerged and vertically disposed state to a floating and horizontally disposed one and vice versa can be carried out fully automatically without any kind of human intervention.

This paper presents a new dynamic model for this new family of second-generation tidal energy converters [8, 27, 28] for simulation and control design purposes [29, 30]. The proposed model is very simple, fully parameterized, and easily scalable with minimum computer effort. Very simple models have already been used to control complex devices with a good performance and good correspondence among simulated and experimental signals. For example, in [31], a simple model based on only one lumped mass and a special kinematic uncoupling design was used to model a three-degree-of-freedom flexible arm with complex nonlinear and time variant dynamics. This simplified dynamic model was employed as a basis for various controllers, which were used to control this robot with excellent results [32]. Another different system, in this case, a stair-climbing mobility system, was also modeled with only one lumped mass [33] and this simple dynamic model has been used as the basis for various control systems (see, a.e., [34]).

In a similar manner to that shown above, the dynamic model proposed in this paper is based on the computation of the values of only four lumped masses, which are handled solely by buoying forces applied to three star-shaped distributed equilateral torpedoes on the pod (nacelle) of the generator. The model developed exhibits time-varying, nonlinear, and strongly coupled behavior. It was, meanwhile, necessary to design the control law based on the dynamic model developed in such a way that it would have a successful closed loop behavior when the underwater three-DoF tidal energy converter performs emersion and immersion maneuvers with only passive buoyancy forces. In this work, the proposed control system is characterized by its simplicity, computational efficiency, and easy implementation in a microprocessor-/microcontroller-based system. The proposed control law is composed of the following two main terms: (i) a matrix that is responsible for decoupling the open loop dynamics from one degree of freedom with regard to the others and (ii) a feedback controller based on centrifugal and Coriolis force cancellation and a simple multivariable and diagonal PD controller.

The paper is organized as follows: after providing a brief description of the proposed family of generators in Section 2, Section 3 shows how the derivation of the proposed dynamic model of the submerged device was derived when performing coupled three-degree-of-freedom motions. Section 4 proposes the solution adopted to control the system. Section 5 presents the numerical simulations obtained to validate the proposed dynamic model and the proposed control algorithm. In particular, different smooth robotic-based trajectories were used to perform uncoupled simultaneous multiple degree-of-freedom motions. Finally, Section 6 is devoted to the conclusions of the paper, along with proposals for immediate future works.

2. System Description

A brief description of the proposed family of generators is now presented (see [27], a.e.). These generators were conceived to extract energy from marine currents and to fulfill the following four main features: (i) being valid for operation at depths greater than 40 m, (ii) minimum installation support structure and civil works, (iii) being floating and easily transportable device, and (iv) being fully automated for emersion and immersion maneuvers.

Figure 1 shows the general view of one of the proposed devices. It is composed of a three-fixed pitch blade propeller and a central pod (gondola), and the shaft of the propeller is coupled to an electrical generator by means of a multiplier gearbox. Three main radial and symmetrically distributed columns start at the pod and end at three torpedoes of an approximately cylindrical shape. These torpedoes contain the inner ballast system used to apply hydrostatic forces to the generator. Another of the principal missions of these torpedoes, which are aligned to the direction of the current, is to minimize rotations around the main axis of the whole generator by using hydrodynamic force compensation when it is extracting energy and the propeller reaction causes heeling torques. Three structural bars starting at the torpedoes and ending in front of the propeller have been added for mooring purposes.

The main features of two of the conceived generators are briefly presented in Table 1.

Various anchoring or mooring systems can be used to place the generator in the sea at the desired position. Figure 2 shows a simple mooring system based on wires and buoys that allows the device to be positioned at the desired depth. By simply providing the generator with positive floatability, the wires become under strain and the device can be moored in both the desired position and depth and is ready to harness energy.

When employing the emersion maneuver procedure, the device has to evolve from its vertical and submerged operating position and orientation (usually denominated as posture or attitude) to its maintenance and transportation position and orientation (floating horizontally) (see Figure 3). This movement is achieved in three basic sequential steps: (1) by providing the device with zero buoyancy rather than positive buoyancy; (2) by releasing the stern wire; and (3) by managing the water in the ballast tanks.

3. Dynamic Model

Obtaining a dynamic model of the device shown previously under three DoFs in order to perform submerged motions is an important step for the simulation and design control algorithms needed to perform an emersion maneuver in a fully automatic closed loop mode. The proposed model is based on the following assumptions (see Figure 4 for details):(i)Only four lumped masses are considered.(ii)Added masses are constant, well known, and those which are lumped are also considered.(iii)Vertical translation (one DoF) dynamics and rotation (two DoFs) dynamics are fully uncoupled.(iv)Viscous friction is modeled as being constant and fully uncoupled.(v)The device free-surface interaction (considered semisubmergible) is not considered in this paper.(vi)The influences of residual flow of water, waves, or wind effects are considered as external perturbations in the model.A fixed reference frame is defined as an orthogonal reference frame whose -axis is vertical. Zero depth () is computed at the level of the sea (free surface) and the vertical plane (, ) always contains the center of the generator. Only the depth of the center of the generator is related to this reference frame, and components and of the generator with regard to are not considered. The other two degrees of freedom (only rotations around axes and are possible) are defined with regard to the other intermediate reference frame, , whose origin is at the center gravity of the generator and whose plane (, ) is placed on an absolutely horizontal plane (parallel to the sea surface). If the generator is positioned with null orientation (, ), the -axis remains perpendicular to the plane of the generator and the -axis is placed vertically and forms a symmetry axis that is aligned with the mass denoted as .

If we consider now the actuators, which are responsible for creating the buoyancy forces, they are ideally located at the same positions at which each of these lumped masses is considered to be placed. These actuators will produce vertical component forces only that are obtained as differences between buoyancy forces (really produced by actuators) and forces due to gravity. Each of these masses (denoted and numbered with subindex ) is formed of both real mass and added mass and iswhere is the volume fraction of the generator corresponding to the th-mass. Under static equilibrium conditions , no forces are produced and the generator will remain in its previous state without any kind of motion. In the opposite sense, if motion of the generator is desired, each actuator will produce an incremental force that has to be computed as an increase in either mass or volume (with the opposite sign). For the sake of clarity, volume increments are considered to be responsible for creating buoyancy forces. ConsiderThe force vector applied to the generator with regard to the fixed reference frame (also with regard to ) can be expressed in a matrix form as the sum of all the vertical forces produced by actuators:

3.1. Forces and Torques Involved

Let us consider a local frame placed at the center of the central cylinder of the generator at which its center of gravity is located. This frame is defined as follows: the -axis is perpendicular to the plane of the generator, the -axis is located in the opposite direction to the lower mass (see Figure 4), and the -axis is located at the plane of the generator and forms a right-hand frame. The central mass is then located at the following local position:while the three resting lumped masses are located at the center of gravity of each of the three torpedoes with local coordinates (for the sake of simplicity, notations and are used):According to the definition of the second frame, , the relation of the orientation of both the and frames can easily be obtained by computing the rotation matrix that relates the local generator orientation with regard to the reference system. This rotation is the result of composing the next two elementary rotations with regard to the next axes (first horizontal -axis and then horizontal -axis basic rotations):The positions of the three lumped masses with regard to can therefore be written asMoreover, the application of each of the forces caused by actuators (see forces , , and in Figure 4) to their respective centers of gravity on each torpedo leads to a torque vector (with regard to ), which is defined and obtained as follows:And, by substituting (9) in (10), one obtainsAs expected, from (11), it is proven that it is impossible to cause changes in the horizontal direction (rotations about -axis or -axis) with only vertical forces.

3.2. Force Conversion

In this subsection, a matrix relation between the forces applied to the generator and a new generalized force vector is proposed. This relation makes it possible to decouple the motions of the generator in the sense that different sets of forces can be applied which then produce independent motions for each of the three degrees of freedom of the generator.

By rearranging (4) and (11), the following relation is easily obtained:By substituting and for their respective values and rearranging (12), the following is attained:Or in a compact form,where denotes the buoyancy forces provided by all the actuators, denotes the proposed vector of generalized forces, and denotes the matrix that relates to , which depends on and according to (13) and (14).

In (14), vector is conceived as the uncoupled generalized forces vector applied to the center of the generator, so the first component will produce a torque that is aligned to the -axis and the second component will produce a torque that is aligned to the -axis while the third component will produce a force that is aligned to the -axis.

3.3. Dynamic Submodel for Only Vertical Movement

The dynamics of an underwater body that is considered to be a rigid body when it performs vertical motions is well known (see [3537], a.e.). As was seen in the previous section, depth is the only variable of position that can be controlled. Using the same notation given in the previous subsection and under hypothesis shown above, the next dynamic model is proposed for only vertical motions (the effects resulting from free-surface interaction are not computed):where denotes the total mass of the generator and is decomposed into the mass of the central cylinder and the three masses of each torpedo. For the sake of simplicity, the term denotes the total added mass resulting from the motion in a viscous fluid (see [38]) which is considered to be constant and well known. A quadratic and speed opposite friction term is computed as , where is also considered to be constant.

3.4. Dynamic Submodel for Only Rotation Movements

In this subsection, the Lagrange formulation allows us to obtain the equations of motion for the generator provided with only rotation movements. The two rotation angles and around their respective -axis and -axis are taken as generalized rotation coordinates for rotation purposes solely. For the compotation of the Lagrange function, the kinetic and potential energies are computed beforehand.

3.4.1. Local Inertia Matrix

The inertia matrix in local coordinates is obtained from the lumped mass distribution employed. Because the general rotation motion is of dimension 3, the inertia matrix results are of dimensions :which satisfies that it is a symmetrical and positive definite matrix. This implies that eig, , , and . In our case, the inertia matrix incorporates the effects of the added masses and takes the form (details of how the coefficients in this inertia matrix were obtained can be found in Appendix A):As in the case shown above, each of the masses considered is computed as the sum of its real mass fraction and its added mass, as seen in (1). It will be observed that if , the generator becomes fully statically and dynamically equilibrated with all of its null value inertia products ().

3.4.2. Computation of the Rotation Kinetic Energy

The kinetic energy of the generator when only rotations over first the -axis and then the -axis are considered is given bywith , , and being the absolute rotational velocities of the generator with respect to .

By substituting (8) and (17), one obtains

3.4.3. Computation of the Rotation Potential Energy

In order to control the generator, it is necessary to obtain operation conditions that force the generator to be at an equilibrium point. Neutral buoyancy is therefore required (), and the total potential energy thus has a zero value under this condition

3.4.4. Lagrange Formulation

The kinetic and the potential energy computed previously are used, and the Lagrange function of the generator with only rotation motions with regard to the -axis and -axis isLagrange’s equations are then expressed bywhere is the sum of external torques, which are the control torques and the friction terms that have been modeled as a function with . The following expression is obtained (see the coefficients of and in Appendix B): in which denotes the generalized rotation coordinates, with regard to frame, are the inertia terms which are dependent, positive definite, and symmetrical, and includes both the centrifugal and Coriolis effects. A term allows the friction terms to be modeled in a similar way to that occurring in (15).

3.5. Proposed Dynamic Model

The complete proposed dynamic model can be obtained by joining (13), (15), and (23) and expressed in a compact form aswhere the complete vector of generalized coordinates isand matrices , , and areFigure 5 depicts the proposed dynamic model, along with the two submodels presented above. The set of input signals are the buoyancy forces produced by actuators while the output measurable signals are the two-degree-of-freedom orientation angles together with the generator depth denoted previously as a vector of the generalized coordinates .

4. Uncoupled Multivariable PD Control

The three-degree-of-freedom model proposed clearly exhibits a nonlinear, time variant, and multivariable uncoupled behavior. A new and simple control scheme based on the following three stages is proposed: (i) an uncoupled term that allows the generalized control torques to be converted into forces applied to each of the torpedoes (by means of actuators), (ii) a nonlinear uncoupling model-based term that ideally cancels out the nonlinearities of the system caused by centrifugal and Coriolis torques, and (iii) a multivariable diagonal proportional-derivative (PD) controller.

4.1. Uncoupling Matrix

The determinant of the matrix defined in (13) and (14) isThis determinant makes matrix nonsingular, with the exception of which corresponds to the normal operation orientation. In other words, if the generator is placed in a fully vertically position, it is not possible to turn around the -axis using vertical forces alone. In order to avoid this singularity, the position of the third actuator can be displaced a small distance along the local -axis, thus resulting in its new local position at (see Figure 6)For relatively small values of the angle of the new plane that conforms to the three points of application of forces with regard to the plane of the generator is (see Figure 6)and the range of the angle is rather than , thus avoiding the singularity of matrix in (29). For the angle is considered range .

Then, after avoiding the singular values of the angle , the inverse of matrix can be obtained symbolically, yielding

4.2. Proposed Control System

The existence of the inverse of matrix into (29), (32) makes it possible to handle the generator in an uncoupled mode and even in open loop, by simply obtaining the forces to be applied by actuators from a set of desired and uncoupled generalized forces for nonsingular values of . The existence of external disturbances and model uncertainties between the real matrix and the computed matrix requires the addition of closed loop controllers.

Equations (24) and (32) provide the following control system, which is proposed for a given desired reference and which can be time dependent:where and denote their respective computed matrices as a function of the measured output signals . The complete dynamics of the system controller, under the assumption of perfect cancellation, that is, and , results inSince the inertia matrix is defined according to (26) and the coefficients shown in Appendix A, it is a bounded symmetric and positive definite matrix which satisfies that for all . Upon considering a mean inertia matrix as the closed loop controlled system with mean matrix exhibits fully decoupled multivariable linear dynamics defined byand three independent single input/single output (SISO) PD controllers with derivative in the feedback loops can be tuned by choosing diagonal matrices of gains and that allow closed loop poles to be placed where desired. Equation (36) can then be analyzed as three SISO independent closed loop systems for any of the three degrees of freedom of the generator.

Figure 7 depicts the proposed control scheme. The uncoupling matrix and the linearization term that compensates the centrifugal and Coriolis torques are clearly shown, together with an uncoupled three-dimensional diagonal PD controller with derivative component from only the output signal as proposed in (33).

5. Numerical Simulations Results

The proposed dynamic model (24) and the controller (33), presented above, were used to carry out numerical simulations in order to demonstrate the goodness of both the dynamic model and the proposed control in terms of generator controllability and ability to perform emersion and immersion maneuvers with only passive buoyancy forces. Simulations were performed in the Mathworks© Simulink/Matlab environment and developed for a set of parameters that corresponds to a lab prototype that is being built for further experimental validation. Its main values are shown in Table 2.

The main reason for using a laboratory prototype is the high economic cost of a real scale device. The research group has successfully tested a 1 : 10 scale prototype [39] in a real protected sea environment. From these trials, the high acceleration values observed in open loop in some of the time intervals during the execution of the emersion maneuvers performed (see Figure  22 in [39]) could damage the rotor blades making necessary the study of the proposed closed loop control.

The first set of numerical simulations was performed on step reference signals with nominal parameters of the added mass and the friction term in order to validate both the desired transient and steady state responses and there were no coupled dynamics among the independent movements (, , and ) that the generator can perform. Figures 8 to 10 illustrate the time responses of each of the independent closed loop systems of each of the degrees of freedom of the generator when the following step reference signals were used (units in rad for angles, m for depth, resp.):The PD controller gains for each of the loops were tuned using the nominal value of matrix in order to obtain closed loop double poles placed at  rad/s and a unit gain that will guarantee critically damped second-order dynamics. For a given fully uncoupled open loop dynamic (second-order and type one system) of the form and a desired closed loop dynamic of the form , for , the gains of the PD controllers are easily obtained as and . Actuator saturation is not considered here. Gaussian noises from a normal distribution were added to each of the output signals, and first-order filters were used to obtain the time derivative of the output signals as , where denotes the Laplace transform.

Figures 810 depict that the system performs extremely well with uncoupled dynamics, unit gain, and the desired setting time response with no overshoot (the effect of the transition at and the real response at is not perceived in the time evolution of the response of ).

The second set of simulations were carried out assuming nonnominal terms (increments of of the nominal added mass term and null Coriolis and centripetal compensation term). Additionally, the actuators were saturated to , thus simulating a more realistic scenario. Due to the feedback robustness provided by the PD controller (see [40], a.e.), the time responses were very similar to the nominal responses shown in Figures 810. Figures 1113 depict the evolution of the errors between the nonnominal and the nominal responses. In these figures is clearly observed the coupling effect at instants  s and  s when transitions occur due to step signals.

The third set of simulations was carried out using synchronous smooth time trigonometric sixth-order S-trajectories (see [41, 42]) with starting and ending times of to , respectively, for the orientation references, and to for the depth reference with the maximum velocities shown belowFigures 1316 illustrate that the generator exhibits a good correspondence with both the desired responses and the simulated responses obtained.

Finally, the fourth set of simulations corresponds to a complete sequence of sixth-order S-trajectories to achieve an emersion maneuver. Figures 17 to 19 depict both the references and the time responses obtained for each of the independent movements of the generator. The desired sequence is defined below (units in rad for angles, m for depth):Figures 1719 illustrate the excellent response of the system during a complete emersion sequence. It will be observed that the initial posture is equivalent to that shown in Figure 2, while the final posture is equivalent to that shown in Figure 3 (right), corresponding with the normal submerged operation posture for energy harnessing and the normal floating posture for maintenance tasks. Very similar results were obtained by integrating the dynamics of the laboratory prototype into the simulation environment Orcina OrcaFlex [43]. OrcaFlex is one of the world’s leading software packages for the design and analysis of a wide range of marine systems (riser systems, mooring systems, installation planning, towed systems, marine renewables, etc.) and is considered validated and certified software for anchor marine systems. The control signals given in (33) were computed in the runtime of Matlab which is connected to OrcaFlex through an external DLL function which is responsible for obtaining the magnitudes from the simulated responses and providing the control signals from and to OrcaFlex with a time sampling of 10 ms. Figure 20 displays a visual sequence of the response of the 3-DoF prototype when following the references given in (39).

6. Conclusions

This paper proposes a new dynamics model that can be used to control a family of submarine electrical generators that was conceived to harness energy from marine currents. The submarine generator is provided with three degrees of freedom by which it is possible to perform closed loop emersion and immersion maneuvers. The dynamic model proposed is based solely on the definition of four lumped masses placed on a plane and a matrix that permits the forces from the three buoyancy actuators to be converted into two torques and a vertical force that are responsible for the rotations and the vertical displacement of the whole system. The model developed exhibits a nonlinear, strongly coupled, and time-varying behavior between buoyancy forces produced by the three actuators and the posture magnitudes measured using a depth sensor and a three-dimensional inclinometer on which the angle rotation around the -axis is ignored. As a first conclusion, we should note that the dynamic model developed in this research is sufficiently precise to describe the underwater 3-DoF tidal energy converter motions and sufficiently simple to be used in the control law design.

The proposed control scheme with which to control the generator using only depth and orientation measurements is, meanwhile, based on three stages: (a) the definition of an uncoupling matrix is used to decouple the generator motions for nonsingular values of orientation; this matrix can be easily computed in real-time and allows the generator to be handled in an uncoupled manner, even in open loop; (b) it is a nonlinear uncoupling-based model for the compensation of the centrifugal and Coriolis torques; and (c) it is a proportional-derivative (PD) control action. The closed loop dynamics was chosen by simply designing proportional and derivative matrix gains. The proposed control allows the generator to perform fully automatic closed loop emersion/immersion maneuvers from a submerged position with vertical orientation to a floating posture with a horizontal orientation by using time-varying smooth reference trajectories. A last obtained conclusion is that the control law implemented in this work demonstrates that it is a simple control strategy, which is computationally efficient and easily implementable in a microprocessor-/microcontroller-based system.

Finally, based on more than satisfactory numerical simulations achieved in this research, various experimental branches are now the focus of our attention and are detailed as follows. Our intention is (a) to finalize the construction of a real small-sized laboratory prototype; (b) to use real-time experiments to validate the proposed research; and (c) to study different control strategies and new trajectory generations in order to improve the quality of the closed loop emersion/immersion maneuvers. These will be the main topics of our future research.

Appendices

A. Coefficients of the Inertia Matrix

The local positions of each of the three masses located at their respective center of gravity on each torpedo and which are taken from (6) are used to obtain the equivalent inertia matrix with regard to the local reference system. It will be noted that the central mass does not produce any inertia value in accordance with its local position given by (5)Matrix in (17) is then obtained from (16) using the coefficients obtained above from (A.1).

B. Obtaining Matrices and

Equation (23) was obtained from (19)–(22). This appendix shows how the coefficients of matrices and were obtained. Firstly, partial derivatives with regard to angular velocities were obtained. Note that the and notations are maintained as angular velocities in these first equationsPartial derivatives with regard to generalized coordinated rotation are then obtained:From here on, in order to obtain time derivatives of and , angular velocities and are substituted for their respective angular rotation time derivativesFinally, after rearranging (B.2) to (B.3), one obtains the coefficients of the left hand of (23) which is now reproduced again:

Conflict of Interests

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

Acknowledgment

This work has been supported by Spanish Ministerio de Economía y Competitividad under Research Grants DPI2011-24113 and DPI2014-53499R.