A kind of method suppressing single-phase grid-connected inverter grid-connected current spike
Technical field
The present invention relates to a kind of suppressing method of the grid-connected current spike caused because line voltage jumps in based on numerically controlled single-phase grid-connected inverter.
Background technology
In the single-phase two-stage grid-connected inverter generally applied, prime is DC circuit part, and rear class is inverter circuit part, and energy is reverse into alternating current, and in being connected to the grid, centre is DC bus, see Fig. 1.Prime is responsible for the maximum power of following the tracks of photovoltaic battery panel, and imports in DC bus by energy, and the energy of bus is reverse into and the electric current of electrical network with frequency homophase by rear class, enters electrical network.Time usual line voltage effective value is basicly stable, the mean value of the voltage of DC bus is also fixed value, and its magnitude of voltage is controlled by the inverter circuit of rear class.But when line voltage raises suddenly time, the voltage of bus has little time to raise, the grid-connected current that inversion exports will form a pit not due to busbar voltage, and then under the effect of integration, and then form a higher current spike, see Fig. 2, current spike is easy to the component damage of circuit.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method suppressing single-phase grid-connected inverter grid-connected current spike, to solve the grid-connected current spiking problems that single-phase grid-connected inverter is formed when line voltage jumps.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: a kind of method suppressing 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 compares with carrier wave Vtri and forms duty ratio D, and general duty ratio D has maximum restriction Dmax, a described duty ratio Dmax<1;
(2) in numerically controlled adjuster, amplitude limit is done to adjuster output;
(3) detect duty ratio D always, after D reaches Dmax, start counting, after D N continuous time reaches Dmax, mark a flag bit flag=1; Wherein N is greater than the number of times that normal operation reaches Dmax.
(4) after flag=1 being detected, judge that whether current sampling data iL is equal with the difference of current reference value iref, when error is within 10% of peak current, just think equal, if equal, lock is exactly b point this moment;
(5) lock after b point, by the integrate-dump 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 the exponent number and the type that increase controller, do not need complicated algorithm, output current wave namely can be allowed can not to produce spike because of the unexpected rising of electrical network.
Accompanying drawing explanation
The present invention is described in detail below in conjunction with drawings and embodiments:
Fig. 1 is two-stage single-phase grid-connected inverter system block diagram in prior art;
Fig. 2 is DC bus-bar voltage lower than when line voltage 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 suppressing 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, can see in fig. 2 when line voltage jumps time, the peak fractions voltage of line voltage can be greater than the voltage of DC bus, known in composition graphs 3 again, when Vgrid becomes large time, VL voltage will reduce, inductive current iL will reduce, just there will be pit as shown in Figure 2, but 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 error will be carried out integration by current regulator PI, until b point in Fig. 2, line voltage is less than DC bus-bar voltage, this time is due to the integral action of PI tune machine before, will control inverter switch drive duty ratio D increase, b point is caused to occur a spike with the waveform of after-current.Suppress a method for single-phase grid-connected inverter grid-connected current spike, the method accurately can detect that a point in Fig. 2 occurs to the current conditions of this section of b point, thus by the integrate-dump of pi regulator, would not occur current spike like this after b point.
Specifically comprise the following steps:
(1) the output Vc of current regulator compares with carrier wave Vtri and forms duty ratio D, and general duty ratio D has maximum restriction Dmax (Dmax<1);
(2) amplitude limit can be done to adjuster output in numerically controlled adjuster, 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, thus 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, mark a flag bit flag=1, (before flag=0); Wherein N is 6;
(4) after flag=1 being detected, judge that whether current sampling data iL is equal with the difference of reference value iref, when error is within 10% of peak current, just think equal, if equal, lock is exactly b point this moment;
(5) lock after b point, by the integrate-dump 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 also is the mode represented by formula (1), wherein y (n) the final output that is currPI, y (n-1) is that last currPI exports, the error input variable that e (n) is this, namely the ie in Fig. 3, e (n-1) is last error input variable, k1 and k2 is controller coefficient.After (4) article of the concrete steps of detection method, reset by integrator, the y (n-1) in formula (1), e (n-1) reset by method of operation exactly.