CN113541170A - Fuel cell emergency power supply grid-connected inversion control method and system - Google Patents
Fuel cell emergency power supply grid-connected inversion control method and system Download PDFInfo
- Publication number
- CN113541170A CN113541170A CN202110666631.7A CN202110666631A CN113541170A CN 113541170 A CN113541170 A CN 113541170A CN 202110666631 A CN202110666631 A CN 202110666631A CN 113541170 A CN113541170 A CN 113541170A
- Authority
- CN
- China
- Prior art keywords
- grid
- firefly
- fuel cell
- current
- inverter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 239000000446 fuel Substances 0.000 title claims abstract description 38
- 238000000034 method Methods 0.000 title claims abstract description 34
- 241000254158 Lampyridae Species 0.000 claims abstract description 78
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 15
- 238000013178 mathematical model Methods 0.000 claims abstract description 15
- 238000005457 optimization Methods 0.000 claims abstract description 14
- 239000003990 capacitor Substances 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 7
- 230000007935 neutral effect Effects 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000010521 absorption reaction Methods 0.000 claims description 4
- 238000013016 damping Methods 0.000 claims description 3
- 238000001914 filtration Methods 0.000 claims description 3
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 230000000087 stabilizing effect Effects 0.000 claims description 2
- 230000003068 static effect Effects 0.000 abstract description 2
- 230000009471 action Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000004044 response Effects 0.000 description 5
- 238000004088 simulation Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 239000011159 matrix material Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 238000010248 power generation Methods 0.000 description 2
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/28—Arrangements for balancing of the load in a network by storage of energy
- H02J3/32—Arrangements for balancing of the load in a network by storage of energy using batteries with converting means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/24—Arrangements for preventing or reducing oscillations of power in networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for ac mains or ac distribution networks
- H02J3/38—Arrangements for parallely feeding a single network by two or more generators, converters or transformers
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M1/00—Details of apparatus for conversion
- H02M1/08—Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
- H02M1/088—Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters for the simultaneous control of series or parallel connected semiconductor devices
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M7/00—Conversion of ac power input into dc power output; Conversion of dc power input into ac power output
- H02M7/42—Conversion of dc power input into ac power output without possibility of reversal
- H02M7/44—Conversion of dc power input into ac power output without possibility of reversal by static converters
- H02M7/48—Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
- H02M7/53—Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
- H02M7/537—Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters
- H02M7/5387—Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters in a bridge configuration
- H02M7/53871—Conversion of dc power input into ac power output without possibility of reversal by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only, e.g. single switched pulse inverters in a bridge configuration with automatic control of output voltage or current
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/04—Constraint-based CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/04—Power grid distribution networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2203/00—Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
- H02J2203/20—Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2300/00—Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
- H02J2300/30—The power source being a fuel cell
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biophysics (AREA)
- Computer Hardware Design (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Biomedical Technology (AREA)
- Geometry (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Control Of Electrical Variables (AREA)
- Inverter Devices (AREA)
Abstract
The invention discloses a grid-connected inversion control method and a grid-connected inversion control system for a fuel cell emergency power supply, wherein the method comprises the steps of establishing a state space mathematical model according to a topological structure of a grid-connected inverter, carrying out discretization treatment, and adding a prediction step length and a control step length to obtain a prediction equation; then, constructing a target function with constraint conditions by using the limiting conditions of the control quantity duty ratio and the actual requirements of the output grid-connected current; and finally, associating the actual control quantity duty ratio of the inverter with the brightness of the firefly by adopting a firefly intelligent optimization algorithm with the characteristic of quick optimization, obtaining the optimal duty ratio of PWM (pulse-width modulation) waves for controlling a switching tube, and optimally controlling a power circuit of the three-phase four-leg grid-connected inverter. The grid-connected inverter can obtain better dynamic and static performances, the deviation between the current merged into the power grid and the set value is small enough, and when the set value of the output current is changed, the grid-connected current of the inverter can track the set value in a shorter time.
Description
Technical Field
The invention relates to the field of grid-connected inversion control of fuel cell emergency power supplies, in particular to a grid-connected inversion control method and a grid-connected inversion control system of a fuel cell emergency power supply.
Technical Field
In recent years, with the rapid development of new energy power generation technology, fuel cells are becoming hot research spots in the new energy field. However, in a system using a fuel cell as an electric power source, the fuel cell cannot meet the industrial power demand due to the disadvantages that the output voltage of the fuel cell is seriously affected by the output power, the voltage range is greatly changed, the output voltage is low, and the like, and it is necessary to change the output of the fuel cell into a stable direct current or invert and grid the direct current into a power consumption meeting the industrial or daily life through a power regulating system. The grid-connected inverter for the fuel cell is an important device for power regulation in the fuel cell power generation equipment, and is a basic premise that the electric energy of the fuel cell can be incorporated into a power grid. The grid-connected inverter for the fuel cell has the main function that high-quality, high-voltage and stable direct current provided by the front-stage equipment is inverted into alternating current and then is incorporated into a power grid, and the output power quality of the grid-connected inverter is directly related to the stability of the power grid and the safety and service life of the whole system equipment. In order to ensure the safety of the fuel cell and the power grid, a grid-connected inverter with low steady-state error, strong robustness and fast dynamic characteristics is indispensable, and the research of a control strategy is the key for determining the steady-state precision, the dynamic performance and the robustness of the inverter. The model prediction control is widely applied by the advantages of high control precision, strong robustness, fast dynamic response and the like.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a grid-connected inversion control method and a grid-connected inversion control system for a fuel cell emergency power supply, which can enable a grid-connected inverter to obtain better dynamic and static performances, have enough small deviation between the current merged into a power grid and a set value, and can enable the grid-connected current of the inverter to track the set value in a shorter time when the set value of the output current is changed.
In order to achieve the purpose, the grid-connected inversion control method for the fuel cell emergency power supply is characterized by acting on a fuel cell emergency power supply system to carry out optimized control on a power circuit of a three-phase four-bridge-arm grid-connected inverter, and comprises the following steps:
1) establishing a state space mathematical model by utilizing kirchhoff voltage and current law according to a three-phase four-bridge-arm grid-connected inverter topological circuit;
2) discretizing the grid-connected inverter mathematical model in the continuous time domain state to obtain the grid-connected inverter mathematical model in the discrete time domain;
3) introducing two parameters of a prediction step length and a control step length which are needed in prediction control to obtain a prediction equation of the grid-connected inverter, and writing the prediction equation into a vector equation form;
4) on the basis of the vector form prediction equation, an objective function with constraint conditions is constructed by combining the limiting conditions of the duty ratio of the controlled variable and the actual requirements of output grid-connected current;
5) the method comprises the steps of adopting a firefly intelligent optimization algorithm, associating the actual control quantity duty ratio of an inverter with the brightness of the firefly, obtaining the optimal duty ratio of PWM (pulse-width modulation) waves of a control switch tube by simulating the movement process of the firefly, and carrying out optimization control on a power circuit of the three-phase four-leg grid-connected inverter.
Preferably, the expression of the state space mathematical model in step 1) is:
in the formula, an inverter side inductor L1Has a current of i1a,i1b,i1cGrid side inductance L2Has a current of i2a,i2b,i2cFilter capacitor CfHas a voltage of uca,ucb,ucc,RcIs a filter capacitor CfDamping resistor connected in series, vga,vgb,vgcIs a three-phase AC network ua,ub,uc,unThe voltage of the center points of four bridge arms, t is time, R2 is equivalent series resistance on an inductor L2, and L isnIs a neutral inductor, R, connected in series on the neutral line of the fourth bridge armnIs an inductance LnThe equivalent series resistance of (c).
Preferably, the mathematical model of the grid-connected inverter in the discrete time domain in step 2) is as follows:
in the formula, phi, gamma, lambda and D are all variable coefficients.
Preferably, the vector-form prediction equation of the three-phase four-leg grid-connected inverter in the step 3) is as follows:
wherein X (k) is a state vector, Y (k) is an output vector, x (k) is a state variable, U (k) is a control vector, V (k) is a control vectorg(k) For grid variables, k is time, and G, H, S, W are control coefficients, respectively.
Preferably, the objective function in step 4) is:
where θ is a, b, c, u is a, b, c, n, p is the prediction step, i is2θ *(k + i) is a reference amount of the output current of the three phases at the time point of k + i A, B, C, i2θ(k + i | k) is the predicted value of the three-phase output current of the controller at time k to time k + i, du(k + i-1) represents the duty ratio of the switching tube of A, B, C, N four bridge arms at the moment of k + i-1, and q and r are weight coefficients of the tracking error of the output current and the smoothness of the output current respectively.
Preferably, the constraint condition of the objective function is du(k+i-1)∈[0,1]。
Preferably, the luminance of the firefly is set in inverse proportion to the objective function j (x) in the step 5):
I(x)=1/J(x) (21)
wherein I (x) is the brightness of firefly at position x.
Preferably, the specific process of the firefly algorithm adopted in the step 5) is as follows:
(1) setting population quantity, maximum iteration times, initial attraction, light intensity absorption coefficient and step size factor;
(2) generating a corresponding number of fireflies according to the set population size, and randomly allocating a position to each firefly within the constraint conditions;
(3) calculating the brightness of each firefly generated randomly, enabling the brightness of the firefly to be the reciprocal of the value function substituted by the current position of the firefly, then sequencing the brightness of each firefly, and selecting the optimal individual in the current population;
(4) updating the position of each firefly, and enabling the firefly with lower brightness to move towards the firefly with higher brightness, and enabling the firefly with highest brightness to randomly move within a set range;
(5) calculating the brightness of each firefly again according to the updated firefly position, reordering, and repeating the step (4) until the difference of duty ratios of two consecutive times is smaller than the set precision;
(6) and outputting the optimal individual value and the global minimum value point in the solution space.
The invention also provides a grid-connected inversion control system of the fuel cell emergency power supply, which is characterized by comprising a power conversion circuit and a controller, wherein the controller can execute the grid-connected inversion control method of the fuel cell emergency power supply.
Further, the power conversion circuit comprises a voltage stabilizing capacitor at an input end, four bridge arms and an LCL filter of which an output end is used for filtering harmonic waves.
According to the topological structure of the three-phase four-bridge-arm grid-connected inverter, a state space mathematical model is established, discretization is carried out, and a prediction equation is obtained by adding a prediction step length and a control step length; then, constructing a target function with constraint conditions by using the limiting conditions of the control quantity duty ratio and the actual requirements of the output grid-connected current; and finally, a firefly intelligent optimization algorithm with the characteristic of fast optimization is adopted, the actual control quantity duty ratio of the inverter is associated with the brightness of the firefly, the optimal duty ratio of PWM (pulse-width modulation) waves for controlling a switching tube is obtained by simulating the movement process of the firefly, and the power circuit of the three-phase four-leg grid-connected inverter is optimally controlled. Compared with the prior art, the control method of the three-phase four-bridge-arm grid-connected inverter provided by the invention can enable the grid-connected inverter to have better dynamic and steady-state performances.
Drawings
Fig. 1 is a block diagram of a fuel cell emergency power supply system.
Fig. 2 is a schematic diagram of a power conversion circuit according to the present invention.
Fig. 3 is a schematic diagram of the implementation process of the firefly algorithm.
Fig. 4 is a simulation waveform diagram under the action of the PI controller.
Fig. 5 is a schematic diagram of FFT analysis under the action of a PI controller.
FIG. 6 is a graph of simulated waveforms under the action of a FA-MPC controller.
FIG. 7 is a diagram of FFT analysis performed by the FA-MPC controller.
FIG. 8 is a diagram showing the simulation results of the dynamic response of the phase B current under the action of two controllers.
Detailed Description
The invention is described in further detail below with reference to the figures and specific embodiments.
As shown in fig. 1, the fuel cell emergency power grid-connected inverter control method provided by the present invention acts on a fuel cell emergency power system, and the fuel cell emergency power system has a structure as shown in fig. 1, and includes a fuel cell module, a DC/DC converter, a lithium battery module, a grid-connected inverter, and a power grid.
The invention provides a grid-connected inversion control method for an emergency power supply of a fuel cell, which comprises the following steps:
1) establishing a state space mathematical model by utilizing kirchhoff voltage and current law according to a three-phase four-bridge-arm grid-connected inverter topological circuit;
2) discretizing the grid-connected inverter mathematical model in the continuous time domain state to obtain the grid-connected inverter mathematical model in the discrete time domain;
3) introducing two parameters of a prediction step length and a control step length which are needed in prediction control to obtain a prediction equation of the grid-connected inverter, and writing the prediction equation into a vector equation form;
4) on the basis of the vector form prediction equation, an objective function with constraint conditions is constructed by combining the limiting conditions of the duty ratio of the controlled variable and the actual requirements of output grid-connected current;
5) the method comprises the steps of adopting a firefly intelligent optimization algorithm, associating the actual control quantity duty ratio of an inverter with the brightness of the firefly, obtaining the optimal duty ratio of PWM (pulse-width modulation) waves of a control switch tube by simulating the movement process of the firefly, and carrying out optimization control on a power circuit of the three-phase four-leg grid-connected inverter.
In the invention, the topological structure of the three-phase four-leg grid-connected inverter is shown in figure 2, wherein a direct-current power supply UdcAfter passing through a three-phase four-bridge arm inverter, the three-phase four-bridge arm inverter is filtered by an LCL filter and finally flows into a three-phase alternating current power grid vga,vgb,vgc. Inverter side inductor L1Has a current of i1a,i1b,i1cGrid side inductance L2Has a current of i2a,i2b,i2cFilter capacitor CfHas a voltage of uca,ucb,ucc。R1Is an inductance L1Equivalent series resistance of R2Is an inductance L2Equivalent series resistance of RcThen is the filter capacitor CfThe purpose of the damping resistor connected in series is to suppress the resonance peak brought by the LCL filter. L isnIs a neutral inductor connected in series on the neutral line of the fourth bridge arm and is used for improving the integral filtering effect of the filter, RnIs an inductance LnThe equivalent series resistance of (c). u. ofa,ub,uc,unThe voltage at the center point of the four bridge arms. And performing mathematical modeling on the three-phase four-bridge-arm grid-connected inverter according to the kirchhoff voltage law and the current law, and describing the mathematical modeling by using a mathematical expression to obtain a state space equation of the three-phase four-bridge-arm grid-connected inverter. Then discretizing and iterating the state space equation in the continuous time domain to obtain a prediction equation of the three-phase four-bridge-arm grid-connected inverter, then introducing two parameters of a prediction step length and a control step length, and finally obtaining a vector matrix of the prediction equationFormula (II) is shown. Designing a corresponding objective function by combining working condition requirements in actual operation of the inverter, substituting a prediction equation into the objective function for simplification and arrangement, adding a certain constraint condition according to the actual condition of the controlled quantity, then solving the minimum value of the objective function with the constraint by adopting a firefly algorithm, and outputting the optimal duty ratio after the optimization precision reaches the standard.
The grid-connected inverter has the function of converting the front-stage direct current into the alternating current and merging the alternating current into a power grid, A, B, C three phases of the grid-connected inverter form loops with N phases respectively, and the loops are not influenced with each other. One phase can be listed separately, analyzed using kirchhoff's voltage law and current law, then the other two phases can be analogized, and then the voltage-current equations for the three phases are summed up to give:
where t is time, the variables may be expressed as follows:
now let da, db, dc and dn be the duty cycles of the switching tubes on the four arms A, B, C and N, so that the potential of point a relative to the negative terminal of the DC voltage is u in one switching perioda=da*Udc. In the same way, ub=db*Udc,uc=dc*Udc,un=dn*UdcThe following can be obtained:
rewriting the above mathematical expression into a vector form yields:
wherein the state variable is x ═ i1 vc i2]TThe controlled variable is u ═ da db dc dn]TThe output variable is y ═ i2(ii) a Alpha, beta, lambda, gamma and D in the formula are all constant coefficient matrixes and can be obtained according to actual topological parameters of the inverter. Now define EiIs an i-order identity matrix, Oi×jIs an all-zero matrix with i rows and j columns, therefore, the five constant coefficient matrices α, β, λ, γ, and D can be expressed as follows:
γ=[O3×6 E3]T (10)
D=γT (11)
the expression is further simplified and arranged to obtain:
wherein A ═ α-1×β,B=α-1×λ,C=α-1X γ. Then discretizing the formula to obtain a mathematical expression of the three-phase four-bridge-arm grid-connected inverter in a discrete time domain:
The above formula is iterated for many times to obtain a prediction equation:
in the invention, the prediction step length of the designed prediction controller is p, and the control step length is m. For convenience, both the prediction step size and the control step size are selected to be p, i.e., m ═ p. Thus, p sets of prediction equations are available, which are then written in matrix form as follows:
Therefore, a vector-form prediction equation of the three-phase four-leg grid-connected inverter can be obtained:
in the invention, the controlled object is the output current of the three-phase four-bridge-arm grid-connected inverter, and the controlled object has two requirements on the output current: the error between the output current and the reference current is as small as possible; ② the waveform of the output current is as smooth as possible. The first point requires that the basic shape of the output current is guaranteed as a main control target; the second point requires that the fluctuation of the output current be able to be suppressed as a secondary control target. The error can be expressed as the square of the difference between the reference current and the output current, i.e. (i)ref-io)2(ii) a The smoothness of the output current is influenced by a controlled quantity u, which can be used2To suppress fluctuations in current. And (3) combining the primary and secondary control targets to construct a cost function as shown in the following formula:
where θ is a, b, c, u is a, b, c, n, p is the prediction step, i is2θ *(k + i) is k + i at time A, B,Reference quantity of output current of C three phases, i2θ(k + i | k) is the predicted value of the three-phase output current of the controller at time k to time k + i, du(k + i-1) represents the duty ratio of the switching tube of A, B, C, N four bridge arms at the moment of k + i-1, and q and r are weight coefficients of the tracking error of the output current and the smoothness of the output current respectively.
The method mainly comprises the following steps that a cost function is divided into two parts, wherein the cost function is the sum of squares of differences between three-phase output current reference values and output current predicted values at all moments and is used for representing the fundamental wave shape of the output current of an inverter, and the smaller the part is, the smaller the error between the output current of the inverter and the reference current is; and the second is the sum of squares of duty ratios of the switching tubes on the four bridge arms at each moment, which is used for representing the control action change of the controller, and the smaller the part is, the smoother the waveform of the output current of the inverter is. q and r are two newly introduced parameters, namely weight coefficients of an output current tracking error and an output current smoothness, which represent the control bias degree of the controller for the two parts, and since the output current tracking error is a main control object and the current smoothness is an additional soft constraint, the following principle should be followed in the selection of the weight coefficients: q > > r.
By further simplifying the formula (17), it is possible to obtain:
wherein,y*(k + i) is a reference value of the output current of the system at the moment k + i,Q=diag(q,…,q),R=diag(r,…,r),Umin=[0…0]T,Umax=[1…1]T。
combining the formulas to obtain:
where Ψ ═ WG · x (k) + WS · Vg(k)。
The Firefly Algorithm (FA) is a novel heuristic group intelligent optimization algorithm, and because the Firefly algorithm has the characteristic of fast optimization, the method is adopted to solve the objective function.
In the firefly algorithm, the position of each firefly represents a feasible solution of the problem, the brightness of the firefly represents the fitness of the position of the firefly, and the higher the brightness of the firefly is, the better the fitness of the position of the individual is, namely, the better the position in the whole solution space is. In solving the space, every firefly can fly towards luminance than oneself high firefly, makes oneself be in more excellent position, and the bigger firefly of luminance is just also bigger to other firefly's attraction degree. In the present invention, the minimum value of the objective function is solved, so the luminance of the firefly and the objective function can be set in an inverse relationship:
I(x)=1/J(x) (21)
wherein I (x) is the brightness of firefly at position x.
The method includes the steps of conducting brightness sequencing on each firefly randomly given in initialization, and then moving each firefly according to the rule that low brightness is attracted by high brightness. The move formula is as follows:
wherein, beta0The attraction degree when the distance r to the firefly is 0; γ is the absorption coefficient of the light-transmitting medium (typically air); alpha is a step factor and is expressed as a random disturbance term; r isijIs that any two in space are respectively at the position XiAnd XjExpressed as follows, the Euclidean distance between fireflies i and j:
wherein n represents the maximum dimension of the location of firefly in space, and xi,kIndicating that the ith firefly is in space XiThe value of the k-th dimension coordinate at the location.
As shown in fig. 3, the specific flow of the firefly algorithm is as follows:
(1) basic parameters of the algorithm are initialized. The population number, the maximum iteration number, the initial attraction degree, the light intensity absorption coefficient and the step size factor are mainly set.
(2) And (5) initializing a population. And generating a corresponding number of fireflies according to the population size set in the last step, and randomly allocating a position to each firefly within the constraint conditions.
(3) The luminance calculation was performed for each firefly randomly generated in the previous step. For the minimum optimization problem, the firefly brightness can be made to be the reciprocal of the firefly current position substituted into the value function, then the brightness of each firefly is sequenced, and the optimal individual in the current population is selected.
(4) The location of each firefly is updated. The firefly with low luminance is moved to the firefly with high luminance by the formula (22), and the firefly with the highest luminance is moved randomly within a certain range.
(5) And (4) calculating the brightness of each firefly again according to the updated firefly position in the previous step, reordering, and repeating the step (4) until the difference of the duty ratios of two consecutive times is smaller than the set precision.
(6) And outputting the optimal individual value and the global minimum value point in the solution space.
Contrast experiment for grid-connected current waveform stability
A comparative experiment is performed when the grid-connected current waveforms are stable, and two groups of stable grid-connected current waveforms and current error waveforms are obtained and are shown in fig. 4. In the figure, the ordinate represents the grid-connected current and the current error respectively, and the abscissa represents the simulation time. FFT analysis by PI controller as shown in fig. 5, the amplitude of the current waveform by PI controller at the fundamental frequency was 20.21A, and THD was 0.78%. The simulation waveform under the action of the FA-MPC controller provided by the invention is shown in fig. 6, the FFT analysis under the action of the FA-MPC controller is shown in fig. 7, the amplitude of the current waveform under the action of the FA-MPC controller at the fundamental frequency is 20.86A, and the THD is 0.65%.
From the above experiments, it can be seen that the amplitudes at the fundamental frequency of the two controllers are 20.21A and 20.86A, respectively, which are not much different from the 21.21A set by us, but it can be found from the observation of their total harmonic distortion rates that the THD of the PI controller is 0.78%, and the THD of the FA-MPC controller is 0.65%, which are all low values, indicating that they contain fewer current harmonics, mainly low order harmonics.
For the PI controller and the FA-MPC controller, the FA-MPC controller is superior and has better control effect in view of current sine degree and smoothness, steady-state error and total harmonic distortion THD value.
Fig. 8 is a schematic diagram of a simulation result of dynamic response of the phase B current under the action of two controllers, when t is 0.1s, the reference effective value of the grid-connected current is reduced from 15A to 10A, and then the dynamic response of the phase B current is observed under the action of two different controllers. Amplifying the current waveform near 0.1s, and showing that the overshoot of the B-phase current waveform under the action of the PI controller reaches 4.8A, and the adjusting time is 0.4 ms; the overshoot of the B-phase current waveform under the action of the FA-MPC controller is only 4.5A, and the adjusting time is 0.55 ms. In the aspect of controlling the overshoot, the FA-MPC controller performs more excellently; the PI controller is 0.15ms faster than the FA-MPC controller in the adjustment time, and occupies 0.75% of 20ms of a control period, which is considered to be slightly different, and the influence is ignored, mainly because the calculation amount of the FA-MPC controller is larger than that of the PI controller, and the required time is longer. Overall, the control effect of both in terms of dynamic response is quite good, but FA-MPC controllers are much better than PI controllers.
Finally, it should be noted that the above detailed description is only for illustrating the technical solution of the patent and not for limiting, although the patent is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the patent can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the patent, which should be covered by the claims of the patent.
Claims (10)
1. The fuel cell emergency power supply grid-connected inversion control method is characterized in that: the method acts on a fuel cell emergency power supply system and performs optimal control on a power circuit of a three-phase four-bridge-arm grid-connected inverter, and comprises the following steps:
1) establishing a state space mathematical model by utilizing kirchhoff voltage and current law according to a three-phase four-bridge-arm grid-connected inverter topological circuit;
2) discretizing the grid-connected inverter mathematical model in the continuous time domain state to obtain the grid-connected inverter mathematical model in the discrete time domain;
3) introducing two parameters of a prediction step length and a control step length which are needed in prediction control to obtain a prediction equation of the grid-connected inverter, and writing the prediction equation into a vector equation form;
4) on the basis of the vector form prediction equation, an objective function with constraint conditions is constructed by combining the limiting conditions of the duty ratio of the controlled variable and the actual requirements of output grid-connected current;
5) the method comprises the steps of adopting a firefly intelligent optimization algorithm, associating the actual control quantity duty ratio of an inverter with the brightness of the firefly, obtaining the optimal duty ratio of PWM (pulse-width modulation) waves of a control switch tube by simulating the movement process of the firefly, and carrying out optimization control on a power circuit of the three-phase four-leg grid-connected inverter.
2. The fuel cell emergency power supply grid-connected inversion control method according to claim 1, characterized in that: the expression of the state space mathematical model in the step 1) is as follows:
in the formula, an inverter side inductor L1Has a current of i1a,i1b,i1cGrid side inductance L2Has a current of i2a,i2b,i2cFilter capacitor CfHas a voltage of uca,ucb,ucc,RcIs a filter capacitor CfDamping resistor connected in series, vga,vgb,vgcIs a three-phase AC network ua,ub,uc,unThe voltage of the center points of four bridge arms, t is time, R2 is equivalent series resistance on an inductor L2, and L isnIs a neutral inductor, R, connected in series on the neutral line of the fourth bridge armnIs an inductance LnThe equivalent series resistance of (c).
3. The fuel cell emergency power supply grid-connected inversion control method according to claim 1, characterized in that: the mathematical model of the grid-connected inverter in the discrete time domain in the step 2) is as follows:
in the formula, phi, gamma, lambda and D are all variable coefficients.
4. The fuel cell emergency power supply grid-connected inversion control method according to claim 1, characterized in that: the vector form prediction equation of the three-phase four-leg grid-connected inverter in the step 3) is as follows:
wherein X (k) is a state vector, Y (k) is an output vector, x (k) is a state variable, U (k) is a control vector, V (k) is a control vectorg(k) For grid variables, k is time, and G, H, S, W are control coefficients, respectively.
5. The fuel cell emergency power supply grid-connected inversion control method according to claim 1, characterized in that: the objective function in the step 4) is as follows:
where θ is a, b, c, u is a, b, c, n, p is the prediction step, i is2θ *(k + i) is a reference amount of the output current of the three phases at the time point of k + i A, B, C, i2θ(k + i | k) is the predicted value of the three-phase output current of the controller at time k to time k + i, du(k + i-1) represents the duty ratio of the switching tube of A, B, C, N four bridge arms at the moment of k + i-1, and q and r are weight coefficients of the tracking error of the output current and the smoothness of the output current respectively.
6. The grid-connected inversion control method for the emergency power supply of the fuel cell as claimed in claim 5, wherein: the constraint condition of the objective function is du(k+i-1)∈[0,1]。
7. The fuel cell emergency power supply grid-connected inversion control method according to claim 1, characterized in that: in the step 5), the brightness of the firefly and the objective function j (x) are set to be in inverse proportion to each other:
I(x)=1/J(x) (21)
wherein I (x) is the brightness of firefly at position x.
8. The fuel cell emergency power supply grid-connected inversion control method according to claim 1, characterized in that: the specific process of the firefly algorithm adopted in the step 5) is as follows:
(1) setting population quantity, maximum iteration times, initial attraction, light intensity absorption coefficient and step size factor;
(2) generating a corresponding number of fireflies according to the set population size, and randomly allocating a position to each firefly within the constraint conditions;
(3) calculating the brightness of each firefly generated randomly, enabling the brightness of the firefly to be the reciprocal of the value function substituted by the current position of the firefly, then sequencing the brightness of each firefly, and selecting the optimal individual in the current population;
(4) updating the position of each firefly, and enabling the firefly with lower brightness to move towards the firefly with higher brightness, and enabling the firefly with highest brightness to randomly move within a set range;
(5) calculating the brightness of each firefly again according to the updated firefly position, reordering, and repeating the step (4) until the difference of duty ratios of two consecutive times is smaller than the set precision;
(6) and outputting the optimal individual value and the global minimum value point in the solution space.
9. The utility model provides a fuel cell emergency power supply inverter control system that is incorporated into power networks which characterized in that: the system comprises a power conversion circuit and a controller, wherein the controller can execute the fuel cell emergency power grid-connected inversion control method according to any one of claims 1 to 8.
10. The fuel cell emergency power grid-connected inverter control system according to claim 9, characterized in that: the power conversion circuit comprises a voltage stabilizing capacitor at an input end, four bridge arms and an LCL filter of which an output end is used for filtering harmonic waves.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110666631.7A CN113541170B (en) | 2021-06-16 | 2021-06-16 | Grid-connected inversion control method and system for emergency power supply of fuel cell |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110666631.7A CN113541170B (en) | 2021-06-16 | 2021-06-16 | Grid-connected inversion control method and system for emergency power supply of fuel cell |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113541170A true CN113541170A (en) | 2021-10-22 |
CN113541170B CN113541170B (en) | 2023-11-24 |
Family
ID=78125030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110666631.7A Active CN113541170B (en) | 2021-06-16 | 2021-06-16 | Grid-connected inversion control method and system for emergency power supply of fuel cell |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113541170B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116914835A (en) * | 2023-07-21 | 2023-10-20 | 国网湖北省电力有限公司随州供电公司 | Micro-energy-storage remote weak power grid voltage management method based on current tracking control |
CN117614300A (en) * | 2024-01-23 | 2024-02-27 | 苏州大学 | Continuous model predictive control method for T-type three-level three-phase four-bridge arm inverter |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040085543A (en) * | 2003-03-31 | 2004-10-08 | 설승기 | A Carrier-Based SVPWM Method for Three-Phase Four-Leg Inverter and a Switching Signal Generator |
CN102035423A (en) * | 2010-11-10 | 2011-04-27 | 上海兆能电力电子技术有限公司 | Three-phase four-wire three-level photovoltaic grid-connected connection inverter and control method thereof |
CN102075107A (en) * | 2010-12-17 | 2011-05-25 | 湘潭大学 | Main circuit of three-phase four-wire DC/AC convertor and control method thereof |
CN103916039A (en) * | 2014-03-20 | 2014-07-09 | 天津科技大学 | Control method for photovoltaic grid-connected inverter on basis of back-stepping sliding-mode control |
CN104578878A (en) * | 2014-12-29 | 2015-04-29 | 武汉理工大学 | Control method of three-phase four-leg grid-connected inverter |
CN108306540A (en) * | 2018-02-08 | 2018-07-20 | 武汉理工大学 | A kind of control method of the dead beat repeated controlling system of gird-connected inverter |
CN109217702A (en) * | 2017-07-06 | 2019-01-15 | 华北电力大学(保定) | A kind of MMC parameter optimization method based on adaptive glowworm swarm algorithm |
CN109905048A (en) * | 2017-12-08 | 2019-06-18 | 台达电子企业管理(上海)有限公司 | Tri-level circuit neutral-point voltage balance method |
CN110460071A (en) * | 2019-08-29 | 2019-11-15 | 天津大学 | A kind of three-phase four-wire system current transformer oscillation of power inhibits and overcurrent suppressing method |
WO2021035269A1 (en) * | 2019-08-30 | 2021-03-04 | Avl List Gmbh | Method and controller for model predictive control of coupled converters |
-
2021
- 2021-06-16 CN CN202110666631.7A patent/CN113541170B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040085543A (en) * | 2003-03-31 | 2004-10-08 | 설승기 | A Carrier-Based SVPWM Method for Three-Phase Four-Leg Inverter and a Switching Signal Generator |
CN102035423A (en) * | 2010-11-10 | 2011-04-27 | 上海兆能电力电子技术有限公司 | Three-phase four-wire three-level photovoltaic grid-connected connection inverter and control method thereof |
CN102075107A (en) * | 2010-12-17 | 2011-05-25 | 湘潭大学 | Main circuit of three-phase four-wire DC/AC convertor and control method thereof |
CN103916039A (en) * | 2014-03-20 | 2014-07-09 | 天津科技大学 | Control method for photovoltaic grid-connected inverter on basis of back-stepping sliding-mode control |
CN104578878A (en) * | 2014-12-29 | 2015-04-29 | 武汉理工大学 | Control method of three-phase four-leg grid-connected inverter |
CN109217702A (en) * | 2017-07-06 | 2019-01-15 | 华北电力大学(保定) | A kind of MMC parameter optimization method based on adaptive glowworm swarm algorithm |
CN109905048A (en) * | 2017-12-08 | 2019-06-18 | 台达电子企业管理(上海)有限公司 | Tri-level circuit neutral-point voltage balance method |
CN108306540A (en) * | 2018-02-08 | 2018-07-20 | 武汉理工大学 | A kind of control method of the dead beat repeated controlling system of gird-connected inverter |
CN110460071A (en) * | 2019-08-29 | 2019-11-15 | 天津大学 | A kind of three-phase four-wire system current transformer oscillation of power inhibits and overcurrent suppressing method |
WO2021035269A1 (en) * | 2019-08-30 | 2021-03-04 | Avl List Gmbh | Method and controller for model predictive control of coupled converters |
Non-Patent Citations (1)
Title |
---|
陈启宏等: "三相四桥臂并网逆变器约束模型预测控制", 电网技术, no. 02, pages 218 - 226 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116914835A (en) * | 2023-07-21 | 2023-10-20 | 国网湖北省电力有限公司随州供电公司 | Micro-energy-storage remote weak power grid voltage management method based on current tracking control |
CN117614300A (en) * | 2024-01-23 | 2024-02-27 | 苏州大学 | Continuous model predictive control method for T-type three-level three-phase four-bridge arm inverter |
CN117614300B (en) * | 2024-01-23 | 2024-04-05 | 苏州大学 | Continuous model predictive control method for T-type three-level three-phase four-bridge arm inverter |
Also Published As
Publication number | Publication date |
---|---|
CN113541170B (en) | 2023-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kim | Sliding mode controller for the single-phase grid-connected photovoltaic system | |
Tolbert et al. | Real-time selective harmonic minimization for multilevel inverters connected to solar panels using artificial neural network angle generation | |
Muthuramalingam et al. | Comparative analysis of distributed MPPT controllers for partially shaded stand alone photovoltaic systems | |
Ramaprabha et al. | Maximum power point tracking of partially shaded solar PV system using modified Fibonacci search method with fuzzy controller | |
CN114362196B (en) | Multi-time-scale active power distribution network voltage control method | |
Gengyin et al. | Power flow calculation of power systems incorporating VSC-HVDC | |
CN113541170B (en) | Grid-connected inversion control method and system for emergency power supply of fuel cell | |
Rakhtala et al. | Fuzzy PID control of a stand-alone system based on PEM fuel cell | |
Al-Dabbagh et al. | Modelling, simulation and control of a proton exchange membrane fuel cell (PEMFC) power system | |
CN111600492B (en) | Efficiency optimization control method of double-active full-bridge direct current converter | |
Kabalci | Maximum power point tracking (MPPT) algorithms for photovoltaic systems | |
Mao et al. | Grid-connected modular PV-Converter system with shuffled frog leaping algorithm based DMPPT controller | |
Fernandes et al. | State feedback control for DC-photovoltaic systems | |
Chen et al. | Sliding-mode control with multipower approaching law for dc-link voltage of z-source photovoltaic inverters | |
CN111509772A (en) | Grid-connected current control method suitable for micro-grid with MMC half-bridge series structure | |
Apparao et al. | Hybrid MDA-ANFIS approach based control of grid connected solar system with nine level inverter wind energy conversion | |
CN117895567A (en) | Particle swarm optimization method for PID controller of photovoltaic energy storage grid-connected inverter | |
Sharifian et al. | A new control method based on type-2 fuzzy neural PI controller to improve dynamic performance of a half-bridge DC–DC converter | |
Bâja et al. | Hybrid control of a three-level three-cell dc-dc converter | |
CN110518625B (en) | Grid-connected inverter direct-current component suppression method with variable learning rate BP-PID control | |
Piyarungsan et al. | Harmonic reduction technique in PWM AC voltage controller using particle swarm optimization and artificial neural network | |
CN115987086A (en) | Single-switch DC-DC converter on-line control method based on neural network | |
CN111564978A (en) | Based on fractional order PIλDμControlled full-bridge LLC converter and system | |
Weslati et al. | Sliding mode control of a photovoltaic grid connected system | |
Kakigano et al. | An analysis method of a DC microgrid using hardware-in-the-loop simulation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |