The adaptive dead zone compensation method of bipolar SPWM modulation system
Technical field
The present invention relates to a kind of adaptive dead zone compensation method of bipolar SPWM modulation system.
Background technology
In bridge circuit, while using bipolar SPWM modulation system, for fear of same brachium pontis Switch Cut-through, conventionally can in the driving pulse of same brachium pontis, reserve dead band, will cause like this duty-cycle loss of switching tube, make the THD of output waveform larger, due in numerically controlled bipolar SPWM modulation system, the dead band producing method of the switching tube up and down of same brachium pontis is actually by the rise edge delay of each driving realized, so dead area compensation is to realize by the driving pulse width of increase main switch conventionally, conventionally dead-zone compensation method can not accurately be located these two periods that do not need dead area compensation, and along with the variation of power also has larger variation, cause compensated position inaccurate, compensation effect is very undesirable.
Summary of the invention
Technical problem solved by the invention is to provide a kind of adaptive dead zone compensation method of bipolar SPWM modulation system.
For solving above-mentioned technical problem, the technical scheme that the present invention takes:
A kind of adaptive dead zone compensation method of bipolar SPWM modulation system, its special character is: first a side of inverter by get peak value circuit by the signals collecting of the envelope up and down of inductive current to sending into dsp controller, realize adaptive dead zone compensation by following steps again, the digital quantity of the modulation signal of wherein comparing with carrier wave is CMP, and the Dead Time of the pipe up and down of same brachium pontis is deadtime:
(1), when the coenvelope line of inductive current is greater than 0, lower envelope line is while being also greater than 0: inductive current waveform is for just, because supervisor's duty-cycle loss is caused in dead band, therefore need to add dead area compensation, make CMP=CMP+deadtime/2, can realize the full remuneration in dead band;
(2), when the coenvelope line of inductive current is greater than 0, lower envelope line is while being less than 0: now inductive current positive going zeror crossing, supervisor's duty-cycle loss also there is no impact to waveform, does not need dead area compensation, CMP=CMP;
(3), when the coenvelope line of inductive current is less than 0, lower envelope line is while being greater than 0: inductive current positive going zeror crossing, supervisor's duty-cycle loss also there is no impact to waveform, does not need dead area compensation, CMP=CMP;
(4), when inductive current coenvelope line is less than 0, lower envelope line is while being also less than 0: now inductive current waveform is for negative, and dead area compensation mode is: CMP=CMP-deadtime/2, can realize the full remuneration in dead band.
When above-mentioned CMP increases deadtime/2, drive signal to shift to an earlier date deadtime/2 time reversal at the trailing edge of carrier wave so, overturn in the rise edge delay deadtime/2 time of carrier wave, drive like this signal just to increase the time of deadtime.
The above-mentioned peak value circuit employing of getting is got positive peak circuit and is got negative peak circuit.
The above-mentioned positive peak circuit of getting is inductive current I
lafter over-sampling circuit is scaled, pass through diode D
1, resistance R
1divide two-way output: a road is through resistance R
2, DC power supply V
1, capacitor C
1be connected with amplifying circuit, another road is connected with amplifying circuit, after the low pass signal filter LPF filtering after amplifying circuit reduction, obtains signal V1LP1.
The above-mentioned negative peak circuit of getting is inductive current I
lafter over-sampling circuit is scaled, pass through diode D
2, resistance R
3divide two-way output: a road is through resistance R
3, DC power supply V
2, capacitor C
2be connected with amplifying circuit, another road is connected with amplifying circuit, after the low pass signal filter LPF filtering after amplifying circuit reduction, obtains signal V1LV1.
Compared with prior art, the present invention, increasing on simple hardware circuit basis, by automatically finding the boundary that whether needs dead area compensation, adjusts the position of dead area compensation in real time, can under any power, can reach the method for desirable dead area compensation effect.
Brief description of the drawings
Fig. 1 is the schematic diagram that SPWM dead band produces;
Fig. 2 is dead area compensation boundary line chart;
Fig. 3 is the positive peak circuit of getting of the present invention;
Fig. 4 is the negative peak circuit of getting of the present invention;
Fig. 5 is that the peak value circuit of getting of the present invention is connected block diagram with circuit system.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Referring to Fig. 1, due in numerically controlled bipolar SPWM modulation system, the dead band producing method of the switching tube up and down of same brachium pontis is actually by the rise edge delay of each driving is realized, so dead area compensation is that driving pulse width by increasing main switch is realized conventionally.
Referring to Fig. 2, in ambipolar SPWM modulation system, be not all to need dead area compensation within whole sinusoidal wave period, in near a period of time zero passage place (before the conducting of master control pipe, the anti-phase afterflow of inductive current also do not finish), not need dead area compensation, and length during this period of time and the size of filter inductance and the size of electric current are relevant, conventionally dead-zone compensation method can not accurately be located these two periods that do not need dead area compensation, and along with the variation of power also has larger variation, cause compensated position inaccurate, compensation effect is very undesirable.
Now definition, the digital quantity of the modulation signal of comparing with carrier wave is CMP, the Dead Time of the pipe up and down of same brachium pontis is deadtime.
Analyze current waveform and need to add the position of dead area compensation to obtain, all be greater than 0 or to be all less than in 0 be the position that need to add the compensation in dead band at the envelope up and down of inductive current waveform, and one of the envelope up and down of inductive current waveform be greater than 0 another be not need dead area compensation when being less than 0, therefore, inductive current is done to one and get peak value circuit (upward peak and lower peak value), for example Fig. 3, the positive negative signal of the envelope up and down of inductive current is sent in DSP, just can realize the adaptive dead zone compensation of bipolar SPWM according to these two signals.Specific implementation step is as follows:
(1), when the coenvelope line of inductive current is greater than 0, lower envelope line is while being also greater than 0: now inductive current waveform is for just, know the duty-cycle loss that causes supervisor due to dead band according to analysis, therefore need to add dead area compensation, at this moment, order: CMP=CMP+deadtime/2, can realize the full remuneration in dead band;
(2), when the coenvelope line of inductive current is greater than 0, lower envelope line is while being less than 0: now inductive current positive going zeror crossing, also there is no impact to waveform according to analyzing now supervisor's duty-cycle loss, so do not need dead area compensation, CMP=CMP during this period of time;
(3), when the coenvelope line of inductive current is less than 0, lower envelope line is while being greater than 0: equally do not need dead area compensation yet;
(4), when inductive current coenvelope line is less than 0, lower envelope line is while being also less than 0: now inductive current waveform is for negative, and now dead area compensation mode is: CMP=CMP-deadtime/2, can realize the full remuneration in dead band.
Because modulating wave can be all crossing with the rising edge of carrier wave and trailing edge, so in the time that CMP increases deadtime/2, drive signal to shift to an earlier date deadtime/2 time reversal at the trailing edge of carrier wave so, the rise edge delay deadtime/2 time at carrier wave overturns, and drives like this signal just just to increase the time of deadtime.
For fear of the oscillating waveform that adds suddenly dead area compensation to cause at line of demarcation place, can divide several switch periods gradually to add the digital quantity of dead area compensation.
The above-mentioned peak value circuit employing of getting is got positive peak circuit and is got negative peak circuit.
Get the coenvelope line that positive peak circuit can obtain input signal (being the inductive current shown in Fig. 2), same, get negative peak circuit and can obtain the lower envelope line of input signal.Example circuit as shown in Figure 3 and Figure 4, is a kind of conventional getting positive peak circuit and get negative peak circuit.In Fig. 3, inductive current I
lthrough over-sampling circuit with certain proportion (after after k) dwindling in Fig. 3 by diode D
1to capacitor C
1charging, owing to there being stopping of diode, once the I of input
lbe greater than capacitor C
1voltage will be to capacitor C
1charging, capacitor C
1voltage can only pass through resistance R
2electric discharge, wherein R
2with C
1parallel connection, can suitably choose R
2resistance, such as R
2=100k, makes capacitor C
2voltage electric discharge time neither can too soon can be too not slow yet.Wherein V
1for at I
lnegative half-wave time in order to make capacitor discharge faster, its size should at least be greater than I
lthe maximum of signal.Pass through module 1/k reduction ratio from C1 signal out, then by obtaining signal V1LP1 after low pass filter LPF filtering.
Referring to Fig. 4, for getting negative peak circuit, inductor current signal is passed through diode D after dwindling by sampling ratio k
2and resistance R
3for capacitor C
2charging, wherein R
4for capacitor C
2discharge loop resistance, with C
2parallel connection, reduces signal through 1/k afterwards, then after low pass filter LPF filtering, obtains V1LV1.
Referring to Fig. 5, by giving respectively and get positive peak circuit and get negative peak circuit after inductive current sampling, the signal obtaining is sent into dsp controller.