Method for reducing short-circuit current of doubly-fed photovoltaic generator set

By combining PID controller and genetic algorithm to optimize PID parameters, the problem of poor short-circuit current control effect of photovoltaic generator sets in the power grid short-circuit failure is solved, and more efficient short-circuit current control is achieved.

CN118899835APending Publication Date: 2024-11-05HEILONGJIANG ELECTRIC POWER SCIENCE RESEARCH INSTITUTE +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410957012.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The genetic optimization algorithm in the prior art convergence speed is slow and easy to fall into local optimality. The PID parameters are not excellent enough, resulting in poor short-circuit current control effect of photovoltaic generator sets when the power grid is short-circuit failure.

Method used

By combining the PID controller and the genetic algorithm, the PID parameters Kp and Ki are optimized using the error values ​​of the d-axis and q-axis currents, and the iterative process of the genetic algorithm is used to select the optimal parameters to reduce the short-circuit current of the photovoltaic generator set.

Benefits of technology

The optimized Kp and Ki parameters can effectively reduce the short-circuit current of the photovoltaic generator set in the power grid short-circuit fault, improve control accuracy and response speed, and are suitable for dual-height characteristic environments in modern new power systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118899835A_ABST
    Figure CN118899835A_ABST
Patent Text Reader

Abstract

The invention discloses a method for reducing short-circuit current of a doubly-fed photovoltaic generator set, and relates to the field of photovoltaic generator control. According to the method, the fitness value is calculated, the optimal fitness value and the worst fitness value are selected, the parent with the optimal fitness is directly inherited to the offspring, the parent under heredity is compared with the new offspring, and the optimal fitness is kept; setting and optimizing parameters of a PID (Proportion Integration Differentiation) controller of the doubly-fed wind power generation system by utilizing an improved genetic optimization algorithm; and the difference value between the target value and the real-time value passes through a PID controller to obtain a control signal. According to the invention, the optimal PID parameter can be selected to achieve the effect of reducing the short-circuit current.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of photovoltaic generator control, and in particular to a method for reducing short-circuit current of a double-fed photovoltaic generator set. Background Art

[0002] When the photovoltaic generator set is connected to the grid, when a short circuit occurs in the grid, a large current appears in the photovoltaic power generation system. In order to prevent the large current from damaging the photovoltaic power generation equipment, the photovoltaic power generation system control strategy must be optimized to control the short-circuit current of the photovoltaic generator set. The genetic optimization algorithm in the prior art has the problems of slow convergence speed, easy to fall into the local optimum and unable to find a better solution, and the PID parameters are not good enough, resulting in poor control of the short-circuit current. Summary of the invention

[0003] In view of the above-mentioned defects of the prior art, the present invention provides a method for reducing the short-circuit current of a double-fed photovoltaic generator set, comprising the following steps:

[0004] S1, obtaining an error value e according to the d-axis current and q-axis current of the double-fed photovoltaic power generation unit and the target value, and using the error value e as an input variable of the PID controller;

[0005] S2, with parameter K p and K i The combination of is taken as an individual, and several individuals constitute a population. The optimal parameter K of the PID controller is selected through the cyclic iteration of the genetic algorithm. p and K i ;

[0006] S3, based on the error value e obtained in step S1 and the optimal parameter K obtained in step S2 p and K i , obtain the control signal of the photovoltaic generator set, and control the photovoltaic generator when a short circuit fault occurs in the power grid.

[0007] The error value e is:

[0008]

[0009] Among them, id and iq are the d-axis current and q-axis current of the photovoltaic generator set collected in real time respectively; i d ' d and i q ′ are the d-axis current and q-axis current in the historical data respectively.

[0010] Step S2: The genetic algorithm iterates and selects the optimal parameter K of the PID controller. p and K i The methods include:

[0011] S21, initialize the population with parameter K p and K i The combination of is taken as an individual, and X individuals constitute the population;

[0012] S22, calculating the fitness value of each individual in the population;

[0013] S23, selecting n best individuals and m worst individuals according to the fitness values, directly inheriting the n individuals to the offspring, deleting the m worst individuals, and performing crossover and mutation on the remaining individuals to obtain new individuals as the offspring;

[0014] S24, repeat step S22 on the offspring obtained after crossover and mutation and the n individuals directly inherited to the offspring until the maximum number of iterations is reached and the iteration is stopped.

[0015] The fitness value f is the square sum of the d-axis current and the q-axis current when the power grid fails, which is:

[0016]

[0017] When the power grid fails, the d-axis current and the q-axis current are respectively:

[0018]

[0019]

[0020] i d0 and i df They represent the reference values ​​of the d-axis current before and after the power grid fault respectively; i q0 and i qf They represent the reference values ​​of the q-axis current before and after the power grid fault respectively.

[0021] Furthermore, the optimal individual is the individual corresponding to the optimal fitness value, and the worst individual is the individual corresponding to the worst fitness value.

[0022] Furthermore, the optimal fitness value is the minimum fitness value of the current iteration, and the worst fitness value is the maximum fitness value of the current iteration.

[0023] Furthermore, the method for selecting the best individual and the worst individual includes:

[0024] Arrange all individuals in order from small to large according to their fitness values;

[0025] The individuals corresponding to the first n fitness values ​​are regarded as the best individuals, and the individuals corresponding to the last m fitness values ​​are regarded as the worst individuals.

[0026] Compared with the prior art, the present invention has the following technical effects:

[0027] The present invention optimizes the control strategy. In the environment where the modern new power system reflects the characteristics of high proportion of renewable energy and high proportion of power electronic equipment (referred to as "double high"), the optimized Kp and Ki parameters are set before the photovoltaic generator set leaves the factory, or can be changed in the system configuration. The simulation results show that after the optimized parameters are input and configured, the short-circuit current can be reduced. The large current generated by the photovoltaic power generation system when a short-circuit fault occurs in the power grid is better limited.

[0028] The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings to fully understand the purpose, characteristics and effects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is a schematic diagram of a short-circuit current control system for a small double-fed photovoltaic generator set according to a specific embodiment of the present invention;

[0030] Figure 2 It is a schematic diagram of the overall process of a specific embodiment of the present invention; DETAILED DESCRIPTION

[0031] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0032] It should be noted that the illustrations provided in the following embodiments are only used to illustrate the basic concept of the present invention in a schematic manner, and thus the illustrations 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 may be changed arbitrarily, and the component layout may also be more complicated.

[0033] While some exemplary embodiments of the present invention have been described for the purpose of illustration, it should be understood that the present invention may be implemented in other ways not specifically shown in the drawings.

[0034] like Figure 1As shown, in a specific embodiment, a control system for reducing short-circuit current of a double-fed photovoltaic power generation group is provided, including an error calculation module, a parameter optimization module, a PID controller and a controlled object module. The error calculation module is based on the error between the target value and the real-time value, the target value is the minimum value of the sum of the squares of the d-axis current and the q-axis current, and the real-time value is the sum of the squares of the real-time values ​​of the d-axis current and the q-axis current; the parameter optimization module uses an optimized genetic iterative algorithm to select the optimal PID parameter K p and K i The PID controller uses the error as an input variable and combines the optimal parameters to obtain the control signal of the photovoltaic power generation group. In order to further reduce the number of iterations and improve the parameter selection effect, the optimized genetic algorithm has a "select the best from the best" process. By selecting the optimal parameters, the short-circuit current value during power grid failure is further reduced.

[0035] Based on the above-mentioned control system for reducing short-circuit current of a double-fed photovoltaic generator set, in a specific embodiment, a method for reducing short-circuit current of a double-fed photovoltaic generator set is provided, comprising the following steps:

[0036] S1, obtaining an error value e according to the d-axis current and q-axis current of the double-fed photovoltaic power generation unit and the target value, and using the error value e as an input variable of the PID controller;

[0037] PID controller is a relatively mature controller in the field of industrial control. The selection of its input variables determines the control accuracy of the output signal. In the existing control method, its input variable adopts the error between the real-time current and the given value, which results in poor signal real-time performance. Especially when a short circuit occurs in the power grid, the error is large at this time, and the control signal output by the PID controller will also have a large deviation. Based on this, the error value e in this embodiment is:

[0038]

[0039] Among them, id and iq are the d-axis current and q-axis current of the photovoltaic generator set collected in real time respectively; i d ' d and i q ′ are the d-axis current and q-axis current in the historical data respectively. The response speed of the PID controller is improved, the control accuracy is improved, and the control signal is adjusted in time when a short-circuit fault occurs in the power grid to reduce the short-circuit current of the photovoltaic generator set.

[0040] S2, with parameter K p and K i The combination of is taken as an individual, and several individuals constitute a population. The optimal parameter K of the PID controller is selected through the cyclic iteration of the genetic algorithm. p and K i ;

[0041] In this embodiment, the genetic algorithm iterates and selects the optimal parameter K of the PID controller. p and K i The methods include:

[0042] S21, initialize the population with parameter K p and K i The combination of as individuals, X individuals constitute the population; set the genetic optimization algorithm hybridization rate and mutation rate, crossoverRate hybridization rate, variationRate mutation rate, mostkingFitValue the fitness value of the optimal individual, mostking the optimal individual; the parameter K p , K i In the range of 0.7-3, the population size was determined to be 50.

[0043] S22, calculating the fitness value of each individual in the population;

[0044] The fitness value f is the square sum of the d-axis current and the q-axis current when the power grid fails, which is:

[0045]

[0046] When the power grid fails, the d-axis current and the q-axis current are respectively:

[0047]

[0048]

[0049] i d0 and i df They represent the reference values ​​of the d-axis current before and after the power grid fault respectively; i q0 and i qf They represent the reference values ​​of the q-axis current before and after the power grid fault respectively.

[0050] S23. Arrange all individuals in order of fitness values ​​from small to large, directly inherit the n individuals corresponding to the first n fitness values ​​to the offspring, delete the individuals corresponding to the last m fitness values, and obtain new individuals after crossover and mutation of the remaining individuals as the offspring; in this embodiment, the number n is 10. After the setting is completed, the simulation running time is more appropriate and the simulation results are better; if the population size and the optimal number of individuals n are changed, the simulation running time is longer and the simulation results are not ideal.

[0051] S24, repeat step S22 for the offspring obtained after crossover and mutation and the n individuals directly inherited by the offspring until the maximum number of iterations is reached and stop the iteration, and output the optimal parameter K pand K i .

[0052] S3, based on the error value e obtained in step S1 and the optimal parameter K obtained in step S2 p and K i , obtain the control signal of the photovoltaic generator set, and control the photovoltaic generator when a short circuit fault occurs in the power grid.

[0053] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A method for reducing short-circuit current of a double-fed photovoltaic generator set, characterized in that: The steps include: S1, obtaining an error value e according to the d-axis current and q-axis current of the double-fed photovoltaic power generation unit and the target value, and using the error value e as an input variable of the PID controller; S2, with parameter K p and K i The combination of is taken as an individual, and several individuals constitute a population. The optimal parameter K of the PID controller is selected through the cyclic iteration of the genetic algorithm. p and K i ; S3, based on the error value e obtained in step S1 and the optimal parameter K obtained in step S2 p and K i , obtain the control signal of the photovoltaic generator set, and control the photovoltaic generator when a short circuit fault occurs in the power grid.

2. A method for reducing short-circuit current of a double-fed photovoltaic power generation unit according to claim 1, characterized in that: The error value e is: Among them, id and iq are the d-axis current and q-axis current of the photovoltaic generator set collected in real time respectively; i d ' d and i q ′ are the d-axis current and q-axis current in the historical data respectively.

3. A method for reducing short-circuit current of a double-fed photovoltaic power generation set according to claim 1, characterized in that: Step S2: The genetic algorithm iterates and selects the optimal parameter K of the PID controller. p and K i The methods include: S21, initialize the population with parameter K p and K i The combination of is taken as an individual, and X individuals constitute the population; S22, calculating the fitness value of each individual in the population; S23, selecting n best individuals and m worst individuals according to the fitness values, directly inheriting the n individuals to the offspring, deleting the m worst individuals, and performing crossover and mutation on the remaining individuals to obtain new individuals as the offspring; S24, repeat step S22 on the offspring obtained after crossover and mutation and the n individuals directly inherited to the offspring until the maximum number of iterations is reached and the iteration is stopped.

4. A method for reducing short-circuit current of a double-fed photovoltaic power generation set according to claim 3, characterized in that: The fitness value f is the square sum of the d-axis current and the q-axis current when the power grid fails, which is:

5. A method for reducing short-circuit current of a double-fed photovoltaic power generation set according to claim 4, characterized in that: When the power grid fails, the d-axis current and the q-axis current are respectively: i d0 and i df They represent the reference values ​​of the d-axis current before and after the power grid fault respectively; i q0 and i qf They represent the reference values ​​of the q-axis current before and after the power grid fault respectively.

6. A method for reducing short-circuit current of a double-fed photovoltaic power generation set according to claim 3, characterized in that: The best individual is the individual corresponding to the best fitness value, and the worst individual is the individual corresponding to the worst fitness value.

7. A method for reducing short-circuit current of a double-fed photovoltaic power generation set according to claim 6, characterized in that: The optimal fitness value is the minimum fitness value of the current iteration, and the worst fitness value is the maximum fitness value of the current iteration.

8. A method for reducing short-circuit current of a double-fed photovoltaic power generation set according to claim 6, characterized in that: The method for selecting the best individual and the worst individual includes: Arrange all individuals in order from small to large according to their fitness values; The individuals corresponding to the first n fitness values ​​are regarded as the best individuals, and the individuals corresponding to the last m fitness values ​​are regarded as the worst individuals.