A kind of method that suppresses single-phase grid-connected inverter grid-connected current spike
Technical field
The present invention relates to a kind of in based on numerically controlled single-phase grid-connected inverter due to the jump inhibition method of the grid-connected current spike that causes of line voltage.
Background technology
In the single-phase two-stage grid-connected inverter of generally application, prime is the DC circuit part, and rear class is the inverter circuit part, and energy is reverse into to alternating current, and in being connected to the grid, centre is DC bus, referring to Fig. 1.Prime is responsible for following the tracks of the maximum power of photovoltaic battery panel, and energy is imported in DC bus, and rear class is reverse into the energy of bus and the electric current of electrical network with the frequency homophase, enters electrical network.When the line voltage effective value was basicly stable usually, the mean value of the voltage of DC bus was also fixed value, and its magnitude of voltage is controlled by the inverter circuit of rear class.But when line voltage raises suddenly, the voltage of bus has little time to raise, the grid-connected current of inversion output will form a pit not due to busbar voltage, and then under the effect of integration, and then form a higher current spike, referring to Fig. 2, current spike is easy to the components and parts of circuit are damaged.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method that suppresses single-phase grid-connected inverter grid-connected current spike, the grid-connected current spike problem formed when line voltage jumps to solve single-phase grid-connected inverter.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: a kind of method that suppresses single-phase grid-connected inverter grid-connected current spike, and its special feature is: comprise the following steps:
(1) the output Vc of current regulator and carrier wave Vtri relatively form duty ratio D, and general duty ratio D has a maximum restriction Dmax, described duty ratio Dmax<1;
(2) in numerically controlled adjuster, adjuster is exported and done amplitude limit;
(3) detect duty ratio D always, after D reaches Dmax, start counting, after D N continuous time reaches Dmax, flag bit flag=1 of mark; When wherein N is greater than normal operation, reach the number of times of Dmax.
(4) after flag=1 being detected, judge whether current sampling data iL equates with the difference of current reference value iref, when error peak current 10% in, just think to equate, if equate locking is exactly the b point this moment;
(5) after locking b point, by the integration zero clearing of current regulator currPI.
In above-mentioned steps (3), N is 6.
Compared with prior art, beneficial effect of the present invention is: the present invention need not use the element of any hardware, do not need to increase exponent number and the type of controller, do not need complicated algorithm, namely can allow output current wave can not produce spike because of the unexpected rising of electrical network.
The accompanying drawing explanation
Below in conjunction with drawings and embodiments, describe the present invention in detail:
Fig. 1 is two-stage single-phase grid-connected inverter system block diagram in prior art;
Fig. 2 is that DC bus-bar voltage is lower than line voltage the time and the corresponding diagram of output current wave;
Fig. 3 is the control structure system block diagram of inverter circuit (DC/AC) part.
Embodiment
A kind of method that suppresses single-phase grid-connected inverter grid-connected current spike, Fig. 3 is the current controlled circuit figure of the rear class part of generally combining inverter, in Fig. 2, can see when line voltage jumps, the peak value part voltage of line voltage can be greater than the voltage of DC bus, again in conjunction with as can be known in Fig. 3, when Vgrid becomes large, VL voltage will reduce, inductive current iL will reduce, just there will be pit as shown in Figure 2, yet the given iref of electric current is a complete sine, as shown in iref indication lines in Fig. 2, at this moment the current error amount ie in Fig. 3 will increase, and current regulator PI will carry out error integration, until in Fig. 2 after the b point, line voltage is less than DC bus-bar voltage, due to PI before, adjust the integral action of machine this time, the duty ratio D of switch drive that will control inverter increases, cause the b point spike to occur with the waveform of after-current.A kind of method that suppresses single-phase grid-connected inverter grid-connected current spike, the method can accurately detect a point in Fig. 2 and occur to the current conditions of this section of b point, thereby, by the integration zero clearing of pi regulator, after b point, just not there will be like this current spike.
Specifically comprise the following steps:
(1) the output Vc of current regulator and carrier wave Vtri relatively form duty ratio D, and general duty ratio D has a maximum restriction Dmax (Dmax<1);
(2) in numerically controlled adjuster, can do amplitude limit to adjuster output, to avoid spillover, as shown in Figure 2, in Fig. 2 after a point, current regulator currentPI can reach rapidly amplitude limit value due to the increase of current error ie, thereby makes D be increased to Dmax;
(3) detect duty ratio D always, after D reaches Dmax, start counting, after D N continuous time reaches Dmax, flag bit flag=1 of mark, (flag=0 before); Wherein N is 6;
(4) after flag=1 being detected, judge whether current sampling data iL equates with the difference of reference value iref, when error peak current 10% in, just think to equate, if equate locking is exactly the b point this moment;
(5) after locking b point, by the integration zero clearing of current regulator currPI;
The discretization function of pi regulator is:
y(n) = y(n-1) + k1*e(n) -k2*e(n-1) (1)
The original shape of the current regulator currPI that above-mentioned steps is mentioned is also the represented mode of formula (1), wherein y (n) is the final output of currPI, y (n-1) is last currPI output, e (n) is this error input variable, be the ie in Fig. 3, e (n-1) is last error input variable, and k1 and k2 are the controller coefficient.After (4) bar of the concrete steps of detection method, by the integrator zero clearing, method of operation is exactly that the y (n-1) in formula (1), e (n-1) zero clearing are got final product.