Next Article in Journal
Seasonal Variability of the Deep Western Boundary Current in the Philippine Sea
Next Article in Special Issue
On the Effect of Wave Direction on Control and Performance of a Moored Pitching Wave Energy Conversion System
Previous Article in Journal
Study on Mitigation of Wake Interference by Combined Control of Yaw Misalignment and Pitch
Previous Article in Special Issue
Comparison of Offline, Real-Time Models and Hardware-in-the-Loop Test Results of a Power Take-Off for Wave Energy Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Model Predictive Energy-Maximising Tracking Control for a Wavestar-Prototype Wave Energy Converter

Department of Engineering, University of Hull, Cottingham Road, Hull HU6 7RX, UK
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2023, 11(7), 1289; https://doi.org/10.3390/jmse11071289
Submission received: 15 May 2023 / Revised: 15 June 2023 / Accepted: 20 June 2023 / Published: 25 June 2023

Abstract

:
To date, one of the main challenges in the wave energy field is to achieve energy-maximizing control in order to reduce the levelized cost of energy (LCOE). This paper presents a model predictive velocity tracking control method based on a hierarchical structure for a Wavestar-like deivce in the WEC-SIM benchmark. The first part of the system structure aims to estimate the wave excitation moment (WEM) by using a Kalman filter. Then, an extended Kalman filter (EKF) is chosen to obtain the amplitude and angular frequency of the WEM in order to compute the reference velocity. Following this, a low-level model predictive control (MPC) method is designed to ensure the wave energy converter (WEC) tracks the optimal reference velocity for maximum energy extraction from irregular waves. Two Gaussian Process (GP) models are considered to predict the future wave excitation moment and future reference velocity, which are needed in MPC design. The proposed strategy can give a new vision for energy-maximizing tracking control based on MPC.

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:
( J + J ) θ ¨ ( t ) = K h s θ ( t ) K v θ ˙ ( t ) + M e x ( t ) M r a ( t ) M P T O ( t ) r ˙ a ( t ) = A r a r a ( t ) + B r a θ ˙ ( t ) M r a ( t ) = C r a r a ( t ) + D r a θ ˙ ( t )
where J is the inertia of the float and arm, J is the added inertia, θ ¨ is the rotational angular acceleration of the float, K h s and K v are the hydrostatic stiffness coefficient and linear damping coefficient respectively, and M r a , M e x a n d M P T O are the equivalent radiation moment, the equivalent wave excitation moment and power take-off moment around the hinge point. The radiation moment M r a = 0 t h r ( t l ) θ ˙ ( l ) d l 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 r a ( t ) in the identified order-two state space model does not have physical meaning. ( A r a ; B r a ; C r a ; D r a ) are the state space identified matrices of the convolution term of M r a .
Theoretically, the equivalent wave excitation moment around the hinge point based on [19] can be computed as
M e x = F e x , x s i n ( θ 0 + θ ) l a r m F e x , z c o s ( θ 0 + θ ) l a r m + M e x , θ
where θ 0 is the initial angular displacement of the float when it is located at the equilibrium point, l a r m is the length of the arm, and F e x , x , F e x , z , M e x , θ 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
x ˙ = A x + B u + B M e x y = C x
where A = 0 1 0 1 × 2 K h s J t K v + D r a J t C r a J t 0 2 × 1 B r a A r a , x = θ θ ˙ r a , B = 0 1 J t 0 2 × 1 , u = M P T O , C = 1 0 0 1 × 2 0 1 0 1 × 2 .
The state variables θ and θ ˙ are the angular displacement and velocity of the float. r a is the internal variable of the identified state space model in Equation (1). Concerning the model parameters, J t = J + J is the total inertia, where 0 p × q represents a zero matrix with r rows and q columns.
The electrical energy E e absorbed by the grid [14] can be defined as
E e ( t ) = t t + T P e ( r ) d r = t t + T Γ ( r ) P m ( r ) d r
where P m is the absorbed mechanical power by the PTO system, Γ is the conversion efficiency, P e is the extracted electrical power, and r is the integration variable.
The relationship between P e and P m is given below:
P e ( t ) = Γ ( t ) P m ( t ) = Γ ( t ) M P T O ( t ) θ ˙ ( t ) , Γ ( t ) = μ g e n i f P m ( t ) 0 Γ ( t ) = μ m o t i f P m ( t ) < 0
where μ g e n is the efficiency when the PTO system is assumed to be working in generator mode and μ m o t 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 θ ˙ r e f 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 M e x 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 A ^ e x 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:
x ( k + 1 ) = A d x ( k ) + B d u ( k ) + B d M e x ( k ) + ε x ( k ) y ( k ) = C d x ( k ) + μ ( k )
where ε x ( k ) denotes the unmodeled dynamics and μ ( k ) is the measurement noise. M e x ( k ) 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
M e x ( k + 1 ) = M e x ( k ) + ε m ( k )
where ε m ( k ) 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. M e x ( k ) 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
x ¯ ( k + 1 ) = A ¯ x ¯ ( k ) + B ¯ u ( k ) + ε ( k ) y ( k ) = C ¯ x ¯ ( k ) + μ ( k )
where A ¯ = A d B d 0 1 × 4 1 , x ¯ = x M e x , B ¯ = B d 0 , C ¯ = C d 0 2 × 1 , ε ( k ) = ε x ( k ) ε m ( k ) .
The dimensions of system matrices are A ¯ R 5 × 5 , B ¯ R 5 × 1 , C ¯ R 2 × 5 . ε ( k ) and μ ( k ) are uncorrelated zero-mean white noise sequences with covariance matrices Q f and R f .
Then, the Kalman filter prediction update equation [26] is
x ¯ ^ ( k | k 1 ) = A ¯ x ¯ ^ ( k 1 | k 1 ) + B ¯ u ( k 1 ) P f ( k | k 1 ) = A ¯ P f ( k 1 | k 1 ) A ¯ T + Q f
The Kalman filter correction update equation [26] becomes
K f ( k ) = P f ( k | k 1 ) C ¯ T ( C ¯ P f ( k | k 1 ) C ¯ T + R f ) 1 x ¯ ^ ( k | k ) = x ¯ ^ ( k | k 1 ) + K f ( k ) ( y ( k ) C ¯ x ¯ ^ ( k | k 1 ) ) P f ( k | k ) = ( I K f ( k ) C ¯ ) P f ( k | k 1 )
Hence, the estimated M ^ e x can be obtained from the optimal estimation of state vector x ¯ ^ . Note the following:
x ¯ ^ ( k | k 1 ) is a predicted prior state estimate given the observations at time k−1.
P f ( k | k 1 ) is a predicted priori covariance matrix given the observations at time k−1.
x ¯ ^ ( k | k ) is an updated posteriori state estimate given the observations at time k.
P f ( k | 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 θ ˙ r e f . 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
M e x ( t ) = A e x ( t ) c o s ( ω ( t ) · t + β ( t ) )
where A e x ( t ) , ω ( t ) and β ( t ) 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:
ψ ( k + 1 ) ψ * ( k + 1 ) ω ( k + 1 ) = c o s ( ω ( k ) T s ) s i n ( ω ( k ) T s ) 0 s i n ( ω ( k ) T s ) c o s ( ω ( k ) T s ) 0 0 0 1 ψ ( k ) ψ * ( k ) ω ( k ) + ς ( k ) ς * ( k ) κ ( k ) M e x ( k ) = ψ ( k ) + ζ ( k )
where d e ( k ) = [ ς ( k ) ς * ( k ) κ ( k ) ] T and ζ ( k ) are random process and measurement noise, and ψ ( k ) and ψ * ( k ) are related states of the WEM amplitude and phase. The state vector x e ( k ) = x e , 1 ( k ) x e , 2 ( k ) x e , 3 ( k ) T = ψ ( k ) ψ * ( k ) ω ( k ) T and x e ( k ) R 3 × 1 , corresponding to the sampling time T s .
The non-linear time-varying Model (10) can be formulated as follows:
x e ( k ) = f ( x e ( k 1 ) , d e ( k 1 ) ) z e ( k ) = h ( x e ( k ) , ζ ( k ) )
where the estimated excitation moment M ^ e x is treated as the actual measurement z e ( k ) . Based on the above definition and without knowing the noise information, the a priori state and measurement from time k 1 are
x ^ e ( k | k 1 ) = f ( x ^ e ( k 1 | k 1 ) , 0 ) z ^ e ( k | k 1 ) = h ( x ^ e ( k | k 1 ) , 0 )
where x ^ e ( k | k 1 ) is the estimate of x e ( k ) and z ^ e ( k | k 1 ) is the estimate of z e ( k ) based on measurements from time k 1 .
On application of a first-order Taylor series expansion of Equation (12), the linearized system time-varying Jacobian matrix F ( k ) [27] is obtained as
F ( k ) = f x e | x ^ e ( k 1 | k 1 ) = c o s ( ω ( k ) T s ) s i n ( ω ( k ) T s ) T s ( s i n ( ω ( k ) T s ) ψ ( k ) + c o s ( ω ( k ) T s ) ψ ( k ) ) s i n ( ω ( k ) T s ) c o s ( ω ( k ) T s ) T s ( c o s ( ω ( k ) T s ) ψ ( k ) s i n ( ω ( k ) T s ) ψ ( k ) ) 0 0 1
The observed Jacobian matrix is
H ( k ) = h x e | x ^ e ( k | k 1 ) [ 1 0 0 ]
Thus, the EKF time-update equations are
x ^ e ( k | k 1 ) = f ( x ^ e ( k 1 | k 1 ) , 0 ) P e ( k | k 1 ) = F ( k ) P e ( k 1 | k 1 ) F T ( k ) + Q e
The use of Jacobian matrices F ( k ) and H ( k ) to perform the model and measurement updates leads to
K e ( k ) = P e ( k | k 1 ) H T ( k ) ( H ( k ) P e ( k | k 1 ) H T ( k ) + R e ) 1 x ^ e ( k | k ) = x ^ e ( k | k 1 ) + K e ( k ) ( z e ( k ) h ( x ^ e ( k | k 1 ) , 0 ) ) P e ( k | k ) = ( I K e ( k ) H ( k ) ) P e ( k | k 1 )
where Q e and R e are suitably chosen variance process and measurement noise matrices. After the on-line estimation, the estimated angular amplitude and frequency [21] are
A ^ e x ( k | k ) = x ^ e , 1 ( k | k ) 2 + x ^ e , 2 ( k | k ) 2 ω ^ ( k | k ) = x ^ e , 3 ( k | k )
Next, consider the forcing of the float to reach a near resonance condition. The reference velocity [20] can then be described as
θ ˙ r e f ( t ) = 1 T ( t ) M ^ e x ( t )
w h e r e 1 T ( t ) = 1 2 B ( ω ) + 2 K v 0 , i f ω ^ θ l i m A ^ e x > 1 2 B ( ω ) + 2 K v ( 0 ) ω ^ θ l i m A ^ e x , o t h e r w i s e
B ( ω ) is the radiation damping coefficient, and K v 0 is the extra viscous damping coefficient. θ l i m 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 A ^ e x and frequency ω ^ of the WEM signal have been obtained using the EKF.

4. Model Predictive Tracking Control with Short-Term Forecasting

In general, MPC is often used as an optimal strategy for the purpose of energy-maximizing by setting the average mechanical power as its objective function with control input and physical position constraints [16]. This paper tests the value of MPC in another way by a hierarchical velocity tracking structure based on the scheme in Figure 2. The velocity error signal is considered in the quadratic objective function for the purpose of tracking. In addition, the future WEM and future reference velocity are predicted in the short term by two separate Gaussian Process models. Furthermore, it is desirable to adopt the short-term forecasting of M e x and θ ˙ r e f using uncorrelated Gaussian Process models. The forecasting time needs to be considered carefully, based on a trade-off between prediction accuracy and computation complexity.

4.1. Model Predictive Control

By defining v = θ ˙ and with C v = [ 0 1 0 0 ] , and by considering the angular velocity as the WEC system output, this leads to a discrete-time state space model:
x ( k + 1 ) = A d x ( k ) + B d u ( k ) + B d M ^ e x ( k ) v ( k ) = C v x ( k )
After iterating Model (16) with the prediction horizon N, a prediction model will have the following form:
V N = S a v x ( k ) + S b v u N + S b v M e x , N
with V N = v ( k + 1 ) v ( k + 2 ) v ( k + N ) , S a v = C v A d C v A d 2 C v A d N , u N = u ( k ) u ( k + 1 ) u ( k + N 1 ) , M e x , N = M ^ e x ( k ) M ^ e x ( k + 1 ) M ^ e x ( k + N ) ,   S b v = C v B d 0 0 0 C v A d B d C v B d 0 0 C v A d N 1 B d C v A d N 2 B d C v A d B d C v B d .
Note that these stacked predictions are used in the objective function of the next optimization problem.
By defining v r e f = θ ˙ r e f , the constrained discrete time optimization problem can be considered as follows:
min V N , u N M e N i = 1 N [ v ( k + i ) v r e f ( k + i ) ] T Q m [ v ( k + i ) v r e f ( k + i ) ] + i = 0 N 1 [ u ( k + i ) ] T R m u ( k + i )
s u b j e c t t o | u ( k + i ) | u m a x
According to Equations (17) and (18), the MPC objective function is selected as
J m = 1 2 V N T Q ¯ V N v r e f , N T Q ¯ V N + 1 2 v r e f , N T Q ¯ v r e f , N + 1 2 u N T R ¯ u N
where Q ¯ = Q m 0 0 0 0 0 0 Q m , R ¯ = R m 0 0 0 0 0 0 R m , v r e f , N = v r e f ( k + 1 ) v r e f ( k + N ) .
By substituting Equations (17) into (20), the objective function is transformed into
J m = 1 2 ( S a v x ( k ) + S b v u N + S b v M e x , N ) T Q ¯ ( S a v x ( k ) + S b v u N + S b v M e x , N ) + 1 2 u N T R ¯ u N v r e f , N T Q ¯ S a v x ( k ) v r e f , N T Q ¯ S b v u N v r e f , N T Q ¯ S b v M e x , N + 1 2 v r e f , N T Q ¯ v r e f , N
Considering the velocity tracking and dropping some bias terms, the objective function J m can be converted into its quadratic form:
J m = 1 2 u N T H m u N + f m T u N
where H m = S b v T Q ¯ S b v + R ¯ , f m T = x T ( k ) S a v T Q ¯ S b v + M e x , N T S b v T Q ¯ S b v v r e f , N T Q ¯ v r e f , N .
Thereby, the velocity tracking problem is transformed into a Quadratic Programming (QP) optimization problem, and the energy-maximizing generation can be achieved when the scaled Wavestar-like device can track the reference angular velocity θ ˙ r e f . The qpOASES QP solver [28] is utilized to solve the QP optimization. It is particularly well suited for MPC applications that need fast QP solving rates with high reliability. As for the sequences M e x , N and v r e f , N , these can be obtained from the GP model to obtain short-term forecasting.

4.2. Gaussian Process Model

To specify the a priori expression of a GP model [29], the mean function m ( a ) and covariance function k ( a , a * ) are defined as follows:
f ( a ) GP ( m ( a ) , k ( a , a * ) ) m ( a ) = E [ f ( a ) ] k ( a , a * ) = c o v ( f ( a ) , f ( a * ) )
where a D is a vector of the dynamics input with dimension D , and f ( a ) and f ( a * ) are arbitrary Gaussian scalar variables indexed by a and a * .
Next, define a training set D = ( a , z ) , where the matrix a = [ a 1 , a 2 , , a n ] contains all input vectors, and z = [ z 1 , z 2 , , z n ] is a corresponding vector with all scalar outputs. Then, a GP posterior model can be determined as
z i = f ( a i ) + ϵ i ϵ i N ( 0 , σ 2 )
where z is the observed output values, f ( a ) is the GP model values, and ϵ is a zero mean white Gaussian noise.
Here, a spectral mixture (SM) kernel is chosen as the covariance function for excitation moment and reference velocity forecasting. The form is given by [30] as
k S M ( τ ) = s = 1 S w s c o s ( 2 π τ T μ s ) o = 1 O exp ( 2 π 2 τ o 2 v s ( o ) )
Regarding the one-dimensional input O = 1 , S is a selected number of the wave frequency components, and τ is the distance between two arbitrary points a i and a j . According to the view of wave reconstruction, the parameters of the SM kernel hyperparameter vector Θ = ( μ s , w s , v s ) T can denote the the amplitude, period and evolutionary-scale of each wave component. This means that this SM kernel [23] can be applied as the covariance function of a GP model for wave forecasting directly owing to its automatic discovery capability.
The hyperparameters of Θ in the SM kernel can be calculated by optimizing the marginal likelihood function [29] as
l o g p ( z | a , Θ ) = 1 2 l o g | K + σ 2 I | 1 2 z T ( K + σ 2 I ) 1 z n 2 l o g ( 2 π )
Note that the choice of highly suitable initial hyperparameters before the training process can promote the convergence rate of optimization and avoid reaching an unsatisfactory local optimum. After the training process, the posterior joint distribution of the prediction f * with given input vector a has the following form:
f * z ( m ( a * ) m ( a ) , k ( a * , a * ) k ( a * , a ) k ( a , a * ) K + σ 2 I )
with k ( a * , a ) = k ( a , a * ) = [ k ( a 1 , a * ) , , k ( a N , a * ) ] . Then, based on the Joint Gaussian Distribution Theorem, the predicted result about f * can be described as
μ ( f * ) = m ( a * ) + k ( a * , a ) [ K + σ 2 I ] 1 ( z m ( a ) ) σ ( f * ) = k ( a * , a * ) k ( a * , a ) [ K + σ 2 I ] 1 k ( a , a * )
The Gaussian Process for Machine Learning (GPML) package [29] is applied to design the GP model and perform the training and test prediction work.

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 A r a = 13.59 13.35 8.0 0 , B r a = 8.0 0 , C r a = [ 4.739 0.5 ] , D r a = 0.1586 .
The JONSWAP (JS) wave Spectrum is adopted to generate three irregular waves: Seastate1, Seastate2 and Seastate3. The significant wave height H m 0 and peak wave period T p of irregular waves, MPC prediction horizon N p and MPC coefficients Q m , R m are shown in Table 2. The wave peak enhancement factor ϰ = 1 .
Figure 3 presents the estimated M ^ e x 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 M ^ e x and the calculated M e x . 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 A ^ e x is shown in Figure 4 along with the estimated excitation moment M ^ e x . 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 M ^ e x and reference angular velocity θ ˙ r e f 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 M ^ e x 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 ± 12 Nm, showing that the MPC control input satisfies the input constraint conditions. The MPC tracking performance can be improved if the MPC coefficient R m is decreased, but this can bring a large PTO moment in the control input. Conversely, if a large R m is adopted and the control input can be small, the MPC tracking performance will certainly decline.

6. Conclusions

This paper concentrates on model predictive velocity tracking control design based on a hierarchical structure to reach energy-maximizing generation for a Wavestar-like device in the WEC-SIM benchmark. The high-level part of the overall structure includes a KF for WEM estimation and an EKF for providing the instantaneous amplitude and frequency of WEM to calculate the optimal reference velocity. Two Gaussian Process models are selected to provide the future information, multiple steps ahead of the reference velocity and wave excitation moment for MPC design with accurate prediction accuracy and good smoothness. The low-level model predictive controller shows good tracking performance with small errors and pushes the WEC system into a near-resonance condition for power maximization extraction. Furthermore, it is shown that the MPC tracking system approach can take the input constraint into consideration as well and generate a low level of negative power, which is beneficial for the PTO system to avoid large bidirectional energy flow. Considering that the KF and MPC still lack robustness to a certain extent, future work may focus on how to design a robust controller under a large sampling time and how to improve the robustness of the designed MPC.

Author Contributions

Conceptualization, D.L. and R.P.; methodology, D.L. and R.P.; software, D.L.; validation, D.L.; formal analysis, D.L. and R.P.; writing—original draft preparation, D.L.; writing—review and editing, D.L. and R.P.; supervision, R.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lopez, I.; Andreu, J.; Ceballos, S.; Alegria, I.M.D.; Kortabarria, I. Review of wave energy technologies and the necessary power-equipment. Renew. Sustain. Energy Rev. 2013, 27, 413–434. [Google Scholar] [CrossRef]
  2. Widen, J.; Carpman, N.; Castellucci, V.; Lingfors, D.; Olauson, J.; Remouit, F.; Bergkvist, M.; Grabbe, M.; Waters, R. Variability assessment and forecasting of renewables: A review for solar, wind, wave and tidal resources. Renew. Sustain. Energy Rev. 2015, 44, 356–375. [Google Scholar] [CrossRef]
  3. Guo, B.; Ringwood, J.V. A review of wave energy technology from a research and commercial perspective. IET Renew. Power Gener. 2021, 15, 3065–3090. [Google Scholar] [CrossRef]
  4. Mérigaud, A.; Ringwood, J.V. Condition-based maintenance methods for marine renewable energy. Renew. Sustain. Energy Rev. 2015, 66, 53–78. [Google Scholar] [CrossRef]
  5. Sheng, W. Wave energy conversion and hydrodynamics modelling technologies: A review. Renew. Sustain. Energy Rev. 2015, 109, 482–498. [Google Scholar] [CrossRef]
  6. Jakobsen, M.M. Wave-Structure Interactions on Point Absorbers—An Experimental Study. Ph.D. Dissertation, Aalborg University, Aalborg, Denmark, 2015. [Google Scholar]
  7. Francesco, F. Wave-to-wire Modelling of Wave Energy Converters: Critical Assessment, Developments and Applicability for Economical Optimisation. Ph.D. Dissertation, Aalborg University, Aalborg, Denmark, 2014. [Google Scholar]
  8. Windt, C.; Davidson, J.; Ringwood, J.V. Numerical analysis of the hydrodynamic scaling effects for the wavestar wave energy converter. J. Fluids Struct. 2021, 105, 103328. [Google Scholar] [CrossRef]
  9. Garcia, V.D.; Pena-Sanchez, Y.; Faedo, N.; Windt, C.; Ringwood, J.V. Experimental implementation and validation of a broadband lti energy-maximizing control strategy for the wavestar device. IEEE Trans. Control Syst. Technol. 2021, 99, 1–13. [Google Scholar]
  10. Heo, S.; Koo, W. Dynamic Response Analysis of a Wavestar-Type Wave Energy Converter Using Augmented Formulation in Korean Nearshore Areas. Processes 2021, 9, 1721. [Google Scholar] [CrossRef]
  11. Ringwood, J.; Ferri, F.; Tom, N.; Ruehl, K.; Coe, R.G. The Wave Energy Converter Control Competition: Overview. In Proceedings of the ASME 2019 38th International Conference on Ocean, Offshore and Arctic Engineering, Glasgow, Scotland, UK, 9–14 June 2019. [Google Scholar]
  12. Ringwood, J.V.; Bacelli, G.; Fusco, F. Energy-maximizing control of wave-energy converters. IEEE Control Syst. 2014, 34, 30–55. [Google Scholar]
  13. Hansen, R.H.; Kramer, M. Modelling and control of the wavestar prototype. In Proceedings of the 9th European Wave and Tidal Conference, Southampton, UK, 5–9 September 2011. [Google Scholar]
  14. Juan, L.G.; Oscar, J.; González, V.; John, A.R. Efficiency-aware nonlinear model-predictive control with real-time iteration scheme for wave energy converters. Int. J. Control 2022. preprint. [Google Scholar]
  15. Faedo, N.; Scarciotti, G.; Astolfi, A.; Ringwood, J.V. Energy-maximising control of wave energy converters using a moment-domain representation. Control Eng. Pract. 2018, 81, 85–96. [Google Scholar] [CrossRef]
  16. Faedo, N.; Olaya, S.; Ringwood, J.V. Optimal control, mpc and mpc-like algorithms for wave energy systems: An overview. IFAC J. Syst. Control 2017, 1, 37–56. [Google Scholar] [CrossRef]
  17. Violini, D.G.; Pena-Sanchez, Y.; Faedo, N.; Ringwood, J.V. An energy-maximising linear time invariant controller (lite-con) for wave energy devices. IEEE Trans. Sustain. Energy 2020, 11, 2713–2721. [Google Scholar] [CrossRef]
  18. Falnes, J. Ocean Waves and Oscillating Systems: Linear Interactions Including Wave-Energy Extraction, 1st ed.; Cambridge University Press: Cambridge, UK, 2002; pp. 196–222. [Google Scholar]
  19. Tona, P.; Sabiron, G.; Nguyen, H.N. An Energy-Maximising MPC Solution to the WEC Control Competition. In Proceedings of the ASME 2019 38th International Conference on Ocean, Offshore and Arctic Engineering, Glasgow, Scotland, UK, 9–14 June 2019. [Google Scholar]
  20. Fusco, F.; Ringwood, J.V. Hierarchical robust control of oscillating wave energy converters with uncertain dynamics. IEEE Trans. Sustain. Energy 2014, 5, 958–966. [Google Scholar] [CrossRef]
  21. Francesco, F. Real-Time Forecasting and Control for Oscillating Wave Energy Devices. Ph.D. Dissertation, National University of Ireland, Maynooth, Ireland, 2012. [Google Scholar]
  22. Fusco, F.; Ringwood, J.V. Short-term wave forecasting for real-time control of wave energy converters. IEEE Trans. Sustain. Energy 2010, 1, 99–106. [Google Scholar] [CrossRef]
  23. Shi, S.; Patton, R.J.; Liu, Y. Short-term wave forecasting for real-time control of wave energy converters. IFAC Pap. 2018, 51, 44–49. [Google Scholar] [CrossRef]
  24. Tom, N.; Ruehl, K.; Ferri, F. Numerical Model Development and Validation for the WECCCOMP Control Competition. In Proceedings of the 37th International Conference on Ocean, Offshore, and Arctic Engineering, Madrid, Spain, 17–22 June 2018. [Google Scholar]
  25. Yerai, P.S. Hydrodynamic Excitation Force Estimation and Forecasting for Wave Energy Applications. Ph.D. Dissertation, National University of Ireland, Maynooth, Ireland, 2020. [Google Scholar]
  26. Nguyen, H.N.; Tona, P. Wave excitation force estimation for wave energy converters of the point-absorber type. IEEE Trans. Control Syst. Technol. 2018, 26, 2173–2181. [Google Scholar] [CrossRef]
  27. Becker, V.S.P. Theoretical and Practical Aspects of Control Strategies for Wave Energy Converters of the Point Absorber Type. Master’s Thesis, University of Kassel, Kassel, Germany, 2014. [Google Scholar]
  28. Potschka, A.; Ferreau, H.J.; Diehl, M.; Kirches, C.; Bock, H.G. qpOASES: A parametric active-set algorithm for quadratic programming. Math. Program. Comput. A Publ. Math. Program. Soc. 2014, 26, 2173–2181. [Google Scholar]
  29. Rasmussen, C.E.; Williams, C.K.I. Gaussian Processes for Machine Learning, 1st ed.; MIT Press: Cambridge, MA, USA, 2006; pp. 7–30. [Google Scholar]
  30. Wilson, A.G.; Adams, R.P. Gaussian Process Kernels for Pattern Discovery and Extrapolation. In Proceedings of the 30th International Conference on Machine Learning, Atlanta, GA, USA, 16–21 June 2013. [Google Scholar]
  31. WEC-Sim (Wave Energy Converter SIMulator). Available online: https://wec-sim.github.io/WEC-Sim/master/index.html (accessed on 12 June 2023).
  32. WECCCOMP. Available online: https://github.com/WEC-Sim/WEC-Sim_Applications/tree/master/WECCCOMP (accessed on 12 June 2023).
  33. Guerrero-Fernandez, J.L.; Tom, N.M.; Rossiter, J. Nonlinear Model Predictive Control Using Real-Time Iteration Scheme for Wave Energy Converters Using Wecsim Platform. In Proceedings of the ASME 41st International Conference on Ocean, Offshore and Arctic Engineering (OMAE2022), Hamburg, Germany, 5–10 June 2022. [Google Scholar]
  34. García-Violini, D.; Faedo, N.; Jaramillo-Lopez, F.; Ringwood, J.V. Simple Controllers for Wave Energy Devices Compared. J. Mar. Sci. Eng. 2020, 8, 793. [Google Scholar] [CrossRef]
  35. Guo, B.; Wang, T.; Jin, S.; Duan, S.; Yang, K.; Zhao, Y. A Review of Point Absorber Wave Energy Converters. J. Mar. Sci. Eng. 2022, 10, 1534. [Google Scholar] [CrossRef]
  36. Nicolás, F.; Yerai, P.S.; Demián, G.V.; Francesco, F.; Giuliana, M.; John, V.R. Experimental assessment and validation of energy-maximising moment-based optimal control for a prototype wave energy converter. Control Eng. Pract. 2023, 133, 105454. [Google Scholar]
Figure 1. The scaled Wavestar-prototype WEC device [25].
Figure 1. The scaled Wavestar-prototype WEC device [25].
Jmse 11 01289 g001
Figure 2. Overall estimation and tracking control structure.
Figure 2. Overall estimation and tracking control structure.
Jmse 11 01289 g002
Figure 3. The estimated M ^ e x under three irregular waves by KF.
Figure 3. The estimated M ^ e x under three irregular waves by KF.
Jmse 11 01289 g003
Figure 4. The amplitude A ^ e x of M ^ e x under three irregular waves by EKF.
Figure 4. The amplitude A ^ e x of M ^ e x under three irregular waves by EKF.
Jmse 11 01289 g004
Figure 5. The frequency ω ^ of M ^ e x under three irregular waves by EKF.
Figure 5. The frequency ω ^ of M ^ e x under three irregular waves by EKF.
Jmse 11 01289 g005
Figure 6. The predicted WEM by GP model under three irregular waves.
Figure 6. The predicted WEM by GP model under three irregular waves.
Jmse 11 01289 g006
Figure 7. The predicted reference angular velocity by GP model under three irregular waves.
Figure 7. The predicted reference angular velocity by GP model under three irregular waves.
Jmse 11 01289 g007
Figure 8. The float angular velocity θ ˙ based on tracking control under three irregular waves.
Figure 8. The float angular velocity θ ˙ based on tracking control under three irregular waves.
Jmse 11 01289 g008
Figure 9. The generated instantaneous power from three irregular waves.
Figure 9. The generated instantaneous power from three irregular waves.
Jmse 11 01289 g009
Figure 10. The extracted energy from three irregular waves.
Figure 10. The extracted energy from three irregular waves.
Jmse 11 01289 g010
Figure 11. The PTO moment under three irregular waves.
Figure 11. The PTO moment under three irregular waves.
Jmse 11 01289 g011
Table 1. The simulation parameters.
Table 1. The simulation parameters.
ParametersValues
Simulation sampling time  T s 0.05 s
Inertia of float and arm J1.0 kg m 2
Added inertia  J 0.4805 kg m 2
Hydrostatic coefficient  K h s 92.33 Nm rad 1
Linear damping coefficient  K v 1.8 Nm rad 1 s 1
Length of the arm l a r m 0.54875 m
Efficiency of generator mode μ g e n 0.7
Efficiency of motor mode μ g e n 0.7 1
KF coefficient  Q f diag(0.01 0.1 0.01 0.01 200)
KF coefficient  R f diag(0.01; 0.01)
EKF initial state  x e [ 1 , 1 , 5 ] T
EKF coefficient  Q e d i a g ( 0.2 , 0.2 , 0.001 )
EKF coefficient  R e 0.1
Angular displacement limit  θ l i m 0.4 rad
Control limit  u m a x ± 12 Nm
GP coefficient S12
Table 2. The irregular wave information and MPC coefficients.
Table 2. The irregular wave information and MPC coefficients.
Case H m 0 T p N p Q m R m
Seastate10.02080.988200.5 2 × 10 3
Seastate20.06251.412300.5 5 × 10 4
Seastate30.10421.836400.5 2 × 10 4
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, D.; Patton, R. Model Predictive Energy-Maximising Tracking Control for a Wavestar-Prototype Wave Energy Converter. J. Mar. Sci. Eng. 2023, 11, 1289. https://doi.org/10.3390/jmse11071289

AMA Style

Li D, Patton R. Model Predictive Energy-Maximising Tracking Control for a Wavestar-Prototype Wave Energy Converter. Journal of Marine Science and Engineering. 2023; 11(7):1289. https://doi.org/10.3390/jmse11071289

Chicago/Turabian Style

Li, Doudou, and Ron Patton. 2023. "Model Predictive Energy-Maximising Tracking Control for a Wavestar-Prototype Wave Energy Converter" Journal of Marine Science and Engineering 11, no. 7: 1289. https://doi.org/10.3390/jmse11071289

APA Style

Li, D., & Patton, R. (2023). Model Predictive Energy-Maximising Tracking Control for a Wavestar-Prototype Wave Energy Converter. Journal of Marine Science and Engineering, 11(7), 1289. https://doi.org/10.3390/jmse11071289

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop