This invention relates to energy capture systems and to systems and methods for control thereof. It has particular application in the field of renewable energy capture systems such as wave, wind and tidal energy conversion systems.
In the field of renewable energy, the problem of controlling the energy capture while respecting physical displacement and force constraints of the energy capture device is a well-known one. Typically a controller will implement a control algorithm which aims to maximise the energy captured from the environment, while being mindful of the need to keep the system operating within safe constraints.
Since wave energy is struggling to become economic, due to high capital and operational costs and significant safety and durability requirements, adding device intelligence via embedded computing to boost the power production for a relatively small marginal cost constitutes a sensible approach. High-performance control of WECs can be instrumental in making wave energy harvesting economic
A wide variety of WEC devices has been designed and tested in recent years, based on bottom-referenced or self-reacting principle, in order to recover energy from the waves. Dynamical equations are used to describe the behaviour of WECs in real sea conditions for either single or multi-body devices and most of the studies, including the present work, are based on linearised fluid-structure interaction.
Optimal control of wave energy converters require knowledge of future values of the excitation force generated by the fluid onto the device's hull, and potentially require the use of predictive algorithms. The loss in the accuracy of predictive algorithms limits the prediction window for practical real-time usage. Thus, updates have to be made to calculate future values of the wave excitation force experienced by the device's hull. A limited prediction horizon leads to a receding horizon type of control, and implies a relatively short computation time, suggesting the choice of pseudospectral methods for the efficient calculation of the optimal reference trajectory.
Receding horizon control has been popular in traditional control (feedback servomechanisms) since the 1980s, under the moniker of model-based predictive control (MPC) and has been recently applied to the energy maximisation problem in wave energy over the past decade, for example in “Maximisation of energy capture by a wave-energy point absorber using model predictive control”, Cretel, Julien A. M. et al., Proceedings of the 18th IFAC World Congress, Milano, Italy, August, pp. 3714-3721. 2011; and in “Constrained optimal control of a heaving buoy wave-energy converter”, Hals, Jurgen et al., Journal of Offshore Mechanics and Arctic Engineering 133, no. 1 (2011): 011401. MPC gives promising results, since it allows high performance levels to be reached while considering physical constraints, but suffers from significant computational demands. The realtime implementation of a model predictive controller for a wave energy device remains a complex and critical issue, and MPC control algorithms developed for wave energy converter (WEC) applications are almost impossible to implement, due to their very high computational requirements.
Control algorithms based on spectral methods offer an interesting alternative to MPC, as they can be used to solve optimal control problems under constraints using a specific parametrisation of the solution. Spectral methods have shown promise in computational aspects, offering the possibility of scaling in complexity/performance by changing the number of approximating basis functions. However, to date, only single period pseudospectral solutions have been presented in the renewable energy field—see for example “Numerical optimal control of wave energy converters,” G. Bacelli and J. V. Ringwood, Sustainable Energy, IEEE Transactions on, vol. 6, no. 2, pp. 294-302, 2015; and “Constrained control of arrays of wave energy devices,” International Journal of Marine Energy, G. Bacelli and J. Ringwood, vol. 34, pp. e53-e69, 2013, special Issue Selected Papers—{EWTEC2013}.
Fourier-type solutions are a natural choice for periodic phenomena. In the field of WECs, they would seem to be a natural choice because wave elevation, excitation force and radiation force are usually well described using Fourier analysis. However real-time control and finite time control horizons require approximations of non-periodic functions in order to simulate both transient and steady-state responses of the device, since the prediction horizon is limited, and wave surface elevation, fluid-structure interaction forces and body motion are usually described using spectral forms. Finite time horizons furthermore often involve boundary discontinuities which require increasing numbers of higher order harmonics to reach an accurate description, with consequent increased calculation overhead.
It is an object of the present invention to provide a novel control system and method.
There is provided a computer-implemented method of controlling a power take-off (PTO) of an energy converter apparatus having at least one body which receives energy from their environment and whose energy is absorbed by said PTO, the method comprising the steps of:
The method permits an efficient and accurate representation of the motion of the body, which can deal with boundary effects associated with receding horizon representations, and which is calculable in real time.
The term “pseudospectral” as used herein conforms with its normal meaning in the art, e.g. “referring to the solution of the defining equations on a grid of discrete points, {xi}, and the solution, f(xi), as determined at the grid points”—see Spectral Methods in Chemistry and Physics, B. Shizgal, Springer Science+Business Media, Dordrecht 2015.
Preferably, step (c) comprises:
The method preferably further comprises the step of tracking the trajectory of said body using a real time controller.
Preferably, said energy conversion apparatus is a wave energy converter system.
Preferably, said step of predicting the excitation force comprises observing incident wave motion on the apparatus and generating a prediction from said observed motion.
Preferably, said prediction horizon Hp is in the range of 0.5 to 30 seconds, more preferably 1 to 20 seconds.
Preferably, the state variables are truncated as a series of N basis functions where N is between 5 and 50, more preferably between 10 and 30.
There is also provided a processor programmed to implement any of the computer-implemented methods defined above.
There is further provided an energy conversion apparatus comprising at least one body which receives energy from its environment, a power take-off (PTO) configured to absorb energy from said body, and a processor programmed to implement the methods defined herein, outputting a control signal for said PTO.
The density of the sea water is fixed at ρwater=1025 kg/m3. The geometric characteristics are W=30 m, T=1 m, h=H=15 m, with the body density is assumed to be uniform and equal to ρbody=ρwater/8. The total mass of the device is given by m=ρbody×W×T×L≈58×103 kg. The device inertia along the x-axis, expressed at the centre of gravity, is IG=m(T2+H2)/12 and is expressed at the centre of the pivot linkage, I0=IG+m(H/2)2. The infinite frequency asymptote of the added inertia of the device, I∞=9.81×107 kgm2, and the kernel function K of the convolution product used to model the radiation force, are both determined using the potential code Aquaplus (described in G. Delhommeau, “Seakeeping codes aquadyn and aquaplus,” 19th WEGEMT School Numerical Simulation of Hydrodynamics: Ships and Offshore Structures, 1993), with K presented in
Irregular incident waves are considered, and the elevation of the free surface is determined using a Bretschneider spectrum (C. Bretschneider, “Wave variability and wave spectra for wind generated gravity waves,” Tech. Memo, No. 118. Beach Erosion Board, US Army Corps of Eng., Washington D.C., 1959), with a bandwidth of 2×10−2 Hz to 5×10−1 Hz and a frequency step df=5×10−3 Hz.
The excitation force is determined using the BEM code Aquaplus, based on the free surface elevation with randomly selected phases for the sinusoidal wave components.
The linear model is simulated in real time using a Runge-Kutta method, with a time step of Δt=10−2 s.
A control algorithm, as described further below, is applied to control the PTO force, with a prediction horizon, under which the optimization process is done, chosen as T=15 s. The number of basis functions used to approximate the solution is N=15. The sequential quadratic programming algorithm is run for a maximum of 15 iterations, leading to an acceptable ratio between convergence quality and computational time, as shown in
The upper loop predicts the excitation force over the prediction horizon, 12, then determines the reference trajectory, 14, using a pseudospectral method with half-range Chebyshev-Fourier (HRCF) basis functions, solved by a nonlinear programming method, such as sequential quadratic programming algorithm (SQP) (see M. J. Powell, “A fast algorithm for nonlinearly constrained optimization calculations,” in Numerical analysis. Springer, 1978, pp. 144-157) implemented in MATLAB via the fmincon function.
The lower loop facilitates tracking of the reference trajectory in real time. Trajectory generation is updated at a regular interval Ts and tracked 16 using a standard backstepping method (see P. V. Kokolovie, “The joy of feedback: nonlinear and adaptive,”’1992). A control force command is sent to the power take-off or PTO, 19, which imposes the control force on the WEC, 20. The resulting position and velocity as measured at the WEC are fed back to the trajectory tracking function 18 in the lower loop and to both the excitation force prediction function 12 and the trajectory generation function 14 in the upper loop.
In order to explain the operation of this algorithm in more detail, the mathematical basis for the algorithm is first established.
Problem Specification
The optimal control solution for renewable energy devices typically entails an energy production maximization over a given time horizon and under dynamical constraints dictating the allowable system behaviour. Consideration of physical limitations are also essential in the design of a realistic control algorithm and imply additional inequality constraints in the problem formulation. The cost function is defined by equation (2) and depends on the state and control functions, respectively x and u, of the considered system. The time horizon under which the absorbed energy is maximized is [t0,t0+T], where t0 ∈ R+ corresponds to the initial time and T ∈ R+ is the prediction time horizon. This prediction time horizon corresponds to the time window where the energy resource can be forecasted with an acceptable accuracy for use in a pseudospectral optimal control problem formulation. The interval [t0, t0+T] is mapped, for simplicity, into [−1,1], using the affine transformation (1).
where t ∈ [t0,t0+T] and τ ∈ [−1,1]. We consider the following finite-horizon and constrained optimal control problem,
where F corresponds to the absorbed power, H corresponds to inequality constraints and f represents the device dynamics.
Control Solution Outline
Pseudospectral method: The method of weighted residuals (MWR) is widely used in various engineering applications to solve boundary-value or eigenvalue problems by expressing the approximated solution in a finite subspace of a Hilbert space. The MWR can be also used for optimal control problems involving the minimization, or maximization, of a particular cost function while insuring that the state and control variables respect a specific system of dynamical equations and inequality constraints. The MWR derives an approximate solution for optimal control problems, insuring equality and inequality constraints by annulment of the residuals. Projections of the residuals on a finite dimensional space, spanned by a particular set of orthogonal functions, called trial functions, are cancelled. Unlike MPC, which effectively uses local zero-order holder (ZOH) functions to approximate the optimal solution, spectral methods are generally based on global functions defined over the complete control horizon. Various basis functions can be chosen to obtain an approximation of the optimal solution, and the choice of a particular basis is discussed in section II-B2. The choice of trial functions dictates the type of spectral method use, for example the Galerkin method, or collocation methods.
The cost function minimization, or maximization, is realized using nonlinear programming methods (see Y. Nesterov, A. Nemirovskii, and Y. Ye, Interior-point polynomial algorithms in convex programming. SIAM, 1994, vol. 13), such as sequential quadratic program algorithms, leading to interesting computational aspects since the solution is sought in a finite dimensional vector space.
Function approximation: Pseudospectral methods are based on an approximation of the state and control variables into a N-dimensional vector space E generated by an orthogonal basis of real functions, B={φ1, . . . , φN}. This approximation is usually realized using interpolation methods or truncated generalised Fourier series. Control and state variables are commonly rewritten as:
with Φ=[φ1, . . . , φN], Xi=[xi1, . . . , xiN]T and U=[u1, . . . , uN]T. A wide variety of basis functions can be used to approximate the state and control variables and the choice of a particular orthogonal base is mainly dictated by the specific requirements of the control problem.
Orthogonal wavelets are a large family of functions used for a wide variety of applications. For instance, Haar wavelets can be employed to solve nonlinear optimal control problems, Legendre wavelets constitute appropriate candidates for pseudospectral method basis sets for the resolution of various boundary value problems, and other wavelet families, such as Morlet wavelet, are widely used in signal processing in diversified domains. Orthogonal wavelet bases are typically generated through a scaling and shifting process leading to a significant number of derived basis functions.
Truncated Fourier series give satisfying approximations for relatively smooth functions and have been employed in pseudospectral optimal control, including in the wave energy field (see G. Bacelli and J. V. Ringwood, “Numerical optimal control of wave energy converters,” Sustainable Energy, IEEE Transactions on, vol. 6, no. 2, pp. 294-302, 2015). Fourier approximations are particularly well adapted to wave signal approximations and constitute a good first choice for pseudospectral resolution. For finite time horizon control, the Fourier basis requires periodicity of the approximated functions in order to avoid the Gibbs phenomenon on the boundaries. Since the Fourier basis generates only periodic functions, different boundary values of the approximated functions lead to discontinuities and higher frequency harmonics are needed to obtain a correct approximation. In F. Huankun and C. Liu, “A buffer fourier spectral method for non-periodic pde,” International Journal of numerical analysis and modeling, vol. 9, no. 2, pp. 460-478, 2012, a solution has been proposed to avoid such discontinuities by adding a buffer polynomial to construct an extended periodic function after which a standard Fourier pseudospectral method is applied. Lagrange polynomials are commonly used in Legendre methods, Chebyshev methods, or more generally in Jacobi methods, to interpolate or approximate the control and state variables. A certain amount of precaution has to be taken in the choice of the collocation points in order to avoid the Runge phenomenon during the interpolation.
In the present invention, to deal with realtime control and finite time control horizons requiring approximations of non-periodic functions in order to simulate both the transient and steady state responses of the device, we employ a basis employing HRCF functions, presented in more detail below.
By way of example,
3) Solution route outline: As indicated when introducing
Half-Range Chebyshev Fourier Functions
A. Half-Range Chebyshev Polynomials
In D. Huybrechs, “On the fourier extension of nonperiodic functions,” SIAM Journal on Numerical Analysis, vol. 47, no. 6, pp. 4326-4355, 2010, HRCF functions were introduced. An orthogonal basis for non-periodic functions is determined, based on half-range Chebyshev polynomials of the first and second kind. Half-range Chebyshev polynomials of the first and second kind of order k, Tkh and Ukh respectively, are orthogonal with lower order monomials with respect to the weights 1/√(1−y2), for the first kind, and √(1−y2) for the second kind, on the interval [0,1]. Definitions of Tkh and Ukh are given in B. Orel and A. Perne, “Chebyshev-fourier spectral methods for nonperiodic boundary value problems,” Journal of Applied Mathematics, vol. 2014, 2014, based on the Huybrechs 2010 work.
Definition 1. Let Tkh(y) be the unique normalized sequence of orthogonal polynomials satisfying
The set {Tkh(y)}k=0∞ is a set of half-range Chebyshev polynomials of the first kind.
Definition 2. Let Ukh(y) be the unique normalized sequence of orthogonal polynomials satisfying
The set {Ukh(y)}k=0∞ is a set of half-range Chebyshev polynomials of the second kind.
B. Solution to the Approximation Function Problem
One way to obtain the Fourier series of any nonperiodic function f ∈ L[−1,1]2 is to extend f to a periodic function g defined in a larger interval, in this case [−2,2]. Determination of the Fourier extension of f can be stated as an optimization problem.
Problem 1. Let Gn be the space of 4-periodic functions of the form
The Fourier extension of f to the interval [−2,2] is the solution to the optimization problem
Huybrechs (supra) proved the existence and uniqueness of the solution of the problem 1, based on orthogonal polynomials called half-range Chebyshev Fourier polynomials. Two sets
are introduced, constituting an orthonormal basis for, respectively, the (n+1) and n dimensional spaces spanned by the 4-periodic, respectively, cosine and sine functions. The exact solution of Problem 1 is thus directly found by an orthogonal projection of f, as expressed in equation (11).
As was shown by B. Orel, the sets of basis functions
can be employed in the resolution of a non-periodic boundary value problem using pseudospectral methods (see B. Orel and A. Perne, “Chebyshev-fourier spectral methods for nonperiodic boundary value problems,” Journal of Applied Mathematics, vol. 2014, 2014).
C. Computation with Half-Range Chebyshev Polynomials
Based on the HRCF functions, B. Orel developed in an efficient method of calculation of the derivatives of truncated HRCF series (see B. Orel and A. Perne “Computations with half-range chebyshev polynomials,” Journal of Computational and Applied Mathematics, vol. 236, no. 7, pp. 1753-1765, 2012). Let gn be the truncated HRCF series of a function f ∈ L[−1,1]2, so that
The derivative of gn is then defined by equation (15).
In matrix form, D ∈ R(n+1)×(2n+1) is defined such that f=Df, where f=[a0, . . . , an,b0, . . . , bn−1]T and f′=[a′0, . . . , a′n,b′0, . . . , b′n−1]T (See “Computations with half-range chebyshev polynomials,” Journal of Computational and Applied Mathematics, vol. 236, no. 7, pp. 1753-1765, 2012.) The differentiation matrix D is written in the following form,
where the matrices H1 ∈ R(n+1)×n and H2 ∈ Rn×(n+1) are not expanded here for brevity; a complete exposition is to be found in B. Orel and A. Perne “Computations with half-range chebyshev polynomials,” Journal of Computational and Applied Mathematics, vol. 236, no. 7, pp. 1753-1765, 2012.
In the same manner, the Orel & Perne (2012) paper presents a matrix formulation to determine the truncated series coefficients of the product pn=gn,hn of truncated series of an arbitrary function f ∈ L[−1,1]2 and a known function h ∈ L[−1,1]2. In matrix form,
a matrix F ∈ R(2n+1)×(2n+1) is defined such that p=Ff, where p=[a′0, . . . , a′n,b′0, . . . , b′n−1]T and f=[a0, . . . , an,b0, . . . , bn−1]T, with
where the matrix G1 ∈ R(n+1)×(n+1), G2 ∈ R(n+1)×n, G3 ∈ Rn×(n+1) and G4 ∈ Rn×n are functions of the coefficients of the truncated series gn that approximates the known function h, and are defined in the Orel & Perne (2012) paper.
The convolution product between an arbitrary causal function f ∈ L2(R) and a known causal function h ∈ L2(R) is defined by equation (18).
(f*h)(t)=∫0tf(s)·h(t−s)ds, ∀t ∈ + (18)
Convolution products can occur in dynamical equations describing physical systems and an illustration is given in the chosen wave energy converter application below where the fluid-structure interaction force, more specifically the radiation force, involves a convolution product with the radiation kernel function and the velocity of the floating body.
The determination of the radiation force is generally achieved using various approximation methods, generally leading to a state-space model of the convolution product, see T. Perez and T. I. Fossen, “Time-vs. frequency-domain identification of parametric radiation force models for marine structures at zero speed,” Modeling, Identification and Control, vol. 29, no. 1, pp. 1-19, 2008. For example, Prony's method (G. Prony, “Essai experimental et analytique, etc,” J. de l'Ecole Polytechnique, vol. 1, no. 2, pp. 24-76, 1975) approximates the radiation kernel function by a sum of complex exponentials, creating new state variables with their respective partial differential equations. Using such approximations will result in the unwelcome increase in the dimension of the function f(x,u), taking into account new radiation state variables.
In the present embodiment, a direct approximation of the radiation kernel function is achieved using the HRCF functions. The coefficients of the truncated HRCF series of the convolution product c=[a′0, . . . , a′n, b′0, . . . , b′n−1]T between an arbitrary function f ∈ L[−1,1]2 and the known kernel function is given by:
c=Pf, (19)
where f=[a0, . . . , an, b0, . . . , bn−1]T is the vector of coefficients of the truncated HRCF series of f, and P ∈ R(2n+1)×(2n+1) is the convolution matrix depending on the kernel function of the convolution product. A direct application on hydrodynamic radiation convolution product is presented in an appendix.
As discussed previously, real-time wave energy control algorithms deals with nonperiodic signals, since the prediction horizon is limited, and wave surface elevation, fluid-structure interaction forces and body motion are usually described using spectral forms. The choice of HRCF functions appears to fit all the requirements needed to solve the WEC optimal control problem with a pseudospectral method.
Furthermore, the exponential rate of convergence of the Fourier series of the extended periodic function offers a better rate of convergence than extensions realized with the use of cut-off functions (see D. Huybrechs, “On the fourier extension of nonperiodic functions,” SIAM Journal on Numerical Analysis, vol. 47, no. 6, pp. 4326-4355, 2010; and F. Huankun and C. Liu, “A buffer fourier spectral method for non-periodic pde,” International Journal of numerical analysis and modeling, vol. 9, no. 2, pp. 460-478, 2012).
For clarity, we consider a wave energy device with only one degree of freedom. The fluid is assumed to be inviscid and the flow incompressible, allowing the use of potential theory to determine fluid-structure interactions. The body displacement and the amplitude of the wave field are considered small enough to use linearised potential theory, leading to a linear equation of motion of the device, or Cummin's equation (see W. Cummins, “The impulse response function and ship motions,” DTIC Document, Tech. Rep., 1962), defined by:
(I+I∞){umlaut over (x)}+∫0tK(t−s){dot over (x)}(s)ds+Shx=Fex+Fc, (20)
where, x,{dot over (x)},{umlaut over (x)} are the body displacement and its first and second derivatives, Fc is the control force, m is the mass or inertia of the body (depending on the type of degree of freedom considered), μ∞ corresponds to the infinite frequency added mass of the device, K is the kernel function for the radiation convolution product, used to determine radiation forces from the velocity of the body, Sh is the linearised hydrostatic stiffness and Fex corresponds to the wave excitation force, or Froude-Krylov force, experienced by the device. Recent control approaches for nonlinear wave energy converter models based on pseudospectral method are presented in G. Li, “Nonlinear model predictive control of a wave energy converter based on differential flatness parameterisation,” International Journal of Control, pp. 1-10, 2015.
From (20) and using the affine transformation
we define the scaled excitation force fex=Fex ∘ g, the kernel function of the radiation convolution product k=K ∘g, position x1=x ∘ g, velocity x2={dot over (x)} ∘ g and control force u=Fc ∘ g, leading to the system of differential equations (21):
where g−1(0)=−1−2t0/T is the antecedent of 0 from the affine transformation g. The system of differential equations (21) defines the equality constraints in the optimal control problem (2), specifying the function f of the state variable x=[x1,x2]T and the control variable u via the following equation,
Practical limitations are considered on the body motion, control force and power output, to ensure feasibility of the control, and the safety and durability of the wave energy device in real sea conditions. For all τ ∈ [−1,1],
where Xmax, Vmax, Umax are real positive constants corresponding to position, velocity and control force limitations determined in advance to ensure feasibility and safety. Inequality constraints are rewritten in a matrix form using approximation functions, and ∀τ ∈ [−1,1],
where X=[X1T,X22,UT]T represents the projections of the state and control variables, Xmax=[Xmax,VmaxUmax]T represents position, velocity and control force limitations, I3 the 3-dimension identity matrix and ⊗ denotes the Kronecker product. Equation (24) specifies the linear function H from the optimal control formulation in (2).
Finally, the cost function, representing the absorbed energy, is written using the approximation functions, in the following form,
J=−∫
−1
1
U
TΦT(τ)Φ(τ)X2dt (25)
The cost function J represents the recovered energy by the control through the control force u, determined by integrating instantaneous absorbed power over the control horizon. In the case of orthonormal approximation functions, with respect to the inner product, ϕi,φj=∫−11ϕi(τ)ϕj(τ)dt, the cost function described in equation (25) is simplified into the form J=−UTX2.
Replacing state variable derivatives terms and convolution terms coming from the determination of the radiation force in the expression of f from equation (21), one can express the two residual terms r1 and r2 as
Trial functions used by pseudospectral methods are Dirac distributions, leading to the cancellation of residual terms at particular instants, or collocation points. The interval [−1,1] is covered by N+1 collocation points i.e. Chebyshev points of the second kind.
Cancellation of the first residual term r1 at the collocation points leads to N+1 equations. The cancellation of the second residual term r2 can be simplified, leading to N+1 equations linking the velocity and position projection vectors X1 and X2, as
This leads to 2N+2 dynamical equations determining, for a given projection vector U of the control variable u, the 2N+2 variables composed of the N+1 components of X1 and X2.
Various control algorithms, such as PID (see Y. Choi and W. K. Chung, PID trajectory tracking control for mechanical systems. Springer, 2004, vol. 298), sliding control (see V. Utkin, J. Guldner, and J. Shi, Sliding mode control in electromechanical systems. CRC press, 2009, vol. 34) or backstepping control (see S. M. Rozali, M. Rahmat, and A. R. Husain, “Backstepping design for position tracking control of nonlinear system,” in Control System, Computing and Engineering (ICCSCE), 2012 IEEE International Conference on. IEEE, 2012, pp. 77-82), can be used to realise the tracking of the reference trajectory.
For the wave energy device case study, the chosen lower control loop is based on a backstepping method and is described now. The variables x1 and x2 refer, respectively, to the position and the velocity of the device, and the reference position and velocity trajectories are denoted, respectively, by x1,ref and x2,ref. x1,ref and x2,ref are known and determined previously by the upper control loop.
We can define the function V1 depending on the error e1=x1−x1,ref, as
V
11/2e12 (29)
In order for V1 to be Lyapounov stable, we define the desired velocity x′d=x2,ref−τ1e1 and the function V2, as
V
2
=V
1+1/2e22, (30)
where e2=x2−x2,ref. The derivative of V2 is
{dot over (V)}
2=−τ1e22+e2(e1+{umlaut over (x)}−{umlaut over (x)}d) (31)
Replacing the expression for the acceleration {umlaut over (x)} from Cummin's equation (20) in the derivative function V2, we obtain
where * denotes the convolution product. In order for V2 to be Lyapounov stable, the control force u has to be of the following form,
F
c=(I+I∞)(e1−{umlaut over (x)}d+τ2e2)−Fex+Shx+K*{dot over (x)} (33)
Reverting now to the geometry shown in
In
In the right hand side of the flowchart 40, a real time loop is implemented. The excitation force is estimated 42 based on sensor data (e.g. a wave buoy). Then in a moving window with period Tp, the current velocity and position of the moving body are set as the initial conditions, allowing definition of the convolution function c0(t), step 44.
In step 46, the excitation force is approximated using generalised truncated half-range Chebyshev-Fourier (HRCF) basis functions, allowing the previously described mathematical treatment to be applied to the system.
In step 48, the control problem is solved, taking the pre-computed parameters from the left-hand side 30 of the flowchart, cancelling the residuals and determining the maximum energy achievable over the future window, based on the relationship J=UTX, and the dynamical equations describing the relationship between the projection vector U of the control variable u, and the components of X1 and X2. The number of equations is (2N+1) for the dynamical equation linking U, X1 and X2. This corresponds to the first residual term R1 in equation 28, that we cancel at (2N+1) collocation points. There are also (2N+1) equations linking X1 and X2, which corresponds to the second residual term R2 in equation (28). Thus, the vectors U,X1 and X2 lead to 3*(2N+1) variables. Cancellation of R1 and R2, results in 2*(2N+1) equations. The algorithm has thus (2N+1) degrees of freedom to choose the optimal coefficients of the control force U.
The output 50 is a reference trajectory and reference control force which are passed to the real time controller 16 (
The results are presented for the system of
It can be seen from these results that the application of pseudospectral methods for the real-time receding-horizon energy maximisation problem provides an excellent solution due to the choice of a basis function that can cater for both transient and steady-state response components. In particular, to approximate non-periodic functions, specific adjustments need to be made, for example using cut-off functions to ensure periodicity. HRCF functions complement Fourier analysis and satisfy the non-periodicity requirement without introducing bias, via the direct transformation of the input variable, and some additional computation, since HRCF functions are directly implementable in the pseudospectral approach.
The method described herein is adjustable in computational complexity in order to match real-time requirements. The number of basis functions employed and the number of iterations in the optimization process constitute variables that have to be adapted to the control hardware limitations. The number of basis functions corresponds to the dimension of the space where the optimization algorithm searches for a solution, hence, the computational time can be reduced if the solution depends only on few variables. Pseudospectral methods present a pragmatic approach to solve optimal control problems, and allows path limitations that ensure safety and durability of the wave energy device to be taken into account.
The solution according to the invention suits renewable energy systems, where the objective is to maximise converted energy, subject to the retention of stability and adherence to physical system constraints. In particular, the HRCF basis function set is well suited to the wave energy control problem, where the excitation force and system variables are well modelled using harmonic signals. The example case study shows that the developed real-time controller can achieve energy capture rates approaching the theoretical optimum, for a flap-type wave energy converter. The same approach can be used for other energy converter apparatuses, by following the same steps of parametrising the model and the excitation force in HRCF terms, approximating the state and control functions using truncated HRCF series, and solving the resulting optimal control problem by cancellation of the residuals.
Cummins' equation (20) involves the determination of a convolution product in order to estimate part of the radiation force acting on the device hull. The convolution product between the scaled velocity x2 of the device and the scaled radiation kernel function k, is split into two terms c0 and c,
For s ∈ [g−1(0),−1], x2 corresponds to past values of the velocity, and is thus known. The first part of the convolution product, c0, is directly computed based on past velocity values. Replacing the state variable x2 in the second term c, by its HRCF truncated series, defined in equation (36), get
The orthogonal projection of ck over each basis function φj is pkj and defined by equation
p
kj=∫−11ck(τ)ϕj(τ)dτ (39).
Finally, the matrix P=[pkj]kj is used to define the radiation force, so that
The expression for the convolution term is replaced in the expression of the equality constraints (21), i.e. inside the function f.
Number | Date | Country | Kind |
---|---|---|---|
16166753.0 | Apr 2016 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2017/059567 | 4/21/2017 | WO | 00 |