Summary of the invention
The problem that will solve of the present invention is a kind of three-level inverter dead area compensation algorithm based on the modulating wave correction of defective proposition for present three-level current transformer dead-zone compensation method.
The technical solution used in the present invention is:
Three-level inverter dead area compensation algorithm based on the modulating wave correction, include three-level inverter, described three-level inverter is diode clamp type three-level inverter, diode clamp type three-level inverter includes three level brachium pontis of three parallel connections, it is characterized in that, specific algorithm may further comprise the steps:
(1) judge that modulating wave is positive and negative, the brachium pontis sense of current, a switch periods triangular carrier be rising edge or trailing edge;
(2) by three different conditions that affect factor in the step (1) modulating wave is adjusted accordingly;
Suppose that outflow of bus current three-level inverter direction is forward and reverse, Dead Time is T
d, switching frequency is f
c, modulating wave is u
r, the modulating wave correction that dead area compensation is corresponding is Δ u
r, Δ u
r=2T
df
c
1) when modulating wave greater than zero, electric current is greater than zero, during positive axis triangular wave trailing edge, and modulating wave is added modulating wave correction amount u
r, modulating wave is u after namely revising
r+ Δ u
r
2) when modulating wave greater than zero, electric current is less than zero, during positive axis triangular wave rising edge, and modulating wave is deducted modulating wave correction amount u
r, modulating wave is u after namely revising
r-Δ u
r
3) when modulating wave less than zero, electric current is greater than zero, during negative semiaxis triangular wave trailing edge, and modulating wave is added modulating wave correction amount u
r, modulating wave is u after namely revising
r+ Δ u
r
4) when modulating wave less than zero, electric current is less than zero, during negative semiaxis triangular wave rising edge, and modulating wave is deducted modulating wave correction amount u
r, modulating wave is u after namely revising
r-Δ u
r
(3) revised modulating wave and triangle wave obtain the PWM on off sequence, add Dead Time T
dSwitching tube after just obtaining afterwards compensating drives signal.
Beneficial effect of the present invention is:
Algorithm of the present invention can compensate real-time and accurately to dead time effect, not only can effectively reduce by 5 times and 7 subharmonic, prevent the voltage and current wave distortion, and can not cause the time-delay of output waveform, do not need to add the specialised hardware checkout gear, reduced cost, the reliability of simultaneity factor and accuracy also can be guaranteed.
Embodiment
The following describes in conjunction with Figure of description and analyze:
As shown in Figure 1, three-level inverter dead area compensation algorithm based on the modulating wave correction, include three-level inverter, described three-level inverter is diode clamp type three-level inverter, diode clamp type three-level inverter includes three level brachium pontis of three parallel connections, and specific algorithm may further comprise the steps:
(1) judge that modulating wave is positive and negative, the brachium pontis sense of current, a switch periods triangular carrier be rising edge or trailing edge;
(2) by three different conditions that affect factor in the step (1) modulating wave is adjusted accordingly;
Suppose that outflow of bus current three-level inverter direction is forward and reverse, Dead Time is T
d, switching frequency is f
c, modulating wave is u
r, the modulating wave correction that dead area compensation is corresponding is Δ u
r, Δ u
r=2T
df
c
1) when modulating wave greater than zero, electric current is greater than zero, during positive axis triangular wave trailing edge, and modulating wave is added modulating wave correction amount u
r, modulating wave is u after namely revising
r+ Δ u
r
2) when modulating wave greater than zero, electric current is less than zero, during positive axis triangular wave rising edge, and modulating wave is deducted modulating wave correction amount u
r, modulating wave is u after namely revising
r-Δ u
r
3) when modulating wave less than zero, electric current is greater than zero, during negative semiaxis triangular wave trailing edge, and modulating wave is added modulating wave correction amount u
r, modulating wave is u after namely revising
r+ Δ u
r
4) when modulating wave less than zero, electric current is less than zero, during negative semiaxis triangular wave rising edge, and modulating wave is deducted modulating wave correction amount u
r, modulating wave is u after namely revising
r-Δ u
r
(3) revised modulating wave and triangle wave obtain the PWM on off sequence, add Dead Time T
dSwitching tube after just obtaining afterwards compensating drives signal.
Principle of the present invention and illustrate as follows:
1, three-level inverter dead time effect and impact
Three-level inverter has 1,0 ,-1 three kind of on off state, and three kinds of states of corresponding output voltage are:
(1) V
Dc/ 2 states: VS
1, VS
2Conducting, VS
3, VS
4Turn-off;
(2) 0 state: VS
2, VS
3Conducting, VS
1, VS
4Turn-off;
(3)-V
Dc/ 2 states: VS
3, VS
4Conducting, VS
1, VS
2Turn-off;
On off state does not allow directly to switch between 1 state and-1 state, can only switch between 1 state and 0 state and-1 state and 0 state.
As an example of three-level inverter one phase brachium pontis example dead time effect and compensation principle are analyzed, as shown in Figure 1.
It is positive direction that rated current flows out the brachium pontis direction.U is voltage between A and the O point, and the relation between the sense of current and path and the on off state is as shown in table 1:
The relation in table 1 on off state and the sense of current and path
Wherein, d
1The dead band state that inserts when representing to switch between 0 state and 1 state, d
2The dead band state that inserts when representing to switch between 0 state and-1 state, i is output current.
When on off state switches, need to insert dead band state d between 0 and 1
1, dead time effect as shown in Figure 2.
When electric current for just, virtual voltage u is than desired voltage v in 0 → 1 handoff procedure
RefFew output time; When electric current was negative, actual voltage ratio, desired voltage u exported T more in 1 → 0 handoff procedure
dThe V of time
Dc/ 2.
When on off state switches, need to insert dead band state d between 0 and-1
2, dead time effect as shown in Figure 3.
When electric current for just, virtual voltage u is than desired voltage v in-1 → 0 handoff procedure
RefMany output T
dTime-V
Dc/ 2; When electric current was negative, virtual voltage u was than desired voltage v in 0 →-1 handoff procedure
RefExport less T
dTime-V
Dc/ 2.
2, dead time effect is on the impact of inverter output
By Fig. 2 and Fig. 3 analysis as can be known, the difference of actual output voltage and desirable output voltage is a pulse error voltage.According to equal time voltage areas method, error voltage can equivalence be square-wave signal, and its amplitude is: | Δ v|=f
cT
dV
Dc/ 2, its mean value:
Wherein, T
dBe Dead Time, f
cBe switching frequency, V
DcBe direct voltage, i is the brachium pontis output current.
It is carried out Fourier series decompose, can get the even-order harmonic amplitude is zero, and the odd harmonic amplitude is:
Its fundametal compoment effective value is:
, fundamental phase and opposite current.In three-phase three wire system, 3 subharmonic are converted into common-mode voltage, and the proportion that 5 times and 7 times account in the current harmonics that the dead band causes is larger.
Dead time effect on output first-harmonic impact as shown in Figure 4, wherein
Be the vector form of deviation voltage first-harmonic,
Be the vector form of actual output current i,
The vector form of actual output voltage u, φ is power-factor angle, namely
With
Angle, φ ' is
With
Angle,
Be desirable output voltage v
RefVector form, effectively
Can push away according to Fig. 4:
Wherein, 0<η<1, k=f
cT
dAccount for the ratio of switch periods for the dead band, m is modulation degree.
By formula (3) and (4) as can be known, dead time effect reduces the inverter output voltage amplitude, the phase generate skew.When m was constant, k was larger, and the dead band impact is more serious; When k was constant, m was less, and the dead band impact is more serious.
3, three level dead area compensation principles
The dead area compensation principle as shown in Figures 2 and 3, when electric current for just, 0 → 1 handoff procedure is with VS
1The control signal rising edge shifts to an earlier date T
d-1 → 0 handoff procedure is with VS
4Control signal rising edge hysteresis T
d
When electric current was negative, 1 → 0 handoff procedure was with VS
1Control signal rising edge hysteresis T
d0 →-1 handoff procedure is with VS
4The control signal rising edge shifts to an earlier date T
d
With VS
1Control signal is the rear Dead Time VS that adds oppositely
1Obtain VS
3Control signal; With VS
4Control signal is the rear Dead Time T that adds oppositely
dObtain VS
2Control signal.Actual output voltage u is exactly desired voltage v after the compensation
Ref
A kind of three level dead area compensation algorithm schematic diagrames based on the modulating wave correction as shown in Figure 7.
Among the figure, u
rBe modulating wave, u
r=2T
df
cBe Dead Time corresponding modulating ripple correction, u
CPBe positive axis triangular carrier, u
CNBe negative semiaxis triangular carrier, k
PAnd k
NBe respectively positive axis triangular wave slope and close negative semiaxis triangular wave slope, greater than the null representation rising edge, less than null representation trailing edge, T
sBe switch periods, i is output current.
When modulating wave greater than zero, electric current is greater than zero, during positive axis triangular wave trailing edge, modulating wave is u after revising
r+ Δ u
r
When modulating wave greater than zero, electric current is less than zero, during positive axis triangular wave rising edge, modulating wave is u after revising
r-Δ u
r
When modulating wave less than zero, electric current is greater than zero, during negative semiaxis triangular wave trailing edge, modulating wave is u after revising
r+ Δ u
r
When modulating wave less than zero, electric current is less than zero, during negative semiaxis triangular wave rising edge, modulating wave is u after revising
r-Δ u
r
Revised modulating wave and triangular wave compared obtain pwm pulse, add the on off sequence after being compensated behind the dead band.Fig. 5 is carrier wave method ripple mode in the same way, and Fig. 6 is that reverse carrier wave is sent out the ripple mode.
4, simulating, verifying
Built three-phase tri-level inverter MATLAB/Sinmulink simulation model according to backoff algorithm, passive inverter, circuit parameter: load R=12 Ω, L=1.5mH, switching frequency f are adopted in emulation
c=10kHz, Dead Time T
d=6.6 μ s, direct voltage V
Dc=400V, frequency of modulated wave f
r=50Hz, modulation degree m=0.5.
Simulation waveform of the present invention such as Fig. 8 and shown in Figure 9.Wherein, A phase current waveform figure when Fig. 8 (a) does not add dead area compensation under the carrier mode in the same way, A phase current waveform fft analysis schematic diagram when Fig. 8 (b) does not add dead area compensation under the carrier mode in the same way, Fig. 8 (c) adds the A phase current waveform figure behind the dead area compensation in the same way under the carrier mode, and Fig. 8 (d) adds the A phase current waveform fft analysis schematic diagram behind the dead area compensation in the same way under the carrier mode; A phase current waveform figure when not adding dead area compensation under the reverse carrier mode of Fig. 9 (a), A phase current waveform fft analysis schematic diagram when not adding dead area compensation under the reverse carrier mode of Fig. 9 (b), Fig. 9 (c) oppositely adds the A phase current waveform figure behind the dead area compensation under the carrier mode, and Fig. 9 (d) oppositely adds the A phase current waveform fft analysis schematic diagram behind the dead area compensation under the carrier mode.
Fig. 8 (a) and Fig. 9 (a) illustrate that dead time effect causes the output waveform distortion most, and effective value reduces; Fig. 8 (b) and Fig. 9 (b) illustrate because the impact of dead time effect, and the low-frequency harmonics in the output waveform, particularly 5 times and 7 subharmonic content are very large; Fig. 8 (c), (d) and Fig. 9 (c), (d) illustrate that dead area compensation algorithm of the present invention can compensate effectively to dead time effect, improve output waveform and improve effective value, significantly reduce by 5 times and 7 subharmonic content of output waveform, and be applicable to different carrier systems.