1. Introduction
To date, climate changes have become a significant problem and are manifested in different ways. People are starting to realize the emergence of a fossil fuel crisis and the disadvantages of using traditional fossil fuels. Hence, the concept of exploring sustainable and renewable energy has been enhanced. Wave energy shows great potential [
1,
2] to fulfill the growing energy demand worldwide compared with other renewable resources (wind, solar energy, etc).
Although wave energy takes the needs of commercial promotion and actual deployment into consideration, the technologies involved are still immature and lead to a high levelized cost of energy (LCOE) [
3] compared with the other marine renewable energy sources, e.g., compared with wind energy. Hence, lowering the LCOE has been a primary task in the wave energy field. Excluding the reduction of operation and maintenance costs [
4] to reduce LCOE, the other elegant way is to achieve energy maximization through a WEC device, attempting to harvest energy from the ocean waves and convert the absorbed mechanical energy into electrical energy [
5] using a control system.
For the research target, the point absorber wave energy converter (PAWEC) type of device is popular as it has has a relatively simple structure and can be arranged into an array [
6] of suitable size to absorb as much power as possible. For example, there have been numbers of related works in the literature based on a special form of point absorber device known as the Wavestar-prototype WEC [
7,
8,
9,
10]. This was selected in an open competition [
11] to compare different WEC control systems on a standard benchmark, the WEC-SIM software and experimental tests. This paper focuses on the use of a wavestar-like system to perform energy-maximizing control design [
12] based on a very good WEC-SIM numerical model.
For the purpose of energy maximization, a considerable number of control strategies can be found in the literature, such as reactive control [
13], model predictive control (MPC) [
14], moment-matching based control [
15], Spectral/Pseudospectral-based (MPC-like type) control [
16], LTI (LiTe-Con) controller [
17], etc. The most well known of these is reactive control [
18], based on linear resonance theory, and it has been discussed and tested in many references. It is usually necessary to amplify the WEC motion to capture as much wave energy as possible. At first glance, this seems to be because the use of a “complex conjugate” method may violate the WEC linear model assumption of the hydrodynamics, involving many power fluctuations (both positive and negative), and can be limited to application for regular wave conditions, due to its frequency-dependent characteristic. The other choice is MPC [
14,
16,
19], which selects the average absorbed mechanical power as an objective function and maximizes the power by solving an optimization problem. The MPC can reach the optimal solution for energy extraction and deal with system constraints elegantly. This is why the MPC approach has a significant research following. Additionally, an alternative choice of energy-maximizing design is based on a hierarchical structure [
20] with a low-level controller, e.g., a robust controller, for optimal reference velocity tracking. This tracking system idea can achieve a near-resonance operation to bring acceptable results for energy maximization production.
On the basis of MPC and the hierarchical structure strategies, this paper combines them and produces a model predictive velocity tracking control approach for maximum energy extraction. As for the second or high level part of the hierarchical structure, the WEM is estimated by a Kalman filter, and reference velocity profile calculation is set in it. On the other hand, the reference velocity computation requires the instantaneous amplitude and frequency of the WEM, which are estimated by the EKF in this paper. Theoretically, the WEM is assumed to be a narrow-band harmonic process and modeled as a single cyclical component based on Harvey’s structural model [
21]. Following this, on-line estimation can be performed to obtain the angular amplitude and frequency of WEM by the designed EKF in order to compute the reference velocity. Next, model predictive tracking control is placed in the low-level part of the whole designed structure. The objective function comprises the velocity error signal and control input and is transferred into a quadratic index to reach its minimum with input constraint. However, the future excitation moment and future reference velocity information are required to be predicted and used in the MPC objective function. Usually, an autoregressive model is used for the prediction of the WEM [
22]. However, for the real-time forecasting requirement, the AR model needs to be updated, which will increase the prediction time. Here, two GP models are chosen instead to provide the short-term forecasting [
23]. The hyperparameters can be preselected before the training process to reduce the prediction time with no need for them to be updated during real-time forecasting. Besides this, since the GP is a kernel-based and nonparametric learning method, it has the advantages of modeling flexibility, as well as prediction with learning smoothness and the use of noise parameters based on a training set.
The remainder of this paper is organized as follows.
Section 2 describes the Wavestar-prototype WEC modeling and the overall hierarchical tracking system structure.
Section 3 presents the design of a Kalman filter for the WEM estimation and EKF for reference velocity computation.
Section 4 shows the design of the model predictive velocity tracking control with GP model for short-term forecasting.
Section 5 gives the simulation results and discussions. Finally,
Section 6 presents the concluding discussion.
2. Modeling and the Whole System Scheme
This section presents the description of the dynamics of a Wavestar-like device (the scaled 1:20 benchmark) based on the well-known Cummins equation and the expression of the hierarchical tracking control structure. The parameters of the WEC dynamics [
19] are provided by Wavestar experiments and a hydrodynamic database (WAMIT computation). The numerical simulation model has been developed on the WEC-SIM simulator and verified in [
24].
As for the hierarchical tracking control structure, this was first proposed by [
20] and adopted for energy-maximizing controller design. This paper focuses on this strategy and gives a new version of velocity tracking design based on MPC to reach a near resonance condition. The control input constraint can be handled in MPC, which shows an advantage compared with some other control methods.
2.1. WEC Dynamics
The scaled Wavestar-prototype device is a kind of wave-activated body WEC, as shown in
Figure 1. A hemispherical float is mechanically connected to an arm that can rotate around a fixed hinge point A [
11], which has three independent motions (surge, heave and pitch). At the other side of the arm, a linear motor (power take-off system) is attached on the rotating arm to provide the power take-off force, and it only has one degree of freedom.
In order to reduce the design complexity for estimation and control, the hydrodynamic response of the float-arm can be equivalent to pitch moment only around the fixed hinge point. This means that the linear position and force measurements can be converted to the rotational displacement and moment. Then, the float rotational dynamics at the hinge point A [
19] can be treated as the equivalent pitch moment:
where
J is the inertia of the float and arm,
is the added inertia,
is the rotational angular acceleration of the float,
and
are the hydrostatic stiffness coefficient and linear damping coefficient respectively, and
are the equivalent radiation moment, the equivalent wave excitation moment and power take-off moment around the hinge point. The radiation moment
is a convolution integral term, which can dramatically increase computational burden and bring difficulties in estimation and control work design. To overcome these problems, the convolution term can be converted into an order-two linear state space model by using system identification according to Prony’s method according to the realization theory. The internal variable
in the identified order-two state space model does not have physical meaning.
are the state space identified matrices of the convolution term of
.
Theoretically, the equivalent wave excitation moment around the hinge point based on [
19] can be computed as
where
is the initial angular displacement of the float when it is located at the equilibrium point,
is the length of the arm, and
are the surge, heave and pitch direction components of the wave excitation force acting on the float.
The state space model of the WEC system can be expressed as
where
.
The state variables
and
are the angular displacement and velocity of the float.
is the internal variable of the identified state space model in Equation (
1). Concerning the model parameters,
is the total inertia, where
represents a zero matrix with r rows and q columns.
The electrical energy
absorbed by the grid [
14] can be defined as
where
is the absorbed mechanical power by the PTO system,
is the conversion efficiency,
is the extracted electrical power, and
r is the integration variable.
The relationship between
and
is given below:
where
is the efficiency when the PTO system is assumed to be working in generator mode and
is the motor mode efficiency.
2.2. The Overall Hierarchical Control Structure
For model predictive velocity tracking control design, the proposed hierarchical structure is based on previous work [
20] as shown in
Figure 2.
The high-level part of the system structure consists of WEM estimation and reference angular velocity generation. The Kalman filter is selected to estimate the WEM, and an EKF is chosen to estimate the instantaneous amplitude and frequency of the WEM. From this, the velocity reference can be calculated.
The low-level part of the control design is based on the MPC, which aims to force the scaled Wavestar-prototype device to track the optimal angular velocity trajectory for the power maximization purpose. Two Gaussian process models are adopted to predict both the future WEM and the future reference velocity, respectively, which are needed in the MPC tracking design.
3. Wave Excitation Moment Estimation and Reference Velocity Computation
For the Wavestar-prototype device, the wave excitation information is a physically unmeasurable quantity, although it is required for optimal control or energy-maximizing control design. The equivalent around the hinge point is an external term (unknown input) of the WEC system and can be estimated by using a Kalman filter. According to the reference velocity calculation, the WEM instantaneous amplitude and frequency are required, and they are computed using an EKF.
3.1. Kalman Filter with Random Walk
The discretized system of Equation (
3) has the following form:
where
denotes the unmodeled dynamics and
is the measurement noise.
is considered as an external moment term acting on the WEC float, and it can be treated as an unknown input term of System (6). Then, the discrete time dynamics of the WEM [
26] can be considered as
where
is a Gaussian distributed random variable. It means that the next value of WEM will conduct a random step away from the present value after a sampling time, and all moving steps are considered independent.
can be estimated by a Kalman filter when it is being considered as one of the system states. Hence, the augmented system for estimating the WEM is
where
The dimensions of system matrices are , , . and are uncorrelated zero-mean white noise sequences with covariance matrices and .
Then, the Kalman filter prediction update equation [
26] is
The Kalman filter correction update equation [
26] becomes
Hence, the estimated can be obtained from the optimal estimation of state vector . Note the following:
is a predicted prior state estimate given the observations at time k−1.
is a predicted priori covariance matrix given the observations at time k−1.
is an updated posteriori state estimate given the observations at time k.
is an updated posteriori covariance matrix given the observations at time k.
3.2. Extended Kalman Filter
On the basis of the high-level part of the hierarchical strategy in
Figure 2, the instantaneous amplitude and frequency of WEM must be obtained in order to compute the reference velocity
. Hence, an efficient EKF method for the recursive estimation is required. Additionally, it is assumed that the WEM signal is a narrow-band process, and its harmonic model can be expressed as
where
and
are the time-varying amplitude, angular frequency and phase of the WEM signal, respectively. Based on Harvey’s structural model presented in [
21], the WEM can be modeled as a single cyclical component:
where
and
are random process and measurement noise, and
and
are related states of the WEM amplitude and phase. The state vector
and
, corresponding to the sampling time
.
The non-linear time-varying Model (10) can be formulated as follows:
where the estimated excitation moment
is treated as the actual measurement
. Based on the above definition and without knowing the noise information, the a
priori state and measurement from time
are
where
is the estimate of
and
is the estimate of
based on measurements from time
.
On application of a first-order Taylor series expansion of Equation (
12), the linearized system time-varying Jacobian matrix
[
27] is obtained as
The observed Jacobian matrix is
Thus, the EKF time-update equations are
The use of Jacobian matrices
and
to perform the model and measurement updates leads to
where
and
are suitably chosen variance process and measurement noise matrices. After the on-line estimation, the estimated angular amplitude and frequency [
21] are
Next, consider the forcing of the float to reach a near resonance condition. The reference velocity [
20] can then be described as
is the radiation damping coefficient, and is the extra viscous damping coefficient. is the maximum angular displacement within the allowable range. Hence, the reference velocity can be calculated from Equations (14) and (15) since the instantaneous amplitude and frequency of the WEM signal have been obtained using the EKF.
5. Results and Discussion
The simulation works are conducted using the open-source software WEC-Sim, developed in Matlab/Simulink using the multi-body dynamics solver Simscape Multibody—refer to WEC-Sim documentation [
31] and applications [
32,
33,
34,
35,
36]. The main contribution focuses on a Kalman filter approach to WEM estimation; in addition to optimal reference computation based on EKF, GP modeling is used for short-term forecasting and velocity tracking through MPC and tested on a WEC-Sim model of the 1:20 scaled Wavestar device in WEC-Sim. The simulation parameters are listed in
Table 1. A fixed-step size ode8 (Dormand-Prince) solver is selected to conduct the simulation works for the WEC-Sim numerical model in Matlab/Simulink software.
The matrices for the approximation of radiation moment are
The JONSWAP (JS) wave Spectrum is adopted to generate three irregular waves: Seastate1, Seastate2 and Seastate3. The significant wave height
and peak wave period
of irregular waves, MPC prediction horizon
and MPC coefficients
,
are shown in
Table 2. The wave peak enhancement factor
.
Figure 3 presents the estimated
from the KF over the time interval 50–75 s. It can be seen that some biases arise in the crests of the estimated WEM due to the WEC-Sim numerical model having some additional static moments and the offset between the center of bouyancy (CoB) and center of gravity (CoG). Additionally, a small lag of about 0.05 s occurs between the estimated
and the calculated
. The reason for this lag is that a relatively large sampling time has to be utilized for the requirement of the QP solving time in MPC due to its computational complexity. The sampling time is 0.05 s, which is larger than the most frequently used sampling rate (0.001 s). This means that the KF will not produce the most accurate estimation performance with zero lag, but the estimation performance is acceptable.
The estimated instantaneous amplitude
is shown in
Figure 4 along with the estimated excitation moment
. The estimated instantaneous frequency
is given in
Figure 5. The EKF convergence time is usually long, and the initial values need to be chosen reasonably close to the expected values to avoid a long convergence time.
Two GP models are employed to provide the future WEM and velocity information for MPC tracking design. In other words, the predicted future WEM sequence and future reference velocity sequence are used in the MPC objective function. It is clear that, most of the time, the predicted WEM based on the GP model is matched well with the calculated ideal WEM in
Figure 6. The GP modeling method shows good learning smoothness and accuracy for WEM prediction. The suitable hyperparameters of the GP model can be preselected before the training process to reduce the prediction time and promote the convergence rate of optimization. There is no need to update the hyperparameters during the real-time forecasting. From Equations (14) and (15), the wave excitation moment
and reference angular velocity
share the same phase but a different amplitude when the tracking control is achieved for the WEC system. Hence, the predicted future reference velocity shows similar trends to the predicted future WEM in
Figure 7.
The MPC angular velocity tracking result is shown in
Figure 8. To start from the MPC standpoint, the overall tracking performance is good, even if the float velocity shows occasional amplitude differences with the reference velocity. However, the tracking errors between the reference velocity and float velocity are small and acceptable. Most of the time, they share the same phase. The primary role of the reference velocity is to capture the same phase with the estimated
so as to reach a near resonance condition for energy-maximizing purposes. This means that the WEC system is forced to follow the incident waves by MPC when the tracking mission is obtained. In total, the MPC method lacks some robustness to a certain extent, which is unlike the other robust methods, which can result in very small tracking errors for the WEC system doing the tracking work. However, the MPC has a good advantage in terms of input constraint handling.
The generated instantaneous power and extracted energy through the power take-off system are shown in
Figure 9 and
Figure 10. It is clear that the proposed MPC tracking approach only causes very few negative power excursions, which is a benefit for the PTO system solving the large bidirectional flow problem and reducing the energy loss during the motor mode.
The PTO moment control input is given in
Figure 11. The red lines represent the input maximum limits of
Nm, showing that the MPC control input satisfies the input constraint conditions. The MPC tracking performance can be improved if the MPC coefficient
is decreased, but this can bring a large PTO moment in the control input. Conversely, if a large
is adopted and the control input can be small, the MPC tracking performance will certainly decline.