An optimal power control method for a multi-source coordinated power generation system

By applying zero-sum game theory and adaptive dynamic programming algorithm to the wave energy and photovoltaic collaborative power generation system, we design the power generation mechanism model and performance index function, and use the neural network iterative solution and optimal control law to solve the problems of the wave energy power generation system. The problem of irregularity and randomness of photovoltaic power generation improves the robustness and anti-disturbance ability of the system and achieves the stability of power generation.

CN117439193BActive Publication Date: 2024-09-10GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311430159.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2024-09-10
Estimated Expiration
2043-10-31

AI Technical Summary

Technical Problem

In the wave energy power generation system, due to irregular wave generator electrodes and equipment being easily eroded by seawater, the power generation is unstable, and photovoltaic power generation is random and intermittent, making it difficult to achieve stable operation of the wave energy and photovoltaic collaborative power generation system.

Method used

The optimal power control method of multi-source collaborative power generation system is adopted, using zero-sum game theory and adaptive dynamic programming algorithm to calculate the optimal collaborative control strategy in real time based on historical wave fluctuation data. By designing the power generation mechanism model and performance index function, combined with The neural network iteratively solves the optimal control law to improve the system's robustness and anti-disturbance capabilities.

Benefits of technology

It achieves uninterrupted power generation of the wave energy and photovoltaic collaborative power generation system, improves the system's robustness and anti-disturbance capabilities, solves the irregularity problem of the wave energy and photovoltaic collaborative power generation system, and enhances the reliability of energy transformation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117439193B
    Figure CN117439193B
Patent Text Reader

Abstract

The present invention provides an optimal power control method for a multi-source cooperative power generation system, and belongs to the technical field of multi-energy combined power generation systems on the sea surface. By designing the power generation performance index corresponding to the power generation mechanism model of the cooperative power generation system, the optimal control scheme for improving the anti-disturbance capability of the multi-source cooperative power generation system is solved. At the same time, for solving the optimal control scheme, an adaptive dynamic programming algorithm is used. Under the premise that the system dynamics are unknown, the optimal performance index function, control variables and disturbance quantities are solved respectively with the help of a neural network, thereby obtaining the optimal control law of the multi-source cooperative power generation system. When applied to wave energy and photovoltaic cooperative power generation systems, the present invention can obtain the approximate optimal control law of wave energy, photovoltaic power generation and batteries in real time based on historical wave disturbance data, while maintaining the uninterrupted power generation of the system, solving a series of problems caused by irregular waves and external disturbances, and improving the robustness and anti-disturbance capability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of sea surface multi-energy combined power generation systems, and specifically relates to an optimal power control method for a multi-source coordinated power generation system. Background Art

[0002] In recent years, due to the increasing severity of a series of environmental problems such as global warming caused by the overuse of fossil energy, major economies such as China, the United States, Japan and South Korea have successively formulated national carbon neutrality goals, and accelerating the transition to clean energy has become an international consensus. It is an inevitable trend to build a new power system that meets the rapid development of social economy, with clean energy as the main supply, and has the basic characteristics of clean and low-carbon, safe and controllable, flexible and efficient, intelligent and friendly, and open and interactive.

[0003] my country has a vast sea area, which contains extremely rich wave energy resources. Wave energy is the clean energy with the highest known energy acquisition efficiency and actual efficiency: the actual conversion efficiency of solar energy is only 35%; the actual efficiency of wind energy is less than 50%; and the experimental efficiency of wave energy can reach up to 80%, which also proves that the relevant optimization technology of wave energy has broad market prospects and development value, and has the possibility of recovering research and equipment costs in the short term.

[0004] After decades of rapid development, scholars from all over the world have invented more than 300 types of ocean wave power generation devices and more than 6,000 wave energy-related patents. However, due to the complex marine environment, the influence of weather, the irregularity of wave generation, the unstable power generation, and the fact that wave power generation devices are easily corroded by seawater, there are relatively few wave power generation devices actually put into operation.

[0005] To solve the above problems, researchers from various countries have analyzed wave energy and designed corresponding hydraulic transmission systems, and have conducted a lot of scientific research on power control strategies. The most reasonable structure is the wave energy-photovoltaic complementary power generation system. During the day, when the wave energy is not enough to maintain stable power generation, the photovoltaic power generation device can make up for the missing power, and the excess power can be stored in the battery to make up for the missing power when the photovoltaic power generation device stops running at night.

[0006] However, photovoltaic power generation has the characteristics of randomness, intermittency and periodicity, which leads to its unstable power generation. Therefore, it is of great strategic significance to analyze the controlled characteristics of wave energy and photovoltaic coordinated power generation system, design a reasonable wave energy photovoltaic coordinated control strategy, maintain the uninterrupted power generation of wave energy and photovoltaic coordinated power generation system, and improve the robustness and anti-disturbance ability of the system to accelerate my country's energy transformation and achieve the "dual carbon" goal. Summary of the invention

[0007] In view of this, the present invention aims to provide an optimal power control method for a multi-source cooperative power generation system including wave energy and photovoltaics. According to the historical wave fluctuation data, the optimal cooperative control strategy is calculated in real time by using zero-sum game theory and adaptive dynamic programming algorithm to improve the robustness and anti-disturbance ability of the system.

[0008] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0009] An optimal power control method for a multi-source cooperative power generation system comprises the following steps:

[0010] Obtain the power generation mechanism model of the multi-energy source cooperative power generation system;

[0011] According to the principle of minimizing individual economic indicators of nodes while ensuring the steady-state operation of the multi-energy source cooperative power generation system, the power generation performance index function corresponding to the power generation mechanism model is obtained. The power generation performance index function establishes the relationship between the power generation performance index of the cooperative power generation system and the system state, control and external disturbance.

[0012] An adaptive dynamic programming algorithm is used to solve the optimal solution of the power generation performance index function. Based on the initial state of the system, the three neural networks of the adaptive dynamic programming algorithm are used to iteratively solve the optimal power generation performance index, control variables and disturbance quantities, thereby obtaining the optimal control law of the multi-energy source collaborative power generation system.

[0013] Furthermore, if the multi-energy source coordinated power generation system is a wave energy and photovoltaic coordinated power generation system, the power generation mechanism model is as follows:

[0014]

[0015] Among them, F(X), g(X) and h(X) are the state function, control function and disturbance function of the coordinated power generation system respectively, and u i is the control coefficient of the cooperative power generation system, D j is the external disturbance of the cooperative power generation system, the subscript i represents the number of the control coefficient, j represents the number of the external disturbance, X represents the state of the cooperative power generation system, is the output power of the cooperative power generation system.

[0016] Furthermore, the power generation performance index function is as follows:

[0017]

[0018] Among them, J(X) is the performance index function of the coordinated power generation system, and the matrices Q and R i With S j is a user-defined positive definite symmetric matrix.

[0019] Furthermore, when the adaptive dynamic programming algorithm is used to solve the optimal solution of the power generation performance index function, the power generation performance index function is first converted into the corresponding Hamilton-Jacobi-Bellman equation and then solved. The corresponding Hamilton-Jacobi-Bellman equation is as follows:

[0020]

[0021] in, It represents the partial derivative of the performance index J with respect to the control u, g is the abbreviation of the control function g(X), and h is the abbreviation of the disturbance function h(X).

[0022] Furthermore, the three neural networks of the adaptive dynamic programming algorithm are used to iteratively solve the optimal power generation performance index, control variables and disturbances, respectively, as follows:

[0023]

[0024] in, are the estimated values ​​of the performance index function, the control coefficient of the coordinated power generation system and the disturbance coefficient, respectively. are the neuron matrices of the evaluation neural network, execution neural network, and perturbation neural network, respectively. represents the estimated evaluation weight, represents the estimated execution weight, represents the estimated disturbance weight.

[0025] Furthermore, an adaptive dynamic programming algorithm is used to solve the optimal solution of the power generation performance index function, specifically:

[0026] Collect historical wave fluctuation data sets and use the state of the coordinated power generation system as a control variable;

[0027] Set the initial control strategy and initial disturbance;

[0028] Iteratively calculating the total estimated weight according to the Hamilton-Jacobi-Bellman equation, the total estimated weight includes the estimated evaluation weight, the estimated evaluation weight and the estimated disturbance weight;

