Disclosure of Invention
The invention aims to provide a control method of a two-body wave energy conversion device with nonlinear mooring force, which solves the problem of nonlinearity of the two-body wave energy conversion device by utilizing a piecewise affine technology, and defines switching rules among different piecewise affine partitions by mathematical characterization so as to ensure that a wave energy conversion closed-loop system hasRandom stability of performance.
In order to achieve the above purpose, the invention adopts the following technical scheme:
The control method of the two-body wave energy conversion device with the nonlinear mooring force is realized based on a two-body wave energy conversion device system built in advance, and the two-body wave energy conversion device system comprises a floater system, a cylinder system and a power transmission module;
the invention relates to a control method of a two-body wave energy conversion device with nonlinear mooring force, which comprises the following steps:
Step 1, respectively establishing dynamic models of a float system and a column system, and then converting the established dynamic models into a state space model of a two-body wave energy conversion device based on a piecewise affine approximation technology;
Step 2, obtaining a wave energy conversion closed-loop system based on the combination of a state space model and a state feedback segmented affine controller of the two-body wave energy conversion device, and combining the segmented Lyapunov function to calculate and ensure random stability of the wave energy conversion closed-loop system The performance index and the controller gain establish a state feedback piecewise affine controller of the two-body wave energy conversion device;
step 3, realizing control of the two-body wave energy conversion device with nonlinear mooring force by using a state feedback piecewise affine controller of the two-body wave energy conversion device, and ensuring that a wave energy conversion closed-loop system has Random stability of performance.
In addition, on the basis of the control method of the two-body wave energy conversion device with the nonlinear mooring force, the invention also provides a computer device, which comprises a memory and one or more processors;
the memory stores executable code, and the processor is used for realizing the control method of the two-body wave energy conversion device with the nonlinear mooring force when executing the executable code.
In addition, on the basis of the control method of the two-body wave energy conversion device with the nonlinear mooring force, the invention further provides a computer readable storage medium, wherein a program is stored in the computer readable storage medium, and the program is used for realizing the control method of the two-body wave energy conversion device with the nonlinear mooring force when being executed by a processor.
The invention has the following advantages:
As described above, the present invention provides a control method of a two-body wave energy conversion device with nonlinear mooring force, firstly, utilizing the advantage of piecewise affine technology to have good precision, providing an effective solution for approximating the nonlinear problem of the two-body wave energy conversion device, namely, adopting piecewise affine approximation technology to approximate the nonlinear mooring force in a wave energy conversion system, dividing the state space of the nonlinear mooring force into a plurality of piecewise affine sub-partitions, approximating the nonlinear function in each sub-partition by a corresponding piecewise affine function, the more divided piecewise affine sub-partitions are approximated, the more the approximation of the nonlinear function is accurate, then, in order to describe the mathematical characteristics of the switching process of the system state between different piecewise affine sub-partitions, the present invention provides a novel piecewise affine partition dividing rule, the process of maintaining the system state at the current partition or reaching other partitions at the next moment is described by a certain quantitative probability form, the switching process from the current partition to the next random partition is defined by effective mathematical characterization, the visualization of the switching process between different piecewise affine sub-partitions is realized, finally, the piecewise affine function is adjusted to ensure that the closed-loop affine system has a closed-loop control structure for the precise state of each piecewise affine function is established Adequate conditions for random stability of performance.
Detailed Description
The invention is described in further detail below with reference to the attached drawings and detailed description:
Example 1
The embodiment 1 describes a control method of a two-body wave energy conversion device with nonlinear mooring force, which comprises firstly converting a dynamic model of the two-body wave energy conversion device into a state space model, approximating the nonlinear mooring force by a piecewise affine technique, dividing the mooring force state space into a plurality of sub-partitions, approximating the nonlinear function in each sub-partition by a corresponding piecewise affine function, secondly designing a novel Markov partition rule for solving the mathematical characterization problem of the switching process of the system state between different piecewise affine partitions, and finally designing a state feedback piecewise affine controller by means of the piecewise Lyapunov function method and the concept of the set based on the proposed mathematical model to realize the two-body wave energy conversion device within the allowable error rangeControl purpose and calculate to ensure random stabilization of wave energy conversion closed loop systemPerformance index. The method can ensure that the wave energy conversion closed-loop system realizes random stability under the piecewise affine approximation and Markov partition rule.
Before describing the control method of the two-body wave energy conversion device with nonlinear mooring force in the invention, a two-body wave energy conversion device system is built in advance, and the two-body wave energy conversion device system comprises a floater system, a cylinder system and a power transmission module, as shown in fig. 7.
The float system is connected with the column system through a power transmission module, a water tank is connected below the column system, and a mooring device is connected below the water tank. The float system moves vertically along with the fluctuation of ocean waves, and the power transmission module converts mechanical energy generated by the float system into electric energy to be input into the storage unit of the cylinder system. The power transmission module further comprises a control unit, and the control of the two-body wave energy conversion device is realized through the control unit. The water tank not only can keep the vertical form of the two-body wave energy conversion device, but also can provide refrigeration and cooling functions. The mooring device can fix the two-body wave energy conversion device on the sea bottom, and the two-body wave energy conversion device is prevented from horizontally moving along with ocean currents. The mooring device in this embodiment is an eight-cable mooring configuration that is a double-deck structure, with four cables distributed to each deck.
As shown in fig. 1, the control method of the two-body wave energy conversion device with nonlinear mooring force comprises the following steps:
And 1, respectively establishing dynamic models of a float system and a column system, then converting the established dynamic models into a state space model of the two-body wave energy conversion device based on a piecewise affine approximation technology, and establishing the two-body wave energy conversion system model based on the piecewise affine approximation and the Markov partitioning rule by designing a Markov partitioning rule.
The established kinetic models of the float system and the column system are shown in the formula (1):
(1)
Wherein, AndThe accelerations of the float and the cylinder, respectively; And Representing the mass of the float and the cylinder, respectively; a control input representing a power transmission module; And Representing the wave-induced forces acting on the float and the cylinder, respectively; And The radiant forces of the float and cylinder, respectively; And Representing the coupling radiation force; Representing hydrostatic forces; representing the nonlinear mooring forces securing the two-body wave energy conversion device to the sea floor.
、、、、、The kinetic equations of (2) are expressed as:
(2)
Wherein, AndIndicating the positions of the float and the cylinder, respectively; And Indicating the speeds of the float and the cylinder, respectively; And Representing the additional mass of the float and column, respectively, at infinite frequency; Representing the hydrostatic stiffness; And The radiation damping coefficients of the float and the cylinder are respectively represented; And Representing the conductive forces of the float and the cylinder, respectively, based on the principles of fluid mechanics. In the prior method, eight-cable mooring configuration is used to construct nonlinear mooring forceThe mooring device can effectively anchor the two-body wave energy conversion device to the sea floor, avoiding translation with ocean currents. Eight cables extend from the mooring device in four directions and are evenly distributed in two groups on two layers of different heights.Representing the stiffness of a single cable; Indicating the length of the cable.
Nonlinear mooring forceThe approximation with the piecewise affine model is expressed as:
(3)
Wherein, AndRepresenting a matrix of piecewise affine parameters,AndIn common with the variation of the cable force parameter,The index of the partition is represented and,,Representing a set of all segmented affine partition indices,Represents the total number of segmented affine partition indexes and satisfiesWhereinRepresenting a set of segmented affine partition indices containing the origin,Representing a set of segmented affine partition indices that do not contain an origin, ifThen there is。
In order to be able to perform an in-depth analysis of the two-body wave energy conversion device, it is necessary to build a continuous time state space model based on piecewise affine approximation. After simple mathematical transformation, the dynamic model of the float system and the column system described in the formula (1), namely the dynamic model of the two-body wave energy conversion device, is deformed into:
(4)
then the coupling term needs to be eliminated AndEquation (4) is restated as:
(5)
Wherein the method comprises the steps of ,。
Next, define the state vector as,Representation ofA Willide space, andThe initial conditions are indicated to be such that,Representing a column matrix.
The state space model of the two-body wave energy conversion device based on the piecewise affine approximation is expressed as follows in combination with the piecewise affine model given by the formula (3) and the formula (5):
(6)
Wherein:
,;
;
,,,。
the control input is represented as such, AndRespectively represent wave excitation forceAndBoth are considered disturbance inputs.
Then equation (6) is rewritten as:
(7)
Wherein, The measurement output is represented by a representation of the measurement output,,Representation ofA wieuclidean space; representing a system matrix, wherein ,,。
Defining convex polyhedron partitions asWhereinAndRepresenting a constant matrix.
Definition of the definitionRepresent the firstThe state space of each segmented affine partition, then all segmented affine partition state spaces are combinedAnd there is no intersection between the individual piecewise affine partition state spaces.
In addition, to process additional affine terms generated by piecewise affine approximation techniques, use is made ofThe process combines an ellipsoid outsourcing approximate estimation method. Introducing an ellipsoidal approximation setThe method comprises the following steps:
(8)
If it is ,,The following steps are:
;
Wherein, AndThe constant is represented by a value that is a function of,Representing a matrix of suitable dimensions.
In order to describe the random switching phenomenon of states in the wave energy conversion system approximated by the piecewise affine model, a new switching rule based on Markov process transition probability is constructed as follows:
(9)
Wherein, The transfer process is indicated as such,Represent the firstThe state space of the affine partition is segmented,Representing system state slave segment affine partitionsSwitching to segmented affine partitioningIs used for the transition probability of (1),The instant of time is indicated and the time of day,AndThe current time and the next time of the state are represented respectively.
If the current partition index isThen the next partition index may be;
If the current partition index isThen the next partition index may be;
If the current partition index isThen the next partition index may be。
Then giving a transition probability matrixThe following are provided:
(10)
Wherein, ,。
According to the nature of the transition probability matrix, the elements on the diagonal of the matrix represent the probability that the system state does not switch at the next moment, i.e. the state is still in the current piecewise affine partition. Other elements represent the probability of the system state switching to other piecewise affine partitions at the next time.
Step 2, obtaining a wave energy conversion closed-loop system based on the combination of a state space model and a state feedback segmented affine controller of the two-body wave energy conversion device, and combining the segmented Lyapunov function to calculate and ensure random stability of the wave energy conversion closed-loop systemAnd (3) setting up a state feedback piecewise affine controller of the two-body wave energy conversion device by using the performance index and the controller gain.
In order to ensure the stability of the continuous-time two-body wave energy conversion system based on the piecewise affine model approximation shown in the formula (7), a state feedback piecewise affine controller is designed as follows:
(11)
Wherein the method comprises the steps of AndRepresenting the state feedback segmented affine controller gain and affine gain to be calculated, respectively, and. If it isThen there is. Combining equations (7) and (11) yields the following wave energy conversion closed loop system:
(12)
Considering the continuous-time two-body wave energy conversion system in equation (7) and the state feedback segmented affine controller of equation (11), if a matrix with appropriate dimensions is present 、、,And scalar quantity、,And the following condition holds:
(13)
(14)
Wherein, A transpose item representing a diagonal matrix;
(15)
Wherein, AndRepresenting a matrix having a suitable dimension number,Representing the identity matrix of the cell,Representing system state slave segment affine partitionsSwitching to segmented affine partitioningIs used for the transition probability of (1),,Representing the sum of the target object itself and its transpose. The wave energy conversion closed loop system of equation (12) is randomly stable and satisfiesPerformance index。
Further, the state feedback piecewise affine controller gain is calculated as:
(16)
Wherein, Setting upAndThe following type of piecewise Lyapunov function is constructed:
(17)
Definition of the definition Is thatIs an infinitesimal operator, resulting in:
(18)
Wherein the method comprises the steps of ,,,Representing the mathematical expectation that the data will be,The transfer process is indicated as such,Represent the firstThe state space of the affine partition is segmented.
(19)
To process affine items, by usingThe process is combined with an ellipsoid outsourcing approximate estimation method to obtain:
(20)
Wherein:
(21)
Given scalar quantity ,The method comprises the following steps of:
(22)
Definition of the definition ,Representing the minimum lower bound, yields:
(23)
;
The method further comprises the following steps:
(24)
Then, the following steps are obtained:
(25)
to sum up, the two-body wave energy conversion system based on the piecewise affine model approximation in the formula (7) is randomly stable.
According to the Lyapunov function shown in equation (17),,Sum infinity operatorThe method comprises the following steps of:
(26)
Wherein the method comprises the steps of 。
(27)
(28)
Multiplying the left and right sides of equation (27) by respectively using congruent transformationsAnd its transpose. By setting upAndThe method comprises the following steps of:
(29)
Wherein:
(30)
Then the following is obtained Performance index function:
(31)
Wherein the method comprises the steps ofRepresenting the state of the system when the time goes to infinity,Indicating the state of the system at time zero,Representing the Lyapunov function when time tends to infinity,Representing the Lyapunov function at time zero.
Next, use is made ofAffine partition by combining process with ellipsoid outsourcing approximate estimation method,And performing approximation.
Ellipsoid bodyExpressed as:
(32)
by combining formulas (29) to (32), given ,The method comprises the following steps of:
(33)
(34)
Wherein, Representation ofThe performance index of the product is that,Representing the identity matrix.
(35)
Definition of the definition,,If inequality (14) is satisfied, there isEstablishment indicates that the wave energy conversion closed loop system in equation (12) is randomly stable and satisfiesPerformance index。
Further, the state feedback piecewise affine controller gains are calculated as:
(36)
step 3, realizing control of the two-body wave energy conversion device with nonlinear mooring force by using a state feedback piecewise affine controller of the two-body wave energy conversion device, and ensuring that a wave energy conversion closed-loop system has Random stability of performance.
In addition, in order to verify the feasibility of the control method proposed by the present invention, the following specific experiments are also presented.
Table 1 actual parameters of two-body wave energy conversion device
The actual parameters of the two-body wave energy conversion device are shown in table 1, the state space of the two-body wave energy conversion device approximated based on the piecewise affine technology is divided into seven partitions, and the system matrix parameters are as follows:
;
;
;
;
Wherein the method comprises the steps of ,。
Given transition probability matrix,The parameters of (2) are as follows:
。
Setting up Under initial conditionsNext, fig. 2 to 4 show the state trajectories of the two-body wave energy conversion device respectively acted on by the no-controller, the state feedback piecewise linear controller, and the state feedback piecewise affine controller.
In which in figures 2 to 4,、、、All representing a state vector.
Fig. 5 shows the dynamic change of the state of the two-body wave energy conversion device in different partition switching.
As can be clearly seen from fig. 2 to 5, the state trace of the wave energy conversion open loop system is divergent without the controller under the change of partition, while the state trace of the wave energy conversion closed loop system can be converged by the state feedback piecewise linear controller, the stateStill a large jitter amplitude exists. In contrast, all state trajectories of the wave energy conversion closed-loop system adopting the state feedback piecewise affine controller can be converged rapidly, which shows that the state feedback piecewise affine controller designed by the invention has better applicability than a state feedback piecewise linear controller in a two-body wave energy conversion device.
Furthermore, state feedback piecewise affine controller gainAnd,And respectively calculating to obtain:
;
;
;
;
;
;
;
;
。
then given disturbance input The following are provided:
;
By passing through Sixteen actual sets of calculationsPerformance index.
FIG. 6 shows the actual results respectivelyPerformance index and optimizationPerformance index。
As can be seen from fig. 6, the control method of the two-body wave energy conversion device with nonlinear mooring force according to the present invention is all practicalThe performance index is less than the optimal value. Thereby verifying the piecewise affine of the inventive designThe control scheme is optimal for the two-body wave energy conversion device based on piecewise affine technology approximation.
Example 2
Embodiment 2 describes a computer device including a memory and one or more processors. The memory stores executable codes, which when executed by the processor, are used to implement the steps of the control method of the two-body wave energy conversion device with nonlinear mooring force in the above-described embodiment 1.
In this embodiment, the computer device is any device or apparatus having data processing capability, which is not described herein.
Example 3
Embodiment 3 describes a computer-readable storage medium having a program stored thereon, which when executed by a processor, is configured to implement the steps of the control method of the two-body wave energy conversion device with nonlinear mooring force in embodiment 1 described above.
The computer readable storage medium may be any internal storage unit of a device or apparatus having data processing capability, such as a hard disk or a memory, or may be any external storage device of a device having data processing capability, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), an SD card, a flash memory card (FLASH CARD), or the like, provided on the device.
The foregoing description is, of course, merely illustrative of preferred embodiments of the present invention, and it should be understood that the present invention is not limited to the above-described embodiments, but is intended to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.