CN106505868B - Two-way DC/DC driving pulse modulator approach and device based on DSP - Google Patents
Two-way DC/DC driving pulse modulator approach and device based on DSP Download PDFInfo
- Publication number
- CN106505868B CN106505868B CN201611265077.7A CN201611265077A CN106505868B CN 106505868 B CN106505868 B CN 106505868B CN 201611265077 A CN201611265077 A CN 201611265077A CN 106505868 B CN106505868 B CN 106505868B
- Authority
- CN
- China
- Prior art keywords
- switching tube
- phase
- phase switching
- driving signal
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02M—APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
- H02M3/00—Conversion of dc power input into dc power output
- H02M3/22—Conversion of dc power input into dc power output with intermediate conversion into ac
- H02M3/24—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters
- H02M3/28—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac
- H02M3/325—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal
- H02M3/335—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only
- H02M3/3353—Conversion of dc power input into dc power output with intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode to produce the intermediate ac using devices of a triode or a transistor type requiring continuous application of a control signal using semiconductor devices only having at least two simultaneously operating switches on the input side, e.g. "double forward" or "double (switched) flyback" converter
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Dc-Dc Converters (AREA)
Abstract
The embodiment of the invention discloses a kind of two-way DC/DC driving pulse modulator approach and device based on DSP, the embodiment of the present invention is realized according to the difference in the energy flow direction of energy converter using different PWM modulation strategies, the flowing of energy converter energy can be made to be more easily controlled, and the realization of the control system and the modulator approach of PWM is to carry out software operation and control in DSP microprocessor internal in addition to voltage sample link, real-time control is stronger and is easy to modify and safeguard.
Description
Technical field
The present invention relates to DC/DC energy conversion field more particularly to a kind of two-way DC/DC driving pulse tune based on DSP
Method and device processed.
Background technique
Two-way DC/DC energy converter possesses the unique advantage that can be realized energy in bidirectional flow, in photovoltaic power generation, wind energy
It is used to solve the problems, such as the balance, energy stores and uninterrupted power supply of power flow in electricity generation system and electric car.It is two-way
Can DC/DC energy converter high and low pressure side electricity during the realization switching in energy flow direction of quick and smooth, energy flow
Whether the modulation pulse that can pressure or electric current meet given requirement and PWM, which is simple and efficient, is easily achieved, and is all that guarantee is double
The essential condition to work to DC/DC energy converter system stability and high efficiency.
It is therefore proposed that a kind of configuration that can effectively reduce PWM modulation pulse in two-way DC/DC energy converter, with
And control system controls the two-way DC/DC driving pulse modulator approach required based on DSP by software realization and device is this
Field technical staff's technical issues that need to address.
Summary of the invention
The embodiment of the invention provides a kind of two-way DC/DC driving pulse modulator approach and device based on DSP, Neng Gouyou
The configuration of PWM modulation pulse and control system are wanted by software realization control in the two-way DC/DC energy converter of reduction of effect
The complexity asked.
The two-way DC/DC driving pulse modulator approach based on DSP that the embodiment of the invention provides a kind of, comprising:
S1: being calculated the average voltage of low-voltage direct bus by the first preset formula, and judges that the voltage is flat
Mean value if not existing, executes S2, if executing S4 whether in preset BOOST mode starting voltage range;
S2: by the second preset formula calculate under preset BUCK mode with the first phase switching tube Q1, the first phase switching tube
The driving signal phase shift of Q3, the first phase switching tube Q5 and the second phase switching tube Q2, the second phase switching tube Q4, the second phase switching tube Q6
The corresponding control voltage value in angle;
S3: when the control voltage value being converted to phase shift corresponding with the control voltage value by the timer of DSP
Between, it is anti-according to the driving signal of the first phase switching tube Q1 of phase shift time setting and the driving signal of the second phase switching tube Q4
Phase, the driving signal reverse phase of the driving signal of the first phase switching tube Q3 and the second phase switching tube Q2, the drive of the first phase switching tube Q5
The same phase of driving signal of dynamic signal and the first phase switching tube Q1, the driving signal of the first phase switching tube Q5 and the second phase switching tube Q6
Driving signal reverse phase, and execute S1;
S4: the drive signal duty cycle of preset BOOST mode lower switch pipe Q1 is calculated by the preset formula of third, and is passed through
The drive signal duty cycle is converted to the driving signal turn-on time of switching tube Q1 by the timer of DSP, according to the driving
The driving signal and 180 ° of the driving signal phase phase difference of switching tube Q2 of signal conduction time setting switching tube Q1;
S5: the driving signal of setting switching tube Q3 and switching tube Q5 is identical as the driving signal of switching tube Q1, setting switch
The driving signal of pipe Q4 and switching tube Q6 are identical as the driving signal of switching tube Q2, and execute S1.
Preferably, the described first preset formula are as follows:
udc_ave(k)=udc(k-2)*c2+udc(k-1)*c1+udc(k)*c0
Wherein, udc(k-2)、udc(k-1) and udcIt (k) is respectively k-2, k-1 and k moment obtained by low pressure sample circuit
Low-voltage direct bus voltage value;c2、c1And c0Respectively udc(k-2)、udc(k-1) and udc(k) weight coefficient.
Preferably, the described second preset formula are as follows:
U (k)=e (k-2) * b1+e(k-1)*b2+e(k)*b0+u(k-2)*a2+u(k-1)*a1
Wherein, u (k) indicates the corresponding control voltage value of phase shifting angle of current period output;U (k-1) indicates previous week
The corresponding control voltage value of phase shifting angle of phase output;U (k-2) indicates the corresponding control voltage of the first two period output phase shifting angle
Value;E (k) indicates current period given voltage and sample circuit Real-time Feedback voltage error input value;E (k-1) is indicated when previous
A period given voltage and sample circuit Real-time Feedback voltage error input value;E (k-2) indicates the first two period given voltage
With sample circuit Real-time Feedback voltage error input value;b2、b1、b0、a2、a1For weight coefficient.
Preferably, the preset formula of the third are as follows:
D (n)=e (n-2) * b11+e(n-1)*b12+e(n)*b10+d(n-2)*a12+d(n-1)*a11
Wherein, d (n) indicates the duty ratio of current period output;D (n-1) indicates the duty ratio of previous period output;d
(n-2) the first two period output duty cycle is indicated;E (n) indicates current period given voltage and sample circuit Real-time Feedback voltage
Error input value;E (n-1) indicates previous period given voltage and sample circuit Real-time Feedback voltage error input value;e(n-
2) the first two period given voltage and sample circuit Real-time Feedback voltage error input value are indicated;b12、b11、b10、a12、a11For power
Weight coefficient.
Preferably, in the step S2 under preset BUCK mode by the driving signal of switching tube Q1, the drive of switching tube Q3
The duty ratio of the driving signal of dynamic signal, switching tube Q5 is set as 0.5.
Preferably, in the step S2 under preset BUCK mode by the driving signal of switching tube Q2, the drive of switching tube Q4
The duty ratio of the driving signal of dynamic signal, switching tube Q6 is set as 0.5.
Preferably, the first phase switching tube Q1, the first phase switching tube Q3, the first phase are changed by PI algorithm in the step S2
The driving signal overlapping phases size of switching tube Q5 and the second phase switching tube Q2, the second phase switching tube Q4, the second phase switching tube Q6.
Preferably, switching tube Q1, switching tube Q3, switching tube Q5 or switching tube are changed by PI algorithm in the step S5
The drive signal duty cycle size of Q2, switching tube Q4, switching tube Q6.
Preferably, a kind of two-way DC/DC driving pulse modulating device based on DSP provided in an embodiment of the present invention, comprising:
Judging unit for the average voltage of low-voltage direct bus to be calculated by the first preset formula, and judges
The average voltage, if not existing, triggers the first computing unit whether in preset BOOST mode starting voltage range, if
Then triggering the second computing unit;
First computing unit, for by the second preset formula calculate under preset BUCK mode with the first phase switching tube
Q1, the first phase switching tube Q3, the first phase switching tube Q5 and the second phase switching tube Q2, the second phase switching tube Q4, the second phase switching tube
The corresponding control voltage value of the driving signal phase shifting angle of Q6;
Converting unit is converted to the control voltage value and the control voltage value pair for the timer by DSP
The phase shift time answered, the driving signal and the drive of the second phase switching tube Q4 of the first phase switching tube Q1 were arranged according to the phase shift time
Dynamic signal inversion, the driving signal reverse phase of the driving signal of the first phase switching tube Q3 and the second phase switching tube Q2, the first phase switch
The same phase of driving signal of the driving signal of pipe Q5 and the first phase switching tube Q1, the driving signal and the second phase of the first phase switching tube Q5
The driving signal reverse phase of switching tube Q6, and trigger judging unit;
Second computing unit, the driving for calculating preset BOOST mode lower switch pipe Q1 by the preset formula of third are believed
Number duty ratio, and when the driving signal that the drive signal duty cycle is converted to switching tube Q1 being connected by the timer of DSP
Between, the driving signal and the driving signal phase phase difference of switching tube Q2 of switching tube Q1 are set according to the driving signal turn-on time
180°;
Setting unit, for the driving signal of switching tube Q3 and switching tube Q5 and the driving signal phase of switching tube Q1 to be arranged
Together, the driving signal that switching tube Q4 and switching tube Q6 is arranged is identical as the driving signal of switching tube Q2, and triggers judging unit.
Preferably, the judging unit includes:
Computation subunit, for the average voltage of low-voltage direct bus to be calculated by the first preset formula;
Judgment sub-unit, for judge the average voltage whether preset BOOST mode starting voltage range in, if
Do not exist, then trigger the first computing unit, if triggering the second computing unit.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
The embodiment of the invention provides a kind of two-way DC/DC driving pulse modulator approach and device based on DSP, wherein
The two-way DC/DC driving pulse modulator approach based on DSP includes: S1: low-voltage direct is calculated by the first preset formula
The average voltage of bus, and the average voltage is judged whether in preset BOOST mode starting voltage range, if not
S2 is then being executed, if executing S4;S2: switching under preset BUCK mode with the first phase is calculated by the second preset formula
Pipe Q1, the first phase switching tube Q3, the first phase switching tube Q5 and the second phase switching tube Q2, the second phase switching tube Q4, two-phase switch
The corresponding control voltage value of the driving signal phase shifting angle of pipe Q6;S3: the control voltage value is converted to by the timer of DSP
The phase shift time corresponding with the control voltage value, according to the phase shift time be arranged the first phase switching tube Q1 driving signal with
The driving signal reverse phase of second phase switching tube Q4, the driving signal of the first phase switching tube Q3 and the driving of the second phase switching tube Q2 are believed
Number reverse phase, the same phase of driving signal of the driving signal of the first phase switching tube Q5 and the first phase switching tube Q1, the first phase switching tube Q5
Driving signal and the driving signal reverse phase of the second phase switching tube Q6, and execute S1;S4: it is calculated by the preset formula of third preset
The drive signal duty cycle of BOOST mode lower switch pipe Q1, and converted the drive signal duty cycle by the timer of DSP
For the driving signal turn-on time of switching tube Q1, according to the driving signal turn-on time be arranged the driving signal of switching tube Q1 with
180 ° of the driving signal phase phase difference of switching tube Q2;S5: the driving signal and switching tube Q1 of setting switching tube Q3 and switching tube Q5
Driving signal it is identical, the driving signal that switching tube Q4 and switching tube Q6 is arranged is identical as the driving signal of switching tube Q2, and holds
Row S1.
The embodiment of the present invention is by realizing the modulation of two-way DC/DC drive pulse waveform based on DSP digital microprocessor.
Different, the two-way DC/DC energy converter driving pulse modulation algorithm according to the direction of two-way DC/DC energy converter energy flow
It is divided into two kinds, i.e., driving pulse modulation algorithm uses improved phase shift modulation algorithm, improved phase shift modulation under BUCK mode
Algorithm is using switching tube Q2, Q4, Q6 as another phase, and two-phase duty ratio to be fixed using switching tube Q1, Q3, Q5 as a phase
It is set as 0.5, the size of energy transmission is controlled by the size that PI algorithm changes two-phase overlapping phases in real time, in order to avoid
Occur that corresponding dead time need to be arranged with the case where mutually switch simultaneously turns on.Driving pulse modulation is calculated under BOOST mode
Method, i.e., it is tri- switching tube PWM driving pulse settings of Q1, Q3, Q5 are identical, similarly also by tri- switching tubes of pipe Q2, Q4, Q6
PWM driving pulse setting is identical, individually changes Q1, Q3, Q5 or Q2 in real time by PI algorithm, the PWM of tri- switching tubes of Q4, Q6 drives
The size of the duty ratio of moving pulse come realize to transmitting energy size control, realize the energy flow according to energy converter
The difference in direction uses different PWM modulation strategies, the flowing of energy converter energy can be made to be more easily controlled, and the control
The realization of system and the modulator approach of PWM be in addition to voltage sample link DSP microprocessor internal carry out software operation and
Control, real-time control is stronger and is easy to modify and safeguard.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other attached drawings according to these attached drawings.
Fig. 1 is that a kind of process of the two-way DC/DC driving pulse modulator approach based on DSP provided in an embodiment of the present invention is shown
It is intended to;
Fig. 2 is that a kind of structure of the two-way DC/DC driving pulse modulating device based on DSP provided in an embodiment of the present invention is shown
It is intended to;
Fig. 3 is a kind of two-way DC/DC driving pulse modulator approach and device based on DSP provided in an embodiment of the present invention
Application implementation example diagram;
Fig. 4 is the PWM modulation waveform under BUCK mode;
Fig. 5 is the PWM modulation waveform under BOOST mode.
Specific embodiment
The embodiment of the invention provides a kind of two-way DC/DC driving pulse modulator approach and device based on DSP, Neng Gouyou
The configuration of PWM modulation pulse and control system are wanted by software realization control in the two-way DC/DC energy converter of reduction of effect
The complexity asked.
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
Those of ordinary skill's all other embodiment obtained without making creative work, belongs to protection of the present invention
Range.
Referring to Fig. 1, a kind of two-way DC/DC driving pulse modulator approach based on DSP provided in an embodiment of the present invention
One embodiment, comprising:
101, the average voltage of low-voltage direct bus is calculated by the first preset formula, and judges average voltage
Whether in preset BOOST mode starting voltage range, if not existing, 102 are executed, if executing 104;
102, by the second preset formula calculate under preset BUCK mode with the first phase switching tube Q1, the first phase switching tube
The driving signal phase shift of Q3, the first phase switching tube Q5 and the second phase switching tube Q2, the second phase switching tube Q4, the second phase switching tube Q6
The corresponding control voltage value in angle;
103, voltage value will be controlled by the timer of DSP and is converted to the phase shift time corresponding with control voltage value, according to
The driving signal and the driving signal reverse phase of the second phase switching tube Q4 of the first phase switching tube Q1, the first phase switch is arranged in the phase shift time
The driving signal reverse phase of the driving signal of pipe Q3 and the second phase switching tube Q2, the driving signal and the first phase of the first phase switching tube Q5
The same phase of the driving signal of switching tube Q1, the driving signal of the first phase switching tube Q5 and the driving signal of the second phase switching tube Q6 are anti-
Phase, and execute 101;
104, the drive signal duty cycle of preset BOOST mode lower switch pipe Q1 is calculated by the preset formula of third, and is led to
Drive signal duty cycle is converted to the driving signal turn-on time of switching tube Q1 by the timer for crossing DSP, is led according to driving signal
The driving signal and 180 ° of the driving signal phase phase difference of switching tube Q2 of logical time setting switching tube Q1;
105, the driving signal that switching tube Q3 and switching tube Q5 is arranged is identical as the driving signal of switching tube Q1, setting switch
The driving signal of pipe Q4 and switching tube Q6 are identical as the driving signal of switching tube Q2, and execute 101.
Specifically, the first preset formula are as follows:
udc_ave(k)=udc(k-2)*c2+udc(k-1)*c1+udc(k)*c0
Wherein, udc(k-2)、udc(k-1) and udcIt (k) is respectively k-2, k-1 and k moment obtained by low pressure sample circuit
Low-voltage direct bus voltage value;c2、c1And c0Respectively udc(k-2)、udc(k-1) and udc(k) weight coefficient.
Second preset formula are as follows:
U (k)=e (k-2) * b1+e(k-1)*b2+e(k)*b0+u(k-2)*a2+u(k-1)*a1
Wherein, u (k) indicates the corresponding control voltage value of phase shifting angle of current period output;U (k-1) indicates previous week
The corresponding control voltage value of phase shifting angle of phase output;U (k-2) indicates the corresponding control voltage of the first two period output phase shifting angle
Value;E (k) indicates current period given voltage and sample circuit Real-time Feedback voltage error input value;E (k-1) is indicated when previous
A period given voltage and sample circuit Real-time Feedback voltage error input value;E (k-2) indicates the first two period given voltage
With sample circuit Real-time Feedback voltage error input value;b2、b1、b0、a2、a1For weight coefficient.
The preset formula of third are as follows:
D (n)=e (n-2) * b11+e(n-1)*b12+e(n)*b10+d(n-2)*a12+d(n-1)*a11
Wherein, d (n) indicates the duty ratio of current period output;D (n-1) indicates the duty ratio of previous period output;d
(n-2) the first two period output duty cycle is indicated;E (n) indicates current period given voltage and sample circuit Real-time Feedback voltage
Error input value;E (n-1) indicates previous period given voltage and sample circuit Real-time Feedback voltage error input value;e(n-
2) the first two period given voltage and sample circuit Real-time Feedback voltage error input value are indicated;b12、b11、b10、a12、a11For power
Weight coefficient.
By the driving signal of switching tube Q1, the driving signal of switching tube Q3, switch under preset BUCK mode in step 102
The duty ratio of the driving signal of pipe Q5 is set as 0.5.
By the driving signal of switching tube Q2, the driving signal of switching tube Q4, switch under preset BUCK mode in step 102
The duty ratio of the driving signal of pipe Q6 is set as 0.5.
In step 102 by PI algorithm change the first phase switching tube Q1, the first phase switching tube Q3, the first phase switching tube Q5 and
The driving signal overlapping phases size of second phase switching tube Q2, the second phase switching tube Q4, the second phase switching tube Q6.
In step 105 by PI algorithm change switching tube Q1, switching tube Q3, switching tube Q5 or switching tube Q2, switching tube Q4,
The drive signal duty cycle size of switching tube Q6.
Referring to Fig. 2, a kind of two-way DC/DC driving pulse modulating device based on DSP provided in an embodiment of the present invention
One embodiment, comprising:
Judging unit 201 for the average voltage of low-voltage direct bus to be calculated by the first preset formula, and is sentenced
Disconnected average voltage, if not existing, triggers the first computing unit 202 whether in preset BOOST mode starting voltage range, if
Then triggering the second computing unit 204;
First computing unit 202, for calculating switching under preset BUCK mode with the first phase by the second preset formula
Pipe Q1, the first phase switching tube Q3, the first phase switching tube Q5 and the second phase switching tube Q2, the second phase switching tube Q4, two-phase switch
The corresponding control voltage value of the driving signal phase shifting angle of pipe Q6;
Converting unit 203 will control voltage value for the timer by DSP and be converted to shifting corresponding with control voltage value
It is the phase time, anti-according to the driving signal of the first phase switching tube Q1 of phase shift time setting and the driving signal of the second phase switching tube Q4
Phase, the driving signal reverse phase of the driving signal of the first phase switching tube Q3 and the second phase switching tube Q2, the drive of the first phase switching tube Q5
The same phase of driving signal of dynamic signal and the first phase switching tube Q1, the driving signal of the first phase switching tube Q5 and the second phase switching tube Q6
Driving signal reverse phase, and trigger judging unit 201;
Second computing unit 204, for calculating the driving of preset BOOST mode lower switch pipe Q1 by the preset formula of third
Signal dutyfactor, and drive signal duty cycle is converted to by the timer of DSP the driving signal turn-on time of switching tube Q1,
The driving signal and 180 ° of the driving signal phase phase difference of switching tube Q2 of switching tube Q1 are set according to driving signal turn-on time;
Setting unit 205, for the driving signal of switching tube Q3 and switching tube Q5 and the driving signal of switching tube Q1 to be arranged
Identical, the driving signal that switching tube Q4 and switching tube Q6 is arranged is identical as the driving signal of switching tube Q2, and triggers judging unit
201。
Judging unit 201 includes:
Computation subunit 2011, for the average voltage of low-voltage direct bus to be calculated by the first preset formula;
Judgment sub-unit 2012, for judge average voltage whether preset BOOST mode starting voltage range in, if
Do not exist, then trigger the first computing unit 202, if triggering the second computing unit 204.
Below with a specific Application Example to a kind of two-way DC/DC based on DSP provided in an embodiment of the present invention
Driving pulse modulator approach and device are described in detail, and please refer to Fig. 3 to Fig. 5, comprising:
Step 1: the average voltage of low-voltage direct bus is obtained by following formula:
udc_ave(k)=udc(k-2)*c2+udc(k-1)*c1+udc(k)*c0;
Wherein, udc(k-2)、udc(k-1) and udcIt (k) is respectively k-2, k-1 and k moment obtained by low pressure sample circuit
The value of low-voltage direct bus, c2、c1And c0Respectively udc(k-2)、udc(k-1) and udc(k) weight coefficient;
Step 2: by the average value u of low-voltage direct busbar voltagedc_ave(k) with setting BOOST mode start voltage into
Row compares, if udc_ave(k) three are not thened follow the steps, step 5 is otherwise executed in BOOST mode starting voltage range;
Step 3: two-phase switching tube Q1, Q3, Q5 and Q2 under BUCK mode, Q4, Q6 driving signal phase shift are calculate by the following formula
Angle is corresponding to control voltage value:
U (k)=e (k-2) * b1+e(k-1)*b2+e(k)*b0+u(k-2)*a2+u(k-1)*a1;
Wherein, u (k) indicates that the corresponding control voltage value of phase shifting angle of current period output, u (k-1) indicate previous week
The corresponding control voltage value of phase shifting angle of phase output, u (k-2) indicate the corresponding control voltage of the first two period output phase shifting angle
Value.E (k) indicates current period given voltage and sample circuit Real-time Feedback voltage error input value, and e (k-1) is indicated when previous
A period given voltage and sample circuit Real-time Feedback voltage error input value, e (k-2) indicate the first two period given voltage
With sample circuit Real-time Feedback voltage error input value, b2、b1、b0、a2、a1For weight coefficient;
Step 4: as shown in figure 4, by the timer in setting DSP, control voltage value u (k) is converted into corresponding shifting
The phase time, and be arranged the driving signal reverse phase of switching tube Q1 and Q4, the driving signal reverse phase of switching tube Q3 and Q2, switching tube Q5 and
Driving signal reverse phase of the driving signal of Q1 with phase and switching tube Q5 and Q6, return step one after being finished;
Step 5: it is calculate by the following formula the drive signal duty cycle value of BOOST mode lower switch pipe Q1:
D (n)=e (n-2) * b11+e(n-1)*b12+e(n)*b10+d(n-2)*a12+d(n-1)*a11;
Wherein, d (n) indicates the duty ratio of current period output, and d (n-1) indicates the duty ratio of previous period output, d
(n-2) the first two period output duty cycle is indicated.E (n) indicates current period given voltage and sample circuit Real-time Feedback voltage
Error input value, e (n-1) indicate previous period given voltage and sample circuit Real-time Feedback voltage error input value, e (n-
2) the first two period given voltage and sample circuit Real-time Feedback voltage error input value, b are indicated12、b11、b10、a12、a11For power
Weight coefficient;
Step 6: as shown in figure 5, by the timer in setting DSP, dutyfactor value d (n) is converted to switching tube Q1's
Turn-on time corresponding to driving signal, and it is 180 ° that switching tube Q2, which is arranged, to differ with the driving signal output phase of Q1.
Step 7: the driving signal output of setting switching tube Q3 and Q5 are identical as the driving signal of switching tube Q1, setting is opened
The driving signal for closing pipe Q4 and Q6 is identical as the driving signal of switching tube Q2, return step one after being finished.
The improvement phase shift modulation algorithm in advance fixes the duty ratio of the driving signal of Q1, Q3, Q5, Q2, Q4, Q6 switching tube
It is set as 0.5 and Q1 and Q4, Q2 and Q3, the driving signal fixed setting of Q5 and Q6 switching tube is that complementary and phase phase difference is
180°。
In the present embodiment, a kind of two-way DC/DC driving pulse modulating device based on DSP provided in an embodiment of the present invention
As shown in DSP in Fig. 4.
The data that ADC sampling module samples inside DSP in Fig. 4 are by provided in an embodiment of the present invention a kind of based on DSP
Two-way DC/DC driving pulse modulating device judging unit, carry out phase using the first computing unit or the second computing unit
After the operation and processing answered, then the PWM module being output to inside DSP carries out waveform modulated.
Wherein, the PWM module in Fig. 4 inside DSP includes: a kind of two-way DC/ based on DSP provided in an embodiment of the present invention
The converting unit and setting unit of DC driving pulse modulating device.
This application embodiment realizes following advantages: (1) ADC sampling processing module, PWM mould in voltage close loop control system
Block carries out mutual connection by respective pointer variable each other, forms modular control mode algorithm rapidity
It is good, it is suitable for online Digital Implementation;(2) PWM method is used according to the difference in the energy flow direction of energy converter
Different PWM modulation strategies, can be such that the flowing of energy converter energy is more easily controlled;(3) modulation of the control system and PWM
The realization of method is to carry out software operation and control, real-time control in DSP microprocessor internal in addition to voltage sample link
It is stronger and be easy to modify and safeguard.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (7)
1. a kind of two-way DC/DC driving pulse modulator approach based on DSP characterized by comprising
S1: the average voltage of low-voltage direct bus is calculated by the first preset formula, and judges the average voltage
Whether in preset BOOST mode starting voltage range, if not existing, S2 is executed, if executing S4;
S2: by the second preset formula calculate under preset BUCK mode with the first phase switching tube Q1, the first phase switching tube Q3,
The driving signal phase shifting angle pair of one phase switching tube Q5 and the second phase switching tube Q2, the second phase switching tube Q4, the second phase switching tube Q6
The control voltage value answered;
S3: the control voltage value is converted to by phase shift time corresponding with the control voltage value, root by the timer of DSP
According to the phase shift time be arranged the first phase switching tube Q1 driving signal and the driving signal reverse phase of the second phase switching tube Q4, first
The driving signal reverse phase of the driving signal of phase switching tube Q3 and the second phase switching tube Q2, the driving signal of the first phase switching tube Q5 with
The same phase of driving signal of first phase switching tube Q1, the driving signal of the first phase switching tube Q5 and the driving of the second phase switching tube Q6 are believed
Number reverse phase, and execute S1;
S4: the drive signal duty cycle of the first phase switching tube Q1 under preset BOOST mode is calculated by the preset formula of third, and is led to
The drive signal duty cycle is converted to the driving signal turn-on time of the first phase switching tube Q1 by the timer for crossing DSP, according to
The driving signal and the driving signal phase of the second phase switching tube Q2 of the first phase switching tube Q1 is arranged in the driving signal turn-on time
180 ° of phase difference;
S5: the driving signal and the driving signal of the first phase switching tube Q1 of setting the first phase switching tube Q3 and the first phase switching tube Q5
It is identical, the driving signal and the driving signal phase of the second phase switching tube Q2 of the second phase switching tube Q4 and the second phase switching tube Q6 are set
Together, and S1 is executed;
The first preset formula are as follows:
udc_ave(k)=udc(k-2)*c2+udc(k-1)*c1+udc(k)*c0
Wherein, udc(k-2)、udc(k-1) and udcIt (k) is respectively k-2, k-1 and k the moment low pressure obtained by low pressure sample circuit
D-c bus voltage value;c2、c1And c0Respectively udc(k-2)、udc(k-1) and udc(k) weight coefficient;
The second preset formula are as follows:
U (k)=e (k-2) * b1+e(k-1)*b2+e(k)*b0+u(k-2)*a2+u(k-1)*a1
Wherein, u (k) indicates the corresponding control voltage value of phase shifting angle of current period output;U (k-1) indicates that the previous period is defeated
The corresponding control voltage value of phase shifting angle out;U (k-2) indicates the corresponding control voltage value of the first two period output phase shifting angle;e
(k) current period given voltage and sample circuit Real-time Feedback voltage error input value are indicated;E (k-1) indicates to work as previous week
Phase given voltage and sample circuit Real-time Feedback voltage error input value;E (k-2) indicates the first two period given voltage and adopts
Sample circuit Real-time Feedback voltage error input value;b2、b1、b0、a2、a1For weight coefficient;
The preset formula of third are as follows:
D (n)=e (n-2) * b11+e(n-1)*b12+e(n)*b10+d(n-2)*a12+d(n-1)*a11
Wherein, d (n) indicates the duty ratio of current period output;D (n-1) indicates the duty ratio of previous period output;d(n-2)
Indicate the first two period output duty cycle;E (n) indicates that current period given voltage and sample circuit Real-time Feedback voltage error are defeated
Enter value;E (n-1) indicates previous period given voltage and sample circuit Real-time Feedback voltage error input value;E (n-2) is indicated
The first two period given voltage and sample circuit Real-time Feedback voltage error input value;b12、b11、b10、a12、a11For weight system
Number.
2. the two-way DC/DC driving pulse modulator approach according to claim 1 based on DSP, which is characterized in that the step
By the driving signal of the first phase switching tube Q1, the driving signal of the first phase switching tube Q3, the under preset BUCK mode in rapid S2
The duty ratio of the driving signal of one phase switching tube Q5 is set as 0.5.
3. the two-way DC/DC driving pulse modulator approach according to claim 2 based on DSP, which is characterized in that the step
By the driving signal of the second phase switching tube Q2, the driving signal of the second phase switching tube Q4, the under preset BUCK mode in rapid S2
The duty ratio of the driving signal of two-phase switch pipe Q6 is set as 0.5.
4. the two-way DC/DC driving pulse modulator approach according to claim 3 based on DSP, which is characterized in that the step
The first phase switching tube Q1, the first phase switching tube Q3, the first phase switching tube Q5 and two-phase switch are changed by PI algorithm in rapid S2
The driving signal overlapping phases size of pipe Q2, the second phase switching tube Q4, the second phase switching tube Q6.
5. the two-way DC/DC driving pulse modulator approach according to claim 1 based on DSP, which is characterized in that the step
The first phase switching tube Q1, the first phase switching tube Q3, the first phase switching tube Q5 or two-phase switch are changed by PI algorithm in rapid S5
The drive signal duty cycle size of pipe Q2, the second phase switching tube Q4, the second phase switching tube Q6.
6. a kind of two-way DC/DC driving pulse modulating device based on DSP characterized by comprising
Judging unit, for the average voltage of low-voltage direct bus to be calculated by the first preset formula, and described in judgement
Average voltage, if not existing, triggers the first computing unit whether in preset BOOST mode starting voltage range, if,
Trigger the second computing unit;
First computing unit, for by the second preset formula calculate under preset BUCK mode with the first phase switching tube Q1,
The drive of one phase switching tube Q3, the first phase switching tube Q5 and the second phase switching tube Q2, the second phase switching tube Q4, the second phase switching tube Q6
The dynamic corresponding control voltage value of signal phase shifting angle;
Converting unit is converted to the control voltage value for the timer by DSP corresponding with the control voltage value
The phase shift time, the driving signal of the first phase switching tube Q1 and the driving letter of the second phase switching tube Q4 were arranged according to the phase shift time
Number reverse phase, the driving signal reverse phase of the driving signal of the first phase switching tube Q3 and the second phase switching tube Q2, the first phase switching tube Q5
Driving signal and the same phase of driving signal of the first phase switching tube Q1, the driving signal of the first phase switching tube Q5 and two-phase switch
The driving signal reverse phase of pipe Q6, and trigger judging unit;
Second computing unit, the driving signal for calculating preset BOOST mode lower switch pipe Q1 by the preset formula of third account for
Empty ratio, and the driving signal that the drive signal duty cycle is converted to the first phase switching tube Q1 is connected by the timer of DSP
Time, the driving signal and the drive of the second phase switching tube Q2 of the first phase switching tube Q1 were arranged according to the driving signal turn-on time
Dynamic signal phase differs 180 °;
Setting unit, for the driving signal and the first phase switching tube Q1 of the first phase switching tube Q3 and the first phase switching tube Q5 to be arranged
Driving signal it is identical, be arranged the second phase switching tube Q4 and the second phase switching tube Q6 driving signal with the second phase switching tube Q2's
Driving signal is identical, and triggers judging unit;
The first preset formula are as follows:
udc_ave(k)=udc(k-2)*c2+udc(k-1)*c1+udc(k)*c0
Wherein, udc(k-2)、udc(k-1) and udcIt (k) is respectively k-2, k-1 and k the moment low pressure obtained by low pressure sample circuit
D-c bus voltage value;c2、c1And c0Respectively udc(k-2)、udc(k-1) and udc(k) weight coefficient;
The second preset formula are as follows:
U (k)=e (k-2) * b1+e(k-1)*b2+e(k)*b0+u(k-2)*a2+u(k-1)*a1
Wherein, u (k) indicates the corresponding control voltage value of phase shifting angle of current period output;U (k-1) indicates that the previous period is defeated
The corresponding control voltage value of phase shifting angle out;U (k-2) indicates the corresponding control voltage value of the first two period output phase shifting angle;e
(k) current period given voltage and sample circuit Real-time Feedback voltage error input value are indicated;E (k-1) indicates to work as previous week
Phase given voltage and sample circuit Real-time Feedback voltage error input value;E (k-2) indicates the first two period given voltage and adopts
Sample circuit Real-time Feedback voltage error input value;b2、b1、b0、a2、a1For weight coefficient;
The preset formula of third are as follows:
D (n)=e (n-2) * b11+e(n-1)*b12+e(n)*b10+d(n-2)*a12+d(n-1)*a11
Wherein, d (n) indicates the duty ratio of current period output;D (n-1) indicates the duty ratio of previous period output;d(n-2)
Indicate the first two period output duty cycle;E (n) indicates that current period given voltage and sample circuit Real-time Feedback voltage error are defeated
Enter value;E (n-1) indicates previous period given voltage and sample circuit Real-time Feedback voltage error input value;E (n-2) is indicated
The first two period given voltage and sample circuit Real-time Feedback voltage error input value;b12、b11、b10、a12、a11For weight system
Number.
7. the two-way DC/DC driving pulse modulating device according to claim 6 based on DSP, which is characterized in that described to sentence
Disconnected unit includes:
Computation subunit, for the average voltage of low-voltage direct bus to be calculated by the first preset formula;
Judgment sub-unit, for judging the average voltage whether in preset BOOST mode starting voltage range, if not
The first computing unit is then being triggered, if triggering the second computing unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265077.7A CN106505868B (en) | 2016-12-30 | 2016-12-30 | Two-way DC/DC driving pulse modulator approach and device based on DSP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265077.7A CN106505868B (en) | 2016-12-30 | 2016-12-30 | Two-way DC/DC driving pulse modulator approach and device based on DSP |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106505868A CN106505868A (en) | 2017-03-15 |
CN106505868B true CN106505868B (en) | 2019-05-24 |
Family
ID=58334773
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611265077.7A Expired - Fee Related CN106505868B (en) | 2016-12-30 | 2016-12-30 | Two-way DC/DC driving pulse modulator approach and device based on DSP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106505868B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114876954A (en) * | 2022-05-25 | 2022-08-09 | 山东明天机械集团股份有限公司 | System and method for optimizing data acquisition precision of electromagnetic bearing |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516224A (en) * | 2013-10-09 | 2014-01-15 | 清华大学 | Mixed phase-shifting control method used for dually-active full-bridge direct current converter |
CN105514968A (en) * | 2015-12-03 | 2016-04-20 | 东南大学 | Buck-boost isolation type DC/DC circuit-based DC power spring topology and control method thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8363427B2 (en) * | 2010-06-25 | 2013-01-29 | Greecon Technologies Ltd. | Bi-directional power converter with regulated output and soft switching |
JP5585408B2 (en) * | 2010-11-16 | 2014-09-10 | Tdk株式会社 | Switching power supply |
CN102237801A (en) * | 2010-12-30 | 2011-11-09 | 保定天威集团有限公司 | Method for controlling bidirectional direct-current converter |
JP5875326B2 (en) * | 2011-10-27 | 2016-03-02 | シャープ株式会社 | Bidirectional DC / DC converter, solar charging system, and moving body |
-
2016
- 2016-12-30 CN CN201611265077.7A patent/CN106505868B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516224A (en) * | 2013-10-09 | 2014-01-15 | 清华大学 | Mixed phase-shifting control method used for dually-active full-bridge direct current converter |
CN105514968A (en) * | 2015-12-03 | 2016-04-20 | 东南大学 | Buck-boost isolation type DC/DC circuit-based DC power spring topology and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN106505868A (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103929045B (en) | Convertor device, driving unit and correlation technique | |
US9564775B2 (en) | Uninterruptible power supply and DC-DC converter | |
CN103401455A (en) | Modulation method for active neutral-point clamp type tri-level inverter | |
CN104811073B (en) | Converter module, device, system and correlation technique | |
CN106208737B (en) | Model prediction current control method based on third-harmonic zero-sequence voltage matrix converter | |
CN102510215B (en) | Three-level bidirectional direct-current converter and pulse width control method thereof | |
CN107276378B (en) | Precharge control method | |
CN104334393A (en) | Battery system, motor vehicle having a battery system, and method for starting up a battery system | |
CN109067299A (en) | Three port nonagon Modular multilevel converter topological structures and control method | |
US20190280615A1 (en) | Modulation method and apparatus based on three-phase neutral point clamped inverter | |
CN107800298A (en) | Modular solid-state transformer and its control method based on distributed high frequency conversion | |
CN103593521A (en) | Efficient simulation modeling method of full-bridge cascaded multilevel converter | |
CN103595237A (en) | Method for pre-charging of sub-module capacitor of modularized multi-level converter | |
CN109889049A (en) | The control method and device of DC/DC converter | |
CN106505868B (en) | Two-way DC/DC driving pulse modulator approach and device based on DSP | |
CN204538966U (en) | A kind of high power DC I/O reversible transducer | |
CN108323224A (en) | Power-converting device and its control method | |
CN109639153B (en) | Model prediction control method of Quasi-Z source indirect matrix converter | |
CN104393778A (en) | Method and device for modulating five-level inverter and photovoltaic system | |
CN105827109B (en) | A kind of redundant direct current translation circuit and its control method | |
CN106787762B (en) | The pulse-width modulation method and device of two-way isolation DC-DC converter | |
CN109802571A (en) | A kind of redundancy control system and method applied to three-phase solid transformer | |
Gulbudak et al. | A predictive control scheme for a dual output indirect matrix converter | |
CN107147320A (en) | High frequency chain matrix inverter topology and modulator approach that a kind of prime is double Buck Boost | |
EP3413453A1 (en) | Single-stage three-phase power conversion device and power transmission device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190524 Termination date: 20201230 |
|
CF01 | Termination of patent right due to non-payment of annual fee |