Summary of the invention
For solving above technical problem, the invention provides a kind of based on the grid-connected of line voltage positive sequence extractor and independent double mode changing method of a kind of smooth transition again between grid-connect mode and stand-alone mode.
Technical solution of the present invention is as follows: a kind of based on the grid-connected of line voltage positive sequence extractor and independent double mode changing method, the line voltage positive sequence extractor comprised extracts the positive sequence component of line voltage by following formula:
In formula: it was the n-th moment that sequence number n represents current, u
g α(n), u
g βline voltage value under n two-phase rest frame that () is current time, namely
Wherein, u
ga, u
gb, u
gcfor line voltage sampled value;
with
be respectively the line voltage fundamental positive sequence in current time and a upper moment, their initial value is taken as zero; ω
1for fundamental frequency, T is the controlling of sampling cycle; A ∈ [0,1] is filter factor, and when grid-connect mode, filter factor a is less than 1, and during stand-alone mode, filter factor a is 1.
Improve as one, grid-connected current controls adoption rate double resonance controller, and governing equation is:
In formula: v
α, v
βfor the modulation voltage value under two-phase rest frame;
for the given value of current under two-phase rest frame, computing formula is:
Wherein
For the Output rusults of line voltage positive sequence extractor, and P
*and Q
*be inverter need as electrical network send active power and reactive power, depending on the size of DC input power and the requirement of electrical network; Proportionality coefficient value is
wherein L
1for inverter net side inductance, L
2for inverter side inductance;-ω
1l
1i
βwith ω
1l
1i
αfor decoupling zero item; Line voltage value u
g αwith u
g βbe used as the impact that feedforward term offsets electrical network; Resonance item c
α, c
βbe used for realizing the DAZ gene of alternating current, specific implementation formula is:
In formula, resonance control coefrficient value is
the intermediate variable c of structure
α 1, c
β 1and the initial value of resonance item is zero.For preventing overvoltage, amplitude limiting processing is done to resonance item and intermediate variable.Namely when
time,
to c
β, c
β 1also similar amplitude limiting processing is done, amplitude limit value C
limvalue is 0.1 times of specified grid voltage amplitude.Adopt after technique scheme, cutting-in control and changing method make system from grid-connected be switched to stand-alone mode time, load voltage can maintain and seamlessly transit, and can not make load voltage exception because of the power-off of electrical network.
Improve as one, load voltage controls to have employed ratio double resonance controller, and governing equation is:
Wherein the value of Voltage loop proportionality coefficient is k
pu=0.5, AC load voltage given is calculated as follows:
In formula: U
*for load rated voltage amplitude, for the AC network of single-phase 220V, its value is 311;
D
αwith d
βfor in order to realize floating voltage-controlled voltage error resonance item.Concrete discretization expression formula is:
In formula, the value of resonance control coefrficient is k
ru=0.005, d
α 1, d
β 1for the intermediate variable of structure, the initialization value of resonance item is taken as the modulation voltage value that also net state is last, d
α(0)=v
α, d
α 1(0)=v
β, d
β(0)=v
β, d
β 1(0)=-v
α.After adopting technique scheme, independent control is with when independently making system detect that line voltage recovers in the independent mode to grid-connected changing method, line voltage can be traced into by quick and smooth, load voltage and line voltage are reached unanimity, then realizes the grid-connected of no current impact when controller detects consistent.
The positive sequence extractor of the present invention's design has the effect of filtering, and it does not extract the positive sequence component of first-harmonic and all inhibited to other harmonics and negative sequence component with can having amplitude attenuation and phase deviation.And because positive sequence extractor is that iteration performs, the change of coefficient can't cause the sudden change of output, but seamlessly transit.Theoretical and the asymmetrical component method according to Fourier analysis, the line voltage of three-phase three wire system can be analyzed to positive sequence and the negative sequence component sum of different frequency.Might as well set the component of wherein angular frequency as:
wherein, ω is greater than 0 expression positive sequence component, is less than 0 expression negative sequence component.Positive sequence extractor is an iterative equation, and the mould of transfer matrix characteristic root is a, because it is less than 1, so be stable, and more close to 0, restrains faster.The stable state that can solve exports:
wherein: amplitude amplification coefficient, namely amplitude-frequency characteristic is
phase deviation, namely phase-frequency characteristic is
get ω
1=314rad/s, T=100 μ s.
From amplitude-frequency and phase-frequency characteristic, if ω=ω
1, then the input and output of positive sequence extractor are completely equal in amplitude and phase place.For fundamental frequency without phase deviation with without amplitude attenuation characteristic, this is better than other extracting method.If
or
and a is more close to 1, larger to the decay of harmonic wave.Although work as
(k is natural number) is also undamped output, but due to T be the sampling period, its value is very little,
above frequency component itself is very little, and be sampling less than, therefore positive sequence extractor is only, without the extraction of amplitude attenuation, negative phase-sequence and other harmonic component have been carried out filtering to fundamental positive sequence.
Embodiment
Below in conjunction with accompanying drawing, specific embodiments of the invention are elaborated.
1. circuit system wiring
Containing critical load distributed generation system as shown in Figure 1.C in Fig. 1
dfor DC filter capacitor, AC inductance L
1, L
2form LCL filter with electric capacity C, Z is the critical load needing uninterrupted power supply; i
1a, i
1b, i
1cfor inverter side inductive current, i
ga, i
gb, i
gcfor networking electric current; u
ga, u
gb, u
gcfor line voltage, u
za, u
zb, u
zcfor load voltage, v
a, v
b, v
cfor modulation voltage.In figure, distributed DC power can be the various DC power supply such as photovoltaic battery panel, fuel cell, storage battery, wind power generation rectification unit.Direct current is modulated to three-phase alternating current through inversion unit.LCL filter need be installed with the harmonic wave of filtering modulation generation at AC.Grid-connected switch and circuit breaker is equiped with between inverter and electrical network.Described grid-connected switch can be the alternating-current switch such as IGBT of contactor, relay, bidirectional thyristor, anti-series.The critical load of uninterrupted power supply is needed to be connected between filter and grid-connected switch.When circuit breaker disconnects, distributed generation system and electrical network parallel off.Grid-connected switch in figure is controlled, when controller detects grid cut-off, grid-connected switch must be disconnected, load voltage and the line voltage inconsistent and rush of current come during to prevent circuit breaker reclosing.After power system restoration being detected, load voltage must be first regulated to make it consistent with electric network voltage phase and amplitude, just can by closed for grid-connected switch to be incorporated into the power networks.
2. sampled signal preliminary treatment
The sampled point of line voltage is between grid-connected switch and circuit breaker.The sampled point of load voltage meets place at critical load.Inverter inductance current sampled point is at inversion inductor branch road.By line voltage, load voltage, inverter side inductive current through analog-to-digital conversion, be input to digital signal processor.Consider that gained three-phase sampled signal sum is zero, only have two-phase independently signal, to simplify the process, in digital signal processor, carry out the conversion of three-phase to two-phase rest frame:
3. the realization of positive sequence extractor
The discretization equation of line voltage fundamental positive sequence extraction module is as follows:
In formula: u
g α(n), u
g βline voltage value under n two-phase static coordinate that () is current time, this value derives from formula (1);
with
be respectively the line voltage fundamental positive sequence in current time and a upper moment, its initial value is taken as zero; ω
1for fundamental frequency, for the electrical network of 50Hz, its value is 314.16rad/s, T is the controlling of sampling cycle, and this cycle is taken as consistent with the carrier cycle of inverter, and when inverter switching frequency is 10kHz, this value is taken as 100 microseconds; A ∈ (0,1) is filter factor, different in the value of grid-connect mode, stand-alone mode.
4. grid-connected and independent double mode switching flow
DC input power is sent to load and electrical network by system under grid-connect mode, performs Current Control.Under independent operation mode, perform voltage control, for load provides stable voltage.Except the control itself completing two kinds of patterns, also must realize the switching between two kinds of patterns.
The grid-connected switching flow to independent operating is as shown in Fig. 2 (a).Under the pattern of being incorporated into the power networks, need regularly to judge that whether electrical network is normal.Criterion of the present invention be voltage effective value between 0.9 times and 1.1 times of rated values and frequency between 47Hz and 50.5Hz.If electrical network is normal, perform Current Control; If electrical network is abnormal, control chip sends the instruction of grid-connected switch separating brake, continues to perform Current Control program before gate-dividing state feedback does not receive, and after receiving gate-dividing state feedback, is switched to independent operation mode.
Independent of being incorporated into the power networks switching flow as shown in Fig. 2 (b).Under independent operation mode, for realizing running by auto-parallel after power system restoration, electrical network need be made regular check on and whether recover normal.If electrical network is not yet normal, perform voltage control; If power system restoration, then perform Synchronization Control, namely regulate load voltage, until it is consistent with electric network voltage phase and amplitude.If synchronously, then send grid-connected contactor reclosing command, before "on" position feedback does not receive, continue to keep Synchronization Control, if receive "on" position feedback, then switch to the pattern of being incorporated into the power networks.
5. grid-connect mode controls
The control block diagram of grid-connect mode as shown in Figure 3.In Fig. 3, system is in grid-connect mode, and grid-connected switch and circuit breaker are all "on" positions.Inverter, according to the electric network voltage phase sampled, sends meritorious and reactive power to electrical network.I in figure
1a, b, cthe abbreviation of three-phase inversion electric current, u
ga, b, cit is the abbreviation of three-phase power grid voltage.Filter factor in positive sequence extraction module is 0.98.In figure, PDR is ratio double resonance control module, and SVPWM is space vector pulse width modulation, and its effect is the duty ratio determining each phase switching tube according to modulation voltage.
The given P of active power in figure
*known conditions is given as with reactive power.According to the result of positive sequence extractor, be calculated as follows the given value of current under two-phase rest frame:
In formula
for the Output rusults of the positive sequence extractor of gained under the condition of filter factor a=0.95.
Current Control adoption rate double resonance controller, governing equation is:
Wherein proportionality coefficient value is
resonance item c
α, c
βconcrete discretization expression formula be:
In formula, resonance control coefrficient value is
the intermediate variable c of structure
α 1, c
β 1and the initial value of resonance item is zero.For preventing overvoltage, amplitude limiting processing is done to resonance item and intermediate variable.Namely when
time,
to c
β, c
β 1also similar amplitude limiting processing is done, C
limvalue is 0.1 times of specified grid voltage amplitude.
6. the control strategy of stand-alone mode
The control block diagram of stand-alone mode as shown in Figure 4.In Fig. 4, system is in stand-alone mode, and grid-connected switch is in off-state.If circuit breaker is also in off-state, the line voltage that inverter detects is abnormal, and the phase place that the constant frequency that the positive sequence extractor that inverter is 1 by rated voltage and filter factor provides exports carries out load voltage control.If breaker closing, when detecting that line voltage recovers normal, the filter factor of positive sequence extractor reverts to 0.98, makes load voltage follow the tracks of line voltage gradually.U in figure
ga, b, cthe abbreviation of three-phase power grid voltage, u
za, b, cit is the abbreviation of three-phase load voltage.Before electrical network is abnormal, the coefficient a of positive sequence extractor is taken as 1, and now, positive sequence extractor extracts the permanent amplitude of the sine wave basis of result keeping rated frequency for the last time in grid-connected positive sequence component and exports.AC load voltage given is calculated as follows:
U in formula
*for load rated voltage amplitude, for the AC network of single-phase 220V, its value is 311.
Load voltage controls also adoption rate double resonance controller, and governing equation is:
Wherein the value of Voltage loop proportionality coefficient is k
pu=0.5, d
αwith d
βfor voltage error resonance exports.Concrete discretization expression formula is:
In formula, the value of resonance control coefrficient is k
ru=0.005, d
α 1, d
β 1for the intermediate variable of structure.Due to adding of resonance item, achieve interchange DAZ gene.The initialization value of resonance item is taken as the modulation voltage value that also net state is last, d
α(0)=v
α, d
α 1(0)=v
β, d
β(0)=v
β, d
β 1(0)=-v
α, which ensure that from grid-connected seamlessly transitting to independent operation mode voltage waveform.
If electrical network recovers, then start Synchronization Control, Synchronization Control itself is also voltage control, and just reference voltage is no longer that controller produces automatically, and needs to determine according to line voltage.The coefficient a of positive sequence extractor is diminished by 1, is taken as 0.98 here, then the phase place of reference voltage can be made consistent with electric network voltage phase gradually.Again by U
*be adjusted to grid voltage amplitude, the Complete Synchronization of load voltage and line voltage can be realized.
After adopting technical scheme of the present invention, there is good technique effect.As shown in Figure 5, be 314rad/s in fundamental frequency, the amplitude-frequency characteristic of the positive sequence extractor under control cycle 100 microsecond and phase-frequency characteristic, filter factor is taken as 0.98 and 0.95 respectively and contrasts.
Fig. 6 is grid-connected to independently switching effect, and in figure, four road waveforms are from top to bottom respectively line voltage, networking electric current, load voltage, load current.
Fig. 7 independently arrives grid-connected switching effect, and the waveform above in figure is load voltage and line voltage, be wherein sinusoidal wave is load voltage always, and what after the first lattice, just have waveform is line voltage.Waveform below in figure is networking electric current, and only in the end lattice are grid-connected just has afterwards.