A photovoltaic microgrid control method based on finite set model predictive control
By using finite set model predictive control and adaptive dynamic droop mechanism in the photovoltaic microgrid, combined with artificial neural network optimization of control parameters, the problem of slow dynamic response and oscillation of the photovoltaic generator set is solved, and fast response and stable output are achieved.
Patent Information
- Application Number
- CN202410281220.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-03-12
AI Technical Summary
The dynamic response speed of traditional photovoltaic generator sets is slow, and the power converter based on finite set model predictive control is easily affected by the dynamic influence of the DC side to produce low-frequency oscillation during the control of the photovoltaic power converter. It cannot effectively alleviate the DC side voltage drop and improve the oscillation suppression capability. .
The photovoltaic microgrid control method based on finite set model predictive control is adopted, combined with the adaptive dynamic droop mechanism and virtual impedance mechanism, and the control parameters are optimized through artificial neural networks to achieve dynamic coordinated control of the DC side and AC side of the photovoltaic microgrid, improving Dynamic response speed and oscillation suppression capability.
It achieves fast dynamic response of the photovoltaic generator set, alleviates the DC side voltage drop, and improves the oscillation suppression capability, allowing the photovoltaic microgrid to operate stably in a weak grid environment with high penetration rate, output maximum power and maintain faster dynamic response. The voltage amplitude and frequency are more stable in the steady state.
Smart Images

Figure CN118232402B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photovoltaic technology, and in particular to a photovoltaic microgrid control method based on finite set model predictive control. Background Art
[0002] With the advancement of new energy power generation technology and the country's policy incentives for the development of new energy, the proportion of new energy power generation in the power system is increasing. Photovoltaic power generation, as a low-cost power generation method, has been widely used.
[0003] Photovoltaic power generation is a technology that uses the photovoltaic effect of semiconductor interfaces to directly convert light energy into electrical energy. It mainly consists of three parts: solar panels, controllers, and inverters. With the increasing penetration of photovoltaics in power systems, the voltage fluctuation on the DC side of the power converter in photovoltaic generator sets is likely to cause oscillations in the output power of photovoltaic generator sets. Photovoltaic generator sets that rely on traditional linear cascade control use multiple control loops, which severely limits the dynamic response speed of the system, making the dynamic response of photovoltaic generator sets slow. Although the power converter based on the traditional finite set model predictive control method has a fast dynamic response speed, its control method design mainly considers the dynamic characteristics of the AC side. When applied to the control of photovoltaic power converters, it is easy to be affected by the dynamic characteristics of the DC side and produce low-frequency oscillations. The power converter based on the model predictive control method cannot perform detailed modeling and small signal stability analysis, while the method based on artificial neural networks obtains a fast alternative model of the power converter through a large amount of data training, which provides convenience for optimizing the design of control parameters.
[0004] Considering that the traditional finite set model predictive control has a fast dynamic response, but does not consider the DC side dynamics, and the DC side dynamics in the photovoltaic power converter seriously affect the stable operation of the photovoltaic microgrid, the existing technology has the following disadvantages:
[0005] 1. The photovoltaic generator set that relies on traditional linear cascade control uses multiple control loops, which severely limits the dynamic response speed of the system, making the dynamic response of the photovoltaic generator set slow;
[0006] 2. Although the power converter based on the traditional finite set model predictive control method has a fast dynamic response speed, its control method design mainly considers the dynamic characteristics of the AC side. When applied to the control of photovoltaic power converters, it is easily affected by the dynamic characteristics of the DC side and produces low-frequency oscillations. Summary of the invention
[0007] In view of the shortcomings of the prior art described above, the present invention provides a photovoltaic microgrid control method based on finite set model predictive control. A model predictive control method is established to improve the dynamic response characteristics and oscillation suppression capability of photovoltaic power converters, and the optimal control parameters are obtained through artificial intelligence methods. The technical problem to be solved by the present invention is how to coordinate the control of photovoltaic power converters in a photovoltaic microgrid so that it can achieve rapid dynamic response, alleviate the voltage drop on the DC side and improve the oscillation suppression capability, and optimize the control parameters through the method of artificial neural network.
[0008] To achieve the above effects, the technical solution of the present invention is as follows:
[0009] The present invention provides a photovoltaic microgrid control method based on finite set model predictive control, wherein the photovoltaic microgrid comprises a plurality of photovoltaic generator sets, the photovoltaic generator sets are connected to a battery energy storage unit and a load, the plurality of photovoltaic generator sets and the battery energy storage unit are interconnected with the load through a line to form a photovoltaic microgrid, and realize the transmission of electric energy; the photovoltaic generator sets are stored with electric energy by the battery energy storage unit, and the electric energy generated by the photovoltaic generator sets is consumed by the load;
[0010] The control strategy of the photovoltaic generator set is composed of a power control outer loop and a finite set model predictive control inner loop. The power control outer loop includes an adaptive dynamic droop mechanism and a virtual impedance mechanism. The AC side output voltage of the photovoltaic generator set is obtained by using a power control outer loop control strategy based on the adaptive dynamic droop mechanism and the virtual impedance mechanism.
[0011] The finite set model predictive control inner loop includes AC side dynamic prediction, DC side dynamic prediction, and cost function traversal optimization. Based on the finite set model predictive control inner loop, a photovoltaic power converter is used to predict the DC side dynamics and AC side dynamics of the photovoltaic microgrid, and the photovoltaic microgrid output voltage is traversed and optimized based on the cost function to obtain the control signal of the power switch tube provided by the photovoltaic power converter, thereby realizing the steady-state control of the AC side output voltage of the photovoltaic generator set.
[0012] Furthermore, the photovoltaic generator set includes a DC side, a photovoltaic power converter and an AC side, wherein the DC side is composed of a photovoltaic generator and a DC side capacitor C dc The AC side is connected by the filter inductor L f 、Filter capacitor C f , filter resistor R f Connected, filter inductor L f 、Filter capacitor C f The photovoltaic power converter is composed of three-phase bridge arms, which include a first bridge arm, a second bridge arm and a third bridge arm connected in parallel, the two ends of the three bridge arms are respectively connected to each other, and each bridge arm is composed of two power switch tubes connected in series;
[0013] The photovoltaic generator sets are respectively connected to the input ends of the three-phase bridge arms of the photovoltaic power converter, and each filter inductor L f Connect each filter resistor R f Between one end of the three-phase bridge arm and one input end of the three-phase bridge arm, each filter capacitor C f One end of each filter resistor R f The other end of the three filter capacitors C f The other end is connected.
[0014] Furthermore, the power control outer loop control strategy based on the adaptive dynamic droop mechanism and the virtual impedance mechanism is:
[0015]
[0016]
[0017] Where, ω is the DC side voltage angular frequency reference value; and are the dq axis voltage reference values of the DC side output of the photovoltaic generator set under the adaptive dynamic droop mechanism; P and Q are the active power and reactive power output of the photovoltaic generator set respectively; ω nom and v nom are the initial values of the DC side angular frequency and d-axis voltage of the photovoltaic generator set respectively; m p and n q are the droop coefficient; K pvdc and K ivdc are proportional gain and integral gain respectively; v dc and are respectively the current DC side voltage and the DC side voltage reference value of the photovoltaic generator set; is the AC side output voltage of the photovoltaic generator set; is the AC side output voltage reference value of the photovoltaic generator set, Z v is the virtual impedance of the AC side of the photovoltaic generator set, i o It is the output current of the AC side of the photovoltaic generator set.
[0018] Furthermore, the model of the photovoltaic power converter is expressed as:
[0019]
[0020]
[0021] In the formula, v i is the output voltage of the photovoltaic power converter, S a , S b , S cis the equivalent switching signal of each bridge arm of the photovoltaic power converter, S 1 -S 6 It is the control signal of the power switch tube in the photovoltaic power converter.
[0022] Furthermore, the dynamics of the AC side can be expressed by a differential equation:
[0023]
[0024] Where, L f , C f , R f are the inductance, capacitance and resistance of the LC filter on the AC side of the power converter, respectively. o 、i l 、i o They are the capacitor voltage, inductor current and output current on the AC side respectively;
[0025] The above differential equation is discretized using the zero-order holder method to obtain the discretized AC side dynamic prediction equation:
[0026]
[0027] In the formula, A d and B d are the discretized state matrix and input matrix respectively, k represents the kth moment;
[0028] According to the discretized AC side dynamic prediction equation, the AC side dynamics is delayed compensated, and the discretized AC side dynamic prediction process is transformed into:
[0029]
[0030]
[0031]
[0032] In the formula, Δi l (k) is the deviation between the predicted value and the actual value of the AC side current at the previous moment, Δv o (k) is the deviation between the predicted value and the actual value of the AC side voltage at the previous moment, K d is the feedback correction gain, and are the AC side inductor current and AC side capacitor voltage after feedback correction, and are the predicted AC side inductor current and AC side capacitor voltage respectively.
[0033] Furthermore, the DC side dynamic differential equation and the DC side dynamic prediction equation discretized using the forward Euler method are respectively:
[0034]
[0035]
[0036] In the formula, C dc is the DC side capacitance, i pv and i dc are the input current and output current of the DC side capacitor, T s is the discretized time; i dc It is expressed as follows:
[0037] i dc =S a i la +S b i lb +S c i lc (28)
[0038] In the formula, i la 、i lb 、i lc They respectively represent the AC side inductor current in the abc coordinate system.
[0039] Furthermore, the cost function traversal optimization includes: setting the cost function of the photovoltaic microgrid to consist of three parts: the DC side voltage amplitude, the AC side voltage amplitude, and the AC side voltage change rate, specifically including:
[0040] Cost function of DC side voltage amplitude:
[0041]
[0042] In the formula, The DC voltage predicted for different switch combinations, is the DC side voltage reference value;
[0043] Cost function of the AC side voltage amplitude:
[0044]
[0045] In the formula, and The AC side capacitor voltage in the αβ coordinate system predicted for different switch combinations, and are the AC side capacitor voltage reference values in the αβ coordinate system obtained by the power control outer loop;
[0046] Cost function of the rate of change of voltage on the AC side:
[0047]
[0048] Therefore, the calculation strategy of the cost function of the photovoltaic microgrid is:
[0049] J=J v +λ der J der +λ dc J dc (32)
[0050] In the formula, λ der , dc They are the proportional coefficients of the cost function of the voltage change rate on the AC side and the cost function of the voltage amplitude on the DC side, respectively.
[0051] Furthermore, the method further includes: designing the control parameters of the photovoltaic microgrid, namely:
[0052] Select the proportional gain K pvdc , integral gain K ivdc and the proportionality coefficient λ of the cost function of the DC voltage amplitude dc To control the parameters, the overshoot of active power (σ%) and the adjustment time (t s ) as the required photovoltaic microgrid control parameters;
[0053] Set the proportional gain K pvdc , integral gain K ivdc and the proportionality coefficient λ of the cost function of the DC voltage amplitude dc The input is fed into the pre-trained artificial neural network model, and the overshoot (σ%) and adjustment time (t s ).
[0054] Furthermore, the training of the artificial neural network model includes selecting the number of layers and neurons of the artificial neural network model for training, and updating the weights and bias items of the artificial neural network model.
[0055] Furthermore, the weights and bias items of the artificial neural network model are updated, including:
[0056] The back propagation algorithm is used to update the weights and bias items of the artificial neural network model to obtain a trained artificial neural network model.
[0057] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0058] The present invention improves the traditional finite set model predictive control method, considers the DC side dynamics in the model, and designs the photovoltaic microgrid control parameters to achieve rapid dynamic response of the photovoltaic generator set, alleviate the DC side voltage drop, and improve the oscillation suppression capability of the photovoltaic generator set.
[0059] The present invention realizes the island operation of photovoltaic microgrid and utilizes the finite set model predictive control method to operate in a weak power grid environment with high photovoltaic penetration. The photovoltaic generator set outputs maximum power and has faster dynamic response, and the voltage amplitude and frequency are more stable in steady state. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 is a photovoltaic microgrid topology diagram of the present invention;
[0061] Figure 2 A schematic diagram of the predictive control strategy of the present invention acting on a photovoltaic power generation group;
[0062] Figure 3 This is a schematic diagram of the control parameter design of the photovoltaic power generation set of the present invention. DETAILED DESCRIPTION
[0063] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art will easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention is also implemented or applied through other different specific embodiments. The details in this specification are also modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0064] It should be noted that the illustrations provided in the following embodiments are only used to schematically illustrate the basic concept of the present invention. Therefore, the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component are subject to arbitrary changes, and the component layout type can also be more complex.
[0065] Example
[0066] This embodiment proposes a photovoltaic microgrid control method based on finite set model predictive control. Figure 1 and Figure 2 The photovoltaic microgrid includes several photovoltaic generator sets, and the photovoltaic generator sets are connected to a battery energy storage unit and a load. The several photovoltaic generator sets and the battery energy storage unit are interconnected with the load through lines to form a photovoltaic microgrid to realize the transmission of electric energy; the photovoltaic generator sets are used to store electric energy through the battery energy storage unit, and the electric energy generated by the photovoltaic generator sets is consumed by the load;
[0067] The control strategy of the photovoltaic generator set is composed of a power control outer loop and a finite set model predictive control inner loop. The power control outer loop includes an adaptive dynamic droop mechanism and a virtual impedance mechanism. The AC side output voltage of the photovoltaic generator set is obtained by using a power control outer loop control strategy based on the adaptive dynamic droop mechanism and the virtual impedance mechanism.
[0068] The finite set model predictive control inner loop includes AC side dynamic prediction, DC side dynamic prediction, and cost function traversal optimization. Based on the finite set model predictive control inner loop, a photovoltaic power converter is used to predict the DC side dynamics and AC side dynamics of the photovoltaic microgrid, and the photovoltaic microgrid output voltage is traversed and optimized based on the cost function to obtain the control signal of the power switch tube provided by the photovoltaic power converter, thereby realizing the steady-state control of the AC side output voltage of the photovoltaic generator set.
[0069] As an embodiment of the present invention, the photovoltaic generator set includes a DC side, a photovoltaic power converter and an AC side. The DC side is composed of a photovoltaic generator and a DC side capacitor C dc The AC side is connected by the filter inductor L f 、Filter capacitor C f , filter resistor R f Connected, filter inductor L f 、Filter capacitor C f The photovoltaic power converter is composed of three-phase bridge arms, which include a first bridge arm, a second bridge arm and a third bridge arm connected in parallel, the two ends of the three bridge arms are respectively connected to each other, and each bridge arm is composed of two power switch tubes connected in series.
[0070] The photovoltaic generator sets are respectively connected to the input ends of the three-phase bridge arms of the photovoltaic power converter, and each filter inductor L f Connect each filter resistor R f Between one end of the three-phase bridge arm and one input end of the three-phase bridge arm, each filter capacitor C f One end of each filter resistor R f The other end of the three filter capacitors C f The other end is connected.
[0071] As a preferred technical solution, in this embodiment, the power control outer loop control strategy based on the adaptive dynamic droop mechanism and the virtual impedance mechanism is:
[0072]
[0073]
[0074] Where, ω is the DC side voltage angular frequency reference value; and are the dq axis voltage reference values of the DC side output of the photovoltaic generator set under the adaptive dynamic droop mechanism; P and Q are the active power and reactive power output of the photovoltaic generator set respectively; ω nom and v nom are the initial values of the DC side angular frequency and d-axis voltage of the photovoltaic generator set respectively; m p and n q are the droop coefficient; K pvdc and K ivdc are proportional gain and integral gain respectively; v dc and are respectively the current DC side voltage and the DC side voltage reference value of the photovoltaic generator set; is the AC side output voltage of the photovoltaic generator set; is the AC side output voltage reference value of the photovoltaic generator set, Z v is the virtual impedance of the AC side of the photovoltaic generator set, i o It is the output current of the AC side of the photovoltaic generator set.
[0075] As a preferred technical solution, in this embodiment, the finite set model predictive control inner loop uses a photovoltaic power converter to predict the DC side dynamics and AC side dynamics of the photovoltaic microgrid, and uses a cost function to traverse and optimize to obtain the control signal of the power switch tube of the photovoltaic power converter.
[0076] As a preferred technical solution, in this embodiment, the model of the photovoltaic power converter is expressed as:
[0077]
[0078]
[0079] In the formula, v i is the output voltage of the photovoltaic power converter, S a , S b , S c is the equivalent switching signal of each bridge arm of the photovoltaic power converter, S 1 -S 6 It is the control signal of the power switch tube in the photovoltaic power converter.
[0080] As a preferred technical solution, in this embodiment, the prediction of the DC side dynamics and the AC side dynamics is derived from a discrete time prediction model based on a continuous time state space model, and the AC side dynamics is expressed by a differential equation as follows:
[0081]
[0082] Where, L f , C f , R fare the inductance, capacitance and resistance of the LC filter on the AC side of the power converter, respectively. o 、i l 、i o They are the capacitor voltage, inductor current and output current on the AC side respectively;
[0083] The above differential equation is discretized using the zero-order holder method to obtain the discretized AC side dynamic prediction equation:
[0084]
[0085] In the formula, A d and B d are the discretized state matrix and input matrix respectively, k represents the kth moment;
[0086] According to the discretized AC side dynamic prediction equation, the AC side dynamics is delayed compensated, and the discretized AC side dynamic prediction process is transformed into:
[0087]
[0088]
[0089]
[0090] In the formula, Δi l (k) is the deviation between the predicted value and the actual value of the AC side current at the previous moment, Δv o (k) is the deviation between the predicted value and the actual value of the AC side voltage at the previous moment, K d is the feedback correction gain, and are the AC side inductor current and AC side capacitor voltage after feedback correction, and are the predicted AC side inductor current and AC side capacitor voltage respectively.
[0091] As a preferred technical solution, in this embodiment, the DC side dynamic differential equation and the DC side dynamic prediction equation discretized using the forward Euler method are respectively:
[0092]
[0093]
[0094] In the formula, C dc is the DC side capacitance, i pv and i dc are the input current and output current of the DC side capacitor, T s is the discretized time; i dc It is expressed as follows:
[0095] i dc =S a i la +S b i lb +S c i lc (44)
[0096] In the formula, i la 、i lb 、i lc They respectively represent the AC side inductor current in the abc coordinate system.
[0097] As a preferred technical solution, in this embodiment, the cost function traverses and optimizes, including: setting the cost function of the photovoltaic microgrid to consist of three parts: the DC side voltage amplitude, the AC side voltage amplitude, and the AC side voltage change rate, specifically including:
[0098] Cost function of DC side voltage amplitude:
[0099]
[0100] In the formula, The DC voltage predicted for different switch combinations, is the DC side voltage reference value;
[0101] Cost function of the AC side voltage amplitude:
[0102]
[0103] In the formula, and The AC side capacitor voltage in the αβ coordinate system predicted for different switch combinations, and are the AC side capacitor voltage reference values in the αβ coordinate system obtained by the power control outer loop;
[0104] Cost function of the rate of change of voltage on the AC side:
[0105]
[0106] Therefore, the calculation strategy of the cost function of the photovoltaic microgrid is:
[0107] J=J v +λ der J der +λ dc J dc (48)
[0108] In the formula, λ der , dcThey are the proportional coefficients of the cost function of the voltage change rate on the AC side and the cost function of the voltage amplitude on the DC side, respectively.
[0109] As a preferred technical solution, in this embodiment, the method further includes: Figure 3 , design the control parameters of the photovoltaic microgrid, namely:
[0110] Select the proportional gain K pvdc , integral gain K ivdc and the proportionality coefficient λ of the cost function of the DC voltage amplitude dc To control the parameters, the overshoot of active power (σ%) and the adjustment time (t s ) as the required photovoltaic microgrid control parameters;
[0111] Set the proportional gain K pvdc , integral gain K ivdc and the proportionality coefficient λ of the cost function of the DC voltage amplitude dc The input is fed into the pre-trained artificial neural network model, and the overshoot (σ%) and adjustment time (t s ).
[0112] As a preferred technical solution, in this embodiment, the training of the artificial neural network model includes selecting the number of layers and neurons of the artificial neural network model for training, and updating the weights and bias items of the artificial neural network model.
[0113] As a preferred technical solution, in this embodiment, the weights and bias items of the artificial neural network model are updated, including:
[0114] The back propagation algorithm is used to update the weights and bias items of the artificial neural network model to obtain a trained artificial neural network model.
[0115] Furthermore, the artificial neural network model is trained by testing data to obtain the trained input K pvdc , K ivdc and λ dc , the output is the overshoot (σ%) and the adjustment time (t s ) artificial neural network model; use the fitness function Fitness(t) to select the optimal control parameters, and use the adjusted control parameters for the controller of the photovoltaic power converter.
[0116] The control method of the photovoltaic power converter is applied to other photovoltaic power generation groups, and a photovoltaic microgrid is formed after networking. A large number of tests are carried out using the photovoltaic microgrid, and the test data are collected and sorted, and the artificial neural network model is trained. The optimal control parameters are selected in combination with the fitness function to achieve control parameter optimization of the photovoltaic power generation group; the selection of the optimal control parameters in combination with the fitness function includes evaluating the control effects of different combinations of control parameters according to the designed fitness function, and selecting the current optimal control parameter combination.
[0117] In this embodiment, a loss function may be selectively used to perform back propagation algorithm training on the artificial neural network model, and the choice of the loss function depends on the actual application situation.
[0118] It should be noted that the control method of the present invention combined with the distributed average algorithm and the traditional finite set model predictive control can replace the finite set model predictive control method of the present invention, and the artificial neural network model in the control parameter design can be replaced by the reinforcement learning model. The artificial neural network model, fitness function, and back propagation algorithm involved in the present invention are all conventional and will not be repeated here.
[0119] In the embodiments of the present application, the controller of the photovoltaic power generation group is an important component, and all control loops are implemented through a high-performance digital signal processing (DSP) chip to control the photovoltaic power converter and realize the transmission of photovoltaic panel power.
[0120] The implementation of the embodiments of the present invention has the following beneficial effects:
[0121] 1. The power control outer loop in the present invention is realized by an adaptive dynamic droop mechanism and a virtual impedance mechanism, and generates an AC side voltage reference value which is sent to the finite set model predictive control inner loop to achieve the maximum power output of the photovoltaic generator set;
[0122] 2. In the inner loop of the finite set model predictive control of the present invention, the dynamics of the DC side and the AC side are considered in the prediction process and the cost function, thereby generating a switching signal to achieve a fast dynamic response of the photovoltaic generator set;
[0123] 3. The present invention also proposes a control parameter design method to optimize the control parameters of the photovoltaic power generation set. Through the control parameter design method, better control parameters can be obtained to improve the dynamic response characteristics of the photovoltaic power generation set.
[0124] The control parameter design method of the present invention selects the overshoot and adjustment time of active power during the dynamic response of the photovoltaic generator set as the test data indicators, and selects the proportional gain K pvdc , integral gain K ivdcand the proportionality coefficient λ of the cost function of the DC voltage amplitude dc To control the parameters, the artificial neural network model is trained using the test data to obtain the trained artificial neural network model, and the optimal control parameters are obtained by combining the fitness function. The artificial neural network method obtains a fast replacement model of the power converter through a large amount of data training, which provides convenience for optimizing the design of control parameters.
[0125] Obviously, the above embodiments of the present invention are merely examples for clearly explaining the present invention, and are not intended to limit the implementation methods of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all implementation methods here. Any modification, substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the claims of the present invention.
Claims
1. A photovoltaic microgrid control method based on finite set model predictive control, characterized in that: The photovoltaic microgrid comprises several photovoltaic generator sets, the photovoltaic generator sets are connected to a battery energy storage unit and a load, the several photovoltaic generator sets and the battery energy storage unit are interconnected with the load through a line to form a photovoltaic microgrid to realize the transmission of electric energy; the photovoltaic generator sets are used to store electric energy through the battery energy storage unit, and the electric energy generated by the photovoltaic generator sets is consumed by the load; The control strategy of the photovoltaic generator set is composed of a power control outer loop and a finite set model predictive control inner loop. The power control outer loop includes an adaptive dynamic droop mechanism and a virtual impedance mechanism. The AC side output voltage of the photovoltaic generator set is obtained by using a power control outer loop control strategy based on the adaptive dynamic droop mechanism and the virtual impedance mechanism. The finite set model predictive control inner loop includes AC side dynamic prediction, DC side dynamic prediction, and cost function traversal optimization. Based on the finite set model predictive control inner loop, the DC side dynamic and AC side dynamic of the photovoltaic microgrid are predicted using a photovoltaic power converter, and the output voltage of the photovoltaic microgrid is traversed and optimized based on the cost function to obtain the control signal of the power switch tube provided by the photovoltaic power converter, so as to realize the steady-state control of the AC side output voltage of the photovoltaic generator set; The photovoltaic power generation group includes a DC side, a photovoltaic power converter and an AC side. The DC side consists of a photovoltaic generator and a DC side capacitor. Cdc The AC side is connected by a filter inductor Lf 、Filter capacitor Cf , filter resistor R Connected, filter inductor Lf 、Filter capacitor Cf The photovoltaic power converter is composed of a three-phase bridge arm, which includes a first bridge arm, a second bridge arm and a third bridge arm connected in parallel, and the two ends of the three bridge arms are respectively connected to each other, and each bridge arm is composed of two power switch tubes connected in series; The photovoltaic generator sets are respectively connected to the input ends of the three-phase bridge arms of the photovoltaic power converter, and each filter inductor L f Connect each filter resistor R f Between one end of the three-phase bridge arm and one input end of the three-phase bridge arm, each filter capacitor C f Connect one end of the filter resistor R f The other end of the three filter capacitors C f The other end is connected; The power control outer loop control strategy based on the adaptive dynamic droop mechanism and the virtual impedance mechanism is: (1) (2) In the formula, is the DC side voltage angular frequency reference value; and All are the DC side output of the photovoltaic generator set under the adaptive dynamic droop mechanism. Shaft voltage reference value; P and Q They are respectively the active power and reactive power output by the photovoltaic generator set; and v nom are the initial value of the DC side angular frequency of the photovoltaic generator set and d Initial value of shaft voltage; m p and n q are the droop coefficients respectively; K pvdc and K ivdc are proportional gain and integral gain respectively; and are respectively the current DC side voltage and the DC side voltage reference value of the photovoltaic generator set; is the AC side output voltage of the photovoltaic generator set; is the AC side output voltage reference value of the photovoltaic generator set, is the virtual impedance of the AC side of the photovoltaic generator set, i o The output current of the AC side of the photovoltaic generator set; The model of the photovoltaic power converter is expressed as: (3) (4) In the formula, v i is the output voltage of the photovoltaic power converter, S a , S b , S c is the equivalent switching signal of each bridge arm of the photovoltaic power converter, S 1 -S 6 is the control signal of the power switch tube in the photovoltaic power converter; The AC side dynamics are expressed by a differential equation: (5) In the formula, L f 、C f 、R f The AC side of the power converter is LC Inductors, capacitors and resistors in filters, v o 、i l 、i o They are the capacitor voltage, inductor current and output current on the AC side respectively; The above differential equation is discretized using the zero-order holder method to obtain the discretized AC side dynamic prediction equation: (6) In the formula, A d and B d are the discretized state matrix and input matrix respectively, k Indicates k time; According to the discretized AC side dynamic prediction equation, the AC side dynamics is delayed compensated, and the discretized AC side dynamic prediction process is transformed into: (7) (8) (9) In the formula, is the deviation between the predicted value and the actual value of the AC side current at the previous moment, is the deviation between the predicted value and the actual value of the AC side voltage at the previous moment, K d is the feedback correction gain, and are the AC side inductor current and AC side capacitor voltage after feedback correction, and are the predicted AC side inductor current and AC side capacitor voltage respectively.
2. The method according to claim 1, characterized in that The DC side dynamic differential equation and the DC side dynamic prediction equation discretized using the forward Euler method are respectively: (10) (11) In the formula, C dc is the DC side capacitance, i pv and i dc are the input current and output current of the DC side capacitor respectively, T s is the discretized time; i dc It is expressed as follows: (12) In the formula, i la , i lb , i lc They respectively represent the AC side inductor current in the abc coordinate system.
3. The method according to claim 1, characterized in that The cost function is traversed and optimized, including: The cost function of the photovoltaic microgrid is set to be composed of three parts: the cost function of the DC side voltage amplitude, the cost function of the AC side voltage amplitude, and the cost function of the AC side voltage change rate, where: Cost function of DC side voltage amplitude: (13) In the formula, The DC voltage predicted for different switch combinations, is the DC side voltage reference value; Cost function of the AC side voltage amplitude: (14) In the formula, and Predicted for different switch combinations The AC side capacitor voltage in the coordinate system, and are obtained by the power control outer loop respectively. AC side capacitor voltage reference value in the coordinate system; Cost function of the rate of change of voltage on the AC side: (15) Therefore, the calculation strategy of the cost function of the photovoltaic microgrid is: (16) In the formula, λ der , dc They are the proportional coefficients of the cost function of the voltage change rate on the AC side and the cost function of the voltage amplitude on the DC side, respectively.
4. The method according to claim 3, characterized in that The method further comprises: designing the photovoltaic microgrid control parameters, namely: Selecting the Proportional Gain K pvdc , integral gain K ivdc and the proportionality coefficient of the cost function of the DC voltage amplitude In order to control the parameters, the overshoot of active power during the dynamic response of the photovoltaic generator set is and adjustment time As the required PV microgrid control parameters; The proportional gain K pvdc , integral gain K ivdc and the proportionality coefficient of the cost function of the DC voltage amplitude Input to the pre-trained artificial neural network model and output the overshoot of the dynamic response of the photovoltaic generator set and adjustment time .
5. The method according to claim 4, characterized in that The training of the artificial neural network model includes selecting the number of layers and neurons of the artificial neural network model for training, and updating the weights and bias items of the artificial neural network model.
6. The method according to claim 5, characterized in that The updating of the weights and bias items of the artificial neural network model includes: The back propagation algorithm is used to update the weights and bias items of the artificial neural network model to obtain a trained artificial neural network model.