[0029] When the difference between the total estimated weights obtained from two consecutive calculations meets the set threshold, the calculation stops;

[0030] The optimal power generation performance index, control variables and disturbances are solved respectively using the total estimated weights that meet the conditions.

[0031] Furthermore, the state of the system is represented by the state matrix of the cooperative power generation system, specifically:

[0032] X=[xze]T

[0033] Where X is the state matrix of the cooperative power generation system, x = [H P P 1 q 1 v P ] T , H P is the servo valve outlet pressure, P 1 is the power generated by the hydraulic motor of the wave energy generator, q 1 is the motor speed, v is the speed of the hydraulic cylinder, L p is the servo valve outlet pressure, z is the photovoltaic power generation system voltage, and e is the photovoltaic power storage system voltage.

[0034] Furthermore, the wave energy and photovoltaic coordinated power generation system automatically switches under the following three working conditions according to actual weather conditions, including:

[0035] In the first working condition, when the sea waves are in a stable fluctuating state and there is sufficient sunshine, the speed of the hydraulic motor can maintain a stable power generation, and the photovoltaic power generation device is only used to charge the battery;

[0036] In the second working condition, when the sea waves are stable and the sun is sufficient, the speed of the hydraulic motor is insufficient to maintain the power generation, and the photovoltaic power generation and wave energy power generation devices work together to ensure power generation;

[0037] The third operating condition is when there is no light at night or the photovoltaic device cannot generate electricity due to cloud cover, the wave energy and battery discharge work together to maintain the power generation capacity.

[0038] Furthermore, in the mechanism model of power generation of wave energy and photovoltaic coordinated power generation system, u 1 、u 2 and u 3 They represent the control quantities of wave power generation, photovoltaic power generation and battery discharge in three working conditions. When the photovoltaic power source does not generate electricity and the battery does not discharge, u 2 =u 3 =0.

[0039] Furthermore, a mechanism model of the power generation of the wave energy and photovoltaic coordinated power generation system is constructed based on the mechanism mathematical model of the hydraulic motor power generation controller of the wave energy power generation device in the coordinated power generation system and the mechanism model of the photovoltaic power generation power, wherein the photovoltaic type in the photovoltaic power generation device is a voltage source photovoltaic power source, and a droop control method is adopted.

[0040] In summary, the present invention provides an optimal power control method for a multi-energy source cooperative power generation system. By designing the power performance index corresponding to the power mechanism model of the cooperative power generation system, the optimal control scheme for improving the anti-disturbance capability of the multi-energy source cooperative power generation system is solved. At the same time, for solving the optimal control scheme, an adaptive dynamic programming algorithm is used. Under the premise that the system dynamics are unknown, the optimal performance index function, control variables and disturbance quantities are solved respectively with the help of a neural network, thereby obtaining the optimal control law of the multi-energy source cooperative power generation system. When applied to wave energy and photovoltaic cooperative power generation systems, the present invention can obtain the approximate optimal control law of wave energy, photovoltaic power generation and batteries in real time based on historical wave disturbance data. While maintaining the uninterrupted power generation of the wave energy and photovoltaic cooperative power generation systems, it solves a series of problems caused by irregular waves and external disturbances, and improves the robustness and anti-disturbance capability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 A schematic flow chart of an optimal power control method for a multi-source cooperative power generation system provided by an embodiment of the present invention;

[0043] Figure 2 A flow chart of the steps for optimal power control of a wave energy and photovoltaic coordinated power generation device provided by an embodiment of the present invention;

[0044] Figure 3 A structural diagram of a photovoltaic power generation power droop control grid-connected inverter provided by an embodiment of the present invention;

[0045] Figure 4 A schematic diagram of a wave energy and photovoltaic collaborative power generation device provided in an embodiment of the present invention;

[0046] Figure 5 A schematic diagram of an adaptive dynamic programming algorithm provided by an embodiment of the present invention;

[0047] Figure 6 A flow chart of an anti-disturbance power control algorithm for a wave energy and photovoltaic coordinated power generation device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] See also Figure 1 The embodiment of the present invention provides an optimal power control method for a multi-energy source cooperative power generation system, comprising the following steps:

[0050] S1: Obtain the power generation mechanism model of the multi-source collaborative power generation system.

[0051] The multi-source coordinated power generation system refers to the simultaneous operation of multiple different energy sources in the power system, including traditional thermal power generation, hydropower generation and new energy, and the reasonable allocation and scheduling of various energy sources to reduce energy waste and cost waste. The purpose of multi-source coordinated operation is to optimize the energy structure of the power system and improve the energy utilization and efficiency of the power system.

[0052] In actual operation, the power system will be affected by various uncertain factors, such as load fluctuations, changes in system component parameters, changes in line network topology, etc. For multi-source coordinated power generation systems, the impact of uncertain factors will be more complicated, especially the access of wave energy, photovoltaic and wind power generation. Since these new energy sources are random and uncertain, their injection into the power system as a disturbance will have a greater impact on the safe and stable operation of the power system.

[0053] In this step, for this type of multi-source cooperative power generation system, its power generation mechanism model is obtained, that is, the power generation model of the entire system when different energy sources operate in coordination in the system. The power generation mechanism model should take into account the impact of disturbance factors on the power generation, so as to use this as a basis for studying the optimal control law for the multi-source cooperative power generation system to resist disturbances.

[0054] S2: Based on the principle of minimizing individual economic indicators of nodes while ensuring the steady-state operation of the multi-energy source collaborative power generation system, the power generation performance index function corresponding to the power generation mechanism model is obtained. The power generation performance index function establishes the relationship between the power generation performance index of the collaborative power generation system and the system state, control and external disturbance.

[0055] The power generation mechanism model established in the above steps includes the relationship between the system power generation output and the input containing disturbance factors. However, if the control is simply carried out with the goal of improving the system's anti-disturbance ability, it is inevitable that excessive investment will be made in other aspects. Therefore, in this step, the power generation performance index function is established on the principle of minimizing the individual economic indicators of the nodes while ensuring the steady-state operation of the multi-energy source collaborative power generation system to meet the system control with economic requirements. It should be noted that the established power generation performance index function must at least include the relationship between the power generation performance index and the system's state, control, and external disturbances.

[0056] S3: An adaptive dynamic programming algorithm is used to solve the optimal solution of the power generation performance index function. Based on the initial state of the system, the three neural networks of the adaptive dynamic programming algorithm are used to iteratively solve the optimal power generation performance index, control variables and disturbance quantities, thereby obtaining the optimal control law of the multi-energy source collaborative power generation system.

[0057] Adaptive / Approximate Dynamic Programming (ADP), also known as approximate dynamic programming, is an emerging discipline formed by the intersection of the development of artificial intelligence and control fields.

[0058] ADP methods mainly include three basic types: Heuristic Dynamic Programming (HDP), Dual Heuristic Programming (DHP) and Globalized Dual Heuristic Programming (GDHP). These three types contain three modules. If each module is replaced by a neural network, these three modules are also called three networks, namely the evaluation network (CriticNetwork), the model network (Model Network) and the execution network (Action Network).

[0059] In this step, the adaptive dynamic programming algorithm is applied to correspond the three neural networks to the parameters in the power generation performance index function respectively and then iteratively solve them, so as to obtain the optimal control law of the multi-source system power generation system that meets the economic requirements.

[0060] The present invention solves the optimal control scheme for improving the anti-disturbance capability of the collaborative power generation system with multiple energy sources by designing the power generation performance index corresponding to the power generation mechanism model of the collaborative power generation system. At the same time, for solving the optimal control scheme, an adaptive dynamic programming algorithm is adopted. Under the premise that the system dynamics are unknown, the optimal performance index function, control variables and disturbance quantities are solved respectively with the help of a neural network, thereby obtaining the optimal control law of the collaborative power generation system with multiple energy sources.

[0061] The following will take the wave energy and photovoltaic coordinated power generation system as an example to introduce in detail the optimal power control method of the multi-energy source coordinated power generation system.

[0062] This embodiment provides an anti-disturbance optimal power control method for a wave energy and photovoltaic coordinated power generation system, which mainly includes a model building process and an approximate solution process.

[0063] The model building process is mainly to establish the power generation mechanism model of the wave energy and photovoltaic coordinated power generation system, while the approximate solution process is to design appropriate power generation performance indicators and use an adaptive dynamic programming algorithm to solve the optimal control law of wave energy, photovoltaic power generation and batteries. The design of power generation performance indicators aims to minimize the individual economic indicators of the nodes while ensuring the steady-state operation of the wave energy and photovoltaic coordinated power generation system.

[0064] See also Figure 2 In one embodiment of the present invention, the model building process specifically includes the following steps:

[0065] Step 1: According to the working principle of the hydraulic motor of the wave energy power generation device, the mechanism mathematical model of the hydraulic motor power generation controller is constructed:

[0066] The speed of the wave energy hydraulic motor is used as the control variable, and the system input u is defined as 1 =μ, the system output is the hydraulic press power y = P 1 . Then the flow equation of the wave energy hydraulic cylinder is:

[0067] Q=v·H A -H P ·L (1)

[0068] Where v is the speed of the hydraulic cylinder, H A is the effective area of ​​the hydraulic cylinder, H P is the outlet pressure of the servo valve, and L is the leakage coefficient.

[0069] The flow state equation of the hydraulic motor is:

[0070]

[0071] Among them U Tis the total volume of the hydraulic cylinder, B c is the modulus of equivalent solvent elasticity, q 1 is the motor speed. According to formula (1) and formula (2), we can get:

[0072]

[0073] Define the state variables and output variables x and y as:

[0074] x=[x 1 x 2 x 3 x 4 x 5 ] T =[H P P 1 q 1 v P ] T , y = x 3 .

[0075] According to the flow differential equation of the servo valve controlling the operation of the wave energy hydraulic cylinder, we can get:

[0076]

[0077] Where: a 5 =K,

[0078] Among them J 1 is the inertia coefficient, M B is the viscous damping coefficient, K is the proportionality coefficient, m 1 is the effective mass of the piston, F P is the piston viscous damping coefficient, P T is the external disturbance of wave energy.

[0079] From this, the affine nonlinear system expression of the hydraulic motor power generation can be obtained:

[0080]

[0081] where f 1 (x), g 1 (x), h 1 (x) are the state, control and disturbance functions of the hydraulic motor power generation system, u 1 is the control coefficient of the hydraulic motor, D 1 is the external disturbance of the hydraulic motor.

[0082] Step 2: Construct a photovoltaic power generation mechanism model in the wave energy and photovoltaic coordinated power generation system. The photovoltaic type used in this system is a voltage source photovoltaic power source, and a droop control method is adopted. The photovoltaic power generation power droop control grid-connected inverter structure is as follows: Figure 3 shown.

[0083] According to the time scale, the power outer loop control of distributed power generation is at the second level, and the voltage and current inner loop control can reach the millisecond level. Therefore, due to the large time scale difference, and the obtained model will be used for system power control, ignoring the inner loop process, the relationship between reactive power and voltage can be expressed as:

[0084]

[0085] Where E d is the voltage amplitude of the inverter output, E r is the voltage reference value in droop control, k dr is the reactive power droop coefficient, Q r is the reactive power reference value, Q e is the reactive power output. The structure of the droop control grid-connected inverter is as follows: Figure 3 As shown, the voltage source photovoltaic power source needs to be connected to the grid through filtering and lines, and its grid connection equation can be expressed as:

[0086]

[0087] Where U d with U q is the grid-connected voltage component, i t with i s is the grid-connected current component, R 1 , L 1 With L f are line resistance and filter inductance respectively, and w is the angular frequency of the inductance.

[0088] In order to realize the voltage control of photovoltaic power source, the grid-connected voltage feedback control coefficient K is introduced on the basis of equation (6): dr,u , the control equation can be further expressed as:

[0089]

[0090] Among them U dr is the external voltage reference value, and s is the complex frequency. According to formula (6), the relationship between the grid voltage and the output voltage is nonlinear. By simplifying formula (6) through functional equivalence, we can obtain: U d =f(i st )+E d Assuming that the inverter reference voltage is the same as the grid-connected reference voltage, the photovoltaic voltage control model based on droop control is obtained:

[0091] U d =f(i st )-k dr K dr,u U dr,r -k dr Q dr (9)

[0092] Where Q dr =Q r -Q e is the reactive power deviation, and according to formula (8) the grid-connected current i st Nonlinear function U dr,r =U dr -U d is the voltage deviation. From this, the affine nonlinear system expression of photovoltaic power generation can be obtained:

[0093]

[0094] where f 2 (x), g 2 (x), h 2 (x) are the state, control and disturbance functions of the photovoltaic power generation system, u 2 is the control coefficient of photovoltaic power generation, D 2 It is the external disturbance of photovoltaic power generation.

[0095] Step 3: Construct the mechanism model of wave energy and photovoltaic coordinated power generation system. The energy coordinated power generation structure of the power generation system is as follows: Figure 4 As shown. According to the mechanism models of hydraulic motor power generation and photovoltaic power generation constructed in step 1 and step 2 respectively, the wave energy and photovoltaic synergistic power generation model can be obtained:

[0096]

[0097] Where F(X), g(X), h(X) are the state, control and disturbance functions of the coordinated power generation system, respectively, and u i is the control coefficient of the cooperative power generation system, D j is the external disturbance of the cooperative power generation system, X = [xze] T , g 3 (X)u 3 Output power to the battery.

[0098] It should be noted that the wave energy and photovoltaic coordinated power generation device will automatically switch under the following three working conditions according to actual weather conditions:

[0099] In the first working condition, when the sea waves are in a stable fluctuating state and there is sufficient sunshine, the speed of the hydraulic motor can maintain a stable power generation, and the photovoltaic power generation device is only used to charge the battery;

[0100] In the second working condition, when the sea waves are stable and the sun is sufficient, the speed of the hydraulic motor is insufficient to maintain the power generation, and the photovoltaic power generation and wave energy power generation devices work together to ensure power generation;

[0101] The third operating condition is when there is no light at night or the photovoltaic device cannot generate electricity due to cloud cover, the wave energy and battery discharge work together to maintain the power generation capacity.

[0102] The control quantities of wave power generation, photovoltaic power generation and battery discharge in the three working conditions correspond to u in formula (11): 1 、u 2 and u 3 , when the photovoltaic power source does not generate electricity and the battery does not discharge 2 =u 3 =0.

[0103] The above is a process of constructing a mechanism model of a wave energy and photovoltaic coordinated power generation system provided by an optional embodiment of the present invention.

[0104] In one embodiment of the present invention, based on the power generation mechanism model of the cooperative power generation system established in the aforementioned step 3, a corresponding power generation performance index is designed, and then an approximate solution process is performed as follows:

[0105] Step 4: Design the optimal power generation performance index and use the adaptive dynamic programming algorithm to solve the optimal control laws of wave energy, photovoltaic power generation and battery respectively.

[0106] Firstly, according to the actual situation of wave energy and photovoltaic coordinated power generation system, the system power performance index function is designed:

[0107]

[0108] where X = [xze] T is the state matrix of the cooperative power generation system, J(X) is the performance index function of the cooperative power generation system, u i is the control coefficient of the cooperative power generation system, D j is the external disturbance of the cooperative power generation system, matrix Q, R i With S jis a self-defined positive symmetric matrix. The design of this performance index aims to minimize the individual economic indicators of the nodes while ensuring the steady-state operation of the wave energy and photovoltaic coordinated power generation system. The purpose of the present invention is to coordinate the control of wave energy generation, photovoltaic power generation and battery discharge, so as to minimize the problem of unstable power generation caused by waves being disturbed by weather conditions and photovoltaic panels being blocked by clouds. Therefore, according to the zero-sum game problem in game theory, the optimal solution of formula (12) should meet the following conditions:

[0109]

[0110] J in equation (13) * (X) represents the optimal function value of the performance index, X(0) represents the initial state matrix of the cooperative power generation system, and the purpose of solving equation (13) is to find a set of saddle points and So that the following inequality holds:

[0111]

[0112] in and represent the optimal control rate and disturbance rate respectively.

[0113] According to the Leibniz formula, the Bellman equation can be derived from equation (12) and rewritten as the following Hamiltonian function:

[0114]

[0115] Where F(X), g(X), h(X) are the state, control and disturbance functions of the cooperative power generation system, and define The Hamiltonian function It is abbreviated as H, and the control input and disturbance input can be solved by calculating the following partial differential equations respectively:

[0116]

[0117] Substituting equation (16) into equation (15) yields the final HJB equation to be solved:

[0118]

[0119] It is difficult to directly obtain the analytical solution of equation (17) using traditional calculation methods. Therefore, the present invention uses the adaptive dynamic programming algorithm for the first time. Under the premise that the system dynamics are unknown, the optimal approximate solution of equation (17) is obtained with the help of a neural network. The principle of the adaptive dynamic programming algorithm is as follows: Figure 5As shown in the figure, the input of the execution network is the system state x(k), and the output is the control signal u(k). The input of the dynamic system is the system state x(k) and the control signal u(k), and the output is the state x(k+1) at the next moment. In this structure, the characteristic is that the evaluation network Figure 5 The performance indicator function J in is estimated, and its output is the estimated value of the performance indicator function J. Specifically, the parameter adjustment of the evaluation network is achieved by minimizing the function J.

[0120] The present invention uses three neural networks to solve the optimal performance index function, control variables and disturbances respectively:

[0121]

[0122] in are the estimated values ​​of the performance index function, the control coefficient and the disturbance coefficient of the cooperative power generation system respectively. They are the neuron matrices of the evaluation neural network, execution neural network and perturbation neural network respectively. represents the estimated evaluation weight, represents the estimated execution weight, represents the estimated disturbance weight.

[0123] Since it is difficult to directly solve the HJB equation in formula (17) using traditional methods, the estimated value of the performance index function is used. Instead of the true value J(X), the estimated value of the control coefficient of the coordinated power generation system is used Instead of its true value u i , using the estimated value of the disturbance coefficient of the coordinated generation system Instead of its true value D j , substituting the three estimated values ​​into the Hamiltonian function (15), we can obtain the reconstructed HJB equation with neural network. The reconstructed HJB equation can be iteratively solved using the adaptive dynamic programming algorithm. The specific solution process is as follows: Figure 6 As shown. is the total neural estimation weight. As the number of iterations increases, the estimation error will gradually decrease until the estimated value is equal to the true value.

[0124] The present invention can obtain the approximate optimal control law of wave energy, photovoltaic power generation and batteries in real time based on historical wave disturbance data. While maintaining the uninterrupted power generation of the wave energy and photovoltaic coordinated power generation system, it can solve a series of problems caused by irregular waves and external disturbances and improve the robustness and anti-disturbance ability of the system.

[0125] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An optimal power control method for a multi-source cooperative power generation system, characterized in that: The steps include: Obtain the power generation mechanism model of the multi-energy source cooperative power generation system; According to the principle of minimizing the individual economic indicators of the nodes while ensuring the steady-state operation of the multi-energy source cooperative power generation system, the power generation performance index function corresponding to the power generation mechanism model is obtained, and the power generation performance index function establishes the relationship between the power generation performance index of the cooperative power generation system and the state, control and external disturbance of the system; An adaptive dynamic programming algorithm is used to solve the optimal solution of the power generation performance index function. Based on the initial state of the system, the three neural networks of the adaptive dynamic programming algorithm are used to iteratively solve the optimal power generation performance index, the control variable and the disturbance, so as to obtain the optimal control law of the multi-energy source cooperative power generation system. If the multi-energy source coordinated power generation system is a wave energy and photovoltaic coordinated power generation system, the power generation mechanism model is as follows: Among them, F(X), g(X) and h(X) are the state function, control function and disturbance function of the coordinated power generation system respectively, and u i is the control coefficient of the cooperative power generation system, D j is the external disturbance of the cooperative power generation system, the subscript i represents the number of the control coefficient, j represents the number of the external disturbance, X represents the state of the cooperative power generation system, is the output power of the cooperative power generation system.

2. The optimal power control method of a multi-source cooperative power generation system according to claim 1, characterized in that: The power generation performance index function is as follows: Among them, J(X) is the performance index function of the coordinated power generation system, and the matrices Q and R i With S j is a user-defined positive definite symmetric matrix.

3. The optimal power control method of a multi-source cooperative power generation system according to claim 2, characterized in that: When the adaptive dynamic programming algorithm is used to solve the optimal solution of the power generation performance index function, the power generation performance index function is first converted into the corresponding Hamilton-Jacobi-Bellman equation and then solved. The corresponding Hamilton-Jacobi-Bellman equation is specifically as follows: in, It represents the partial derivative of the performance index J with respect to the control u, g is the abbreviation of the control function g(X), and h is the abbreviation of the disturbance function h(X).

4. The optimal power control method of a multi-source cooperative power generation system according to claim 3, characterized in that: The three neural networks of the adaptive dynamic programming algorithm are used to iteratively solve the optimal power generation performance index, control variables and disturbances respectively, specifically according to the following formula: in, are the estimated values ​​of the performance index function, the control coefficient of the coordinated power generation system and the disturbance coefficient, respectively. are the neuron matrices of the evaluation neural network, execution neural network, and perturbation neural network, respectively. represents the estimated evaluation weight, represents the estimated execution weight, represents the estimated disturbance weight.

5. The optimal power control method of a multi-source cooperative power generation system according to claim 4, characterized in that: The optimal solution of the power generation performance index function is solved by using an adaptive dynamic programming algorithm, specifically: Collect historical wave fluctuation data sets and use the state of the coordinated power generation system as a control variable; Set the initial control strategy and initial disturbance; Iteratively calculating a total estimated weight according to the Hamilton-Jacobi-Bellman equation, wherein the total estimated weight includes an estimated evaluation weight, an estimated execution weight, and an estimated disturbance weight; When the difference between the total estimated weights obtained from two consecutive calculations meets a set threshold, the calculation is stopped; The optimal power generation performance index, control variable and disturbance are solved respectively by using the total estimated weight that meets the conditions.

6. The optimal power control method of a multi-source cooperative power generation system according to claim 1, characterized in that: The state of the system is represented by the state matrix of the cooperative power generation system, specifically: X=[x z e] T Where X is the state matrix of the cooperative power generation system, x = [H P P1 q1 v L P ] T , H P is the outlet pressure of the servo valve, P1 is the power generation of the hydraulic motor of the wave energy power generation device, q1 is the motor speed, v is the speed of the hydraulic cylinder movement, L p is the servo valve outlet pressure, z is the photovoltaic power generation system voltage, and e is the photovoltaic power storage system voltage.

7. The optimal power control method of a multi-source cooperative power generation system according to claim 1, characterized in that: The wave energy and photovoltaic coordinated power generation system automatically switches under the following three working conditions according to actual weather conditions, specifically including: In the first working condition, when the sea waves are in a stable fluctuating state and there is sufficient sunshine, the speed of the hydraulic motor can maintain a stable power generation, and the photovoltaic power generation device is only used to charge the battery; In the second working condition, when the sea waves are stable and the sun is sufficient, the speed of the hydraulic motor is insufficient to maintain the power generation, and the photovoltaic power generation and wave energy power generation devices work together to ensure power generation; The third operating condition is when there is no light at night or the photovoltaic device cannot generate electricity due to cloud cover, the wave energy and battery discharge work together to maintain the power generation capacity.

8. The optimal power control method of a multi-source cooperative power generation system according to claim 7, characterized in that: In the mechanism model of power generation of the wave energy and photovoltaic coordinated power generation system, u1, u2 and u3 respectively represent the wave energy power generation, photovoltaic power generation and battery discharge control quantities in three working conditions. When the photovoltaic power source does not generate electricity and the battery does not discharge, u2=u3=0.

9. The optimal power control method of a multi-source cooperative power generation system according to claim 7, characterized in that: The mechanism model of the power generation of the wave energy and photovoltaic coordinated power generation system is constructed based on the mechanism mathematical model of the hydraulic motor power generation controller of the wave energy power generation device in the coordinated power generation system and the mechanism model of the photovoltaic power generation power, wherein the photovoltaic type in the photovoltaic power generation device is a voltage source photovoltaic power source, and a droop control method is adopted.