Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described.
Embodiment 1:
With reference to Fig. 2, self adaptation turn-on time generation circuit of the present invention comprises: input voltage sampling unit 1, output voltage current sample compensating unit 2 and comparing and temporal logic generation unit 3.
Described input voltage sampling unit 1, is provided with three inputs a, b, c and an output d; Wherein first input end a and the second input b are connected the input voltage V of dc-dc respectively
iNwith dc-dc internal reference voltage V
r, to the input voltage V of dc-dc
iNsample; 3rd input c connects and compares the pulse inverted signal exported with temporal logic generation unit 3
; Output d output voltage signal V
cto comparing and temporal logic generation unit 3, this voltage signal V
cbe proportional to the input voltage V of dc-dc
iNwith the ON time of main switch in dc-dc.
Described output voltage current sample compensating unit 2, is provided with four inputs e, f, g, h and an output i; The wherein output voltage V of first input end e and dc-dc
oUTbe connected; Second input f is connected with synchro switch pipe interface point SW with main switch in dc-dc, for the voltage V of this interface point SW that samples
sW, and the output voltage V of dc-dc that it is added to
oUTon; 3rd input g and four-input terminal h are connected two Non-overlapping clock signal S that dc-dc inside produces respectively
1and S
2; Output i exports the output voltage sampled signal V after compensating
oUT1to comparing and temporal logic generation unit 3.
Describedly to compare and temporal logic generation unit 3, be provided with three inputs j, k, p and two outputs m, n; The voltage signal V that first input end j and the 3rd input p inputs with input voltage sampling unit 1 respectively
cwith the output voltage sampled signal V after the compensation of output voltage current sample compensating unit 2 input
oUT1be connected, for voltage signal V
cwith the output voltage sampled signal V after compensation
oUT1compare; The comparison signal PWM that second input k and dc-dc internal comparator produce is connected, and its first output m exports pulse inverted signal
; Second output n output pulse signal DR.
With reference to Fig. 3, input voltage sampling unit 1 of the present invention, comprises error amplifier 101, two PMOS M
101, M
102, 3 NMOS tube M
103~ M
105, the first resistance R
1with the first electric capacity C
1; Of the present inventionly to compare and temporal logic generation unit 3, comprise comparator 301 and rest-set flip-flop 302.
Described error amplifier 101, its in-phase input end is connected to NMOS tube M
103drain electrode; Its anti-phase input termination dc-dc internal reference voltage V
r; Its output is connected to NMOS tube M
103and M
104grid; NMOS tube M
103drain electrode by the first resistance R
1be connected to the input voltage V of dc-dc
iN, its source electrode receives ground; NMOS tube M
104drain electrode and PMOS M
101source drain be connected, its source electrode receive ground; Due to NMOS tube M
103, M
104pipe number identical with breadth length ratio, therefore flow through NMOS tube M
103and M
104electric current equal, i.e. I
1=I
2.
Described PMOS M
101with M
102, form current-mirror structure, its source electrode receives dc-dc internal electric source VDD; PMOS M
102drain electrode by the first electric capacity C
1be connected to ground, simultaneously as the output of input voltage intelligence sample circuit 1, output voltage signal V
c; Due to PMOS M
101, M
102pipe number identical with breadth length ratio, therefore flow through PMOS M
101and M
102electric current equal, i.e. I
2=I
3.
Described NMOS tube M
105, its drain electrode and PMOS M
102drain electrode be connected; Its source electrode receives ground; Its grid connects and compares the pulse inverted signal exported with temporal logic generation unit 3
Can be obtained by above-mentioned voltage-current relationship:
Described comparator 301, the voltage signal V that its homophase and input voltage sampling unit 1 input
cbe connected; Output voltage sampled signal V after the compensation that its inverting input and output voltage current sample compensating circuit 2 input
oUT1be connected; Its output is connected to rest-set flip-flop 302;
Described rest-set flip-flop 302, is provided with two inputs, is respectively and puts 1 end S and clear 0 end R; Its clear 0 end R is connected with the output of comparator 301; It is put 1 end S and is connected with the pwm signal that dc-dc inside produces; Its forward output Q output pulse signal DR; Reversed-phase output
the inverted signal of output pulse signal
As the output voltage V of DC-DC controller
oUTduring reduction, the comparison signal PWM that dc-dc inside produces is uprised by low, the pulse signal DR that the positive output end of rest-set flip-flop 302 exports is uprised by low, and the main switch in dc-dc is opened, the inverted signal of the pulse signal of the reversed-phase output output of rest-set flip-flop 302 simultaneously
by high step-down, NMOS tube M
105turn off.Flow through PMOS M
102electric current I
3charge to the first electric capacity C1, the voltage signal V that input voltage sampling unit 1 exports
crise from zero with fixed slope.As voltage signal V
crise to the output voltage sampled signal V after compensation
oUT1time, the signal that comparator 301 exports is uprised by low, and the pulse signal DR that triggered RS flip-flop 302 exports is by high step-down, and the main switch controlled in dc-dc turns off, so the opening time T of main switch
oNformula 3 can be expressed as)
With reference to Fig. 4, output voltage current sample compensating unit 2 of the present invention, comprises sampling module 21, sampling keeps module 22 and Voltage to current transducer module 23;
Described sampling module 21, comprises 5 PMOS M
201~ M
205, 2 NMOS tube M
208, M
209with 3 resistance, i.e. the second resistance R
2, the 3rd resistance R
3with the 4th resistance R
4.Wherein PMOS M
201source electrode be connected with the internal electric source VDD of dc-dc, its drain and gate is connected and forms diode structure, and is connected, for late-class circuit provides bias current with the bias current IBIAS that produces of dc-dc inside.PMOS M
202with M
203grid and PMOS M
201grid be connected, its source electrode is connected to dc-dc internal electric source VDD, and its drain electrode is connected respectively to NMOS tube M
208and M
209drain electrode.NMOS tube M
208with M
209grid connect together.NMOS tube M
208grid and self drain electrode be connected form diode structure, source electrode pass through the second resistance R
2receive ground.NMOS tube M
209source electrode by the 3rd resistance R
3be connected to main switch and synchro switch pipe interface point SW in dc-dc.PMOS M
204with M
205grid connect together, and receive PMOS M
202drain electrode, its source electrode receives internal electric source VDD.PMOS M
204drain electrode receive the 3rd resistance R
3one end, PMOS M
205drain electrode by the 4th resistance R
4receive ground, PMOS M
205drain electrode output voltage difference signal V
bmodule 22 is kept to sampling.
When lock-in tube is opened, the voltage V of main switch and synchro switch pipe interface point SW in dc-dc
sWcan be expressed as:
V
SW=-R
D2I
LOAD4)
Wherein R
d2for the conducting resistance of synchro switch pipe, I
lOADrepresent the load current of dc-dc.
Now, the voltage V of sampling module 21 couples of interface point SW
sWand the voltage difference between ground is sampled, and convert this voltage difference to current signal I
a, the second resistance R
2with the 3rd resistance R
3resistance identical, PMOS M
204breadth length ratio and PMOS M
205identical, and both pipe numbers are also identical, so the current signal I of sampling module 21
awith the voltage differential signal V exported
bbe expressed as:
Described sampling keeps module 22, comprises 2 NMOS tube M
210and M
211, the 5th resistance R
5with the second electric capacity C2; Wherein NMOS tube M
210grid and the clock signal S that produces of dc-dc inside
1be connected, the voltage differential signal V that its drain electrode inputs with sampling module 21
bbe connected; 5th resistance R
5with the second electric capacity C
2after series connection, be connected across NMOS tube M
210source electrode and ground between; 5th resistance R
5with the second electric capacity C
2common port export sampling or inhibit signal V
ato Voltage to current transducer module 23; NMOS tube M
211grid and the clock signal S that produces of dc-dc inside
2be connected, its drain electrode and sampling or inhibit signal V
aconnect, its source electrode is connected to ground.
When the lock-in tube in dc-dc is opened, the clock signal S that dc-dc inside produces
1for high level, S
2for low level, voltage differential signal V
bbe sampled the in-phase end of error amplifier 201, when the lock-in tube in dc-dc turns off, when main switch is opened, the clock signal S that dc-dc inside produces
1and S
2be low level, sample the sampled signal V obtained
abe kept.5th resistance R
5with the second electric capacity C
2simultaneously also to sampled signal V
acarry out RC filtering.The clock signal S that DC-DC inside produces
2main switch shutdown moment in dc-dc can produce a high level burst pulse, discharges the second electric capacity C
2the electric charge of upper maintenance, for sampling is prepared next time.
Described negative feedback module 23, comprises error amplifier 201,2 PMOS M
206, M
207, 1 NMOS tube M
212with 4 resistance, i.e. the 6th resistance R
6, the 7th resistance R
7, the 8th resistance R
8with the 9th resistance R
9.The output of error amplifier 201 receives NMOS tube M
212grid, its in-phase input end with sample keep module 22 to input sampling or inhibit signal V
abe connected, its inverting input is connected to NMOS tube M
212source electrode.6th resistance R6 is connected across NMOS tube M
212source electrode and ground between.PMOS M
206with M
207form current-mirror structure, its source electrode receives dc-dc internal electric source VDD jointly.PMOS M
206drain electrode and NMOS tube M
212drain electrode be connected.PMOS M
207drain electrode by the 7th resistance R
7be connected to ground.8th resistance R
8with the 9th resistance R
9, series connection is connected across the output and PMOS M that connect dc-dc
207drain electrode between.8th resistance R
8with the 9th resistance R
9common port export compensate after output voltage sampled signal V
oUT1.
In this example, the second resistance R
2, the 3rd resistance R
3, the 4th resistance R
4, the 6th resistance R
6with the 7th resistance R
7resistance identical, PMOS M
206breadth length ratio and PMOS M
207identical, and both pipe numbers are also identical.If flow through the 9th resistance R
9electric current be I
c, therefore flow through PMOS M
207the electric current I of drain terminal
bwith the output voltage V of DC-DC converter
oUTcan be expressed as respectively:
V
OUT=I
C(R
9+R
8+R
7)+I
BR
78)。
In this example, get the 9th resistance R
9resistance equal the 7th resistance R
7with the 8th resistance R
8sum, the output voltage sampled signal V after the compensation of therefore output voltage current sample compensating unit 2 output
oUT1can be expressed as:
By formula 7) substitute into formula 9), can obtain:
According to formula 10) V that output voltage intelligence sample compensating circuit 2 is exported
oUT1signal list is shown as K (V
oUT+ I
lOADr
d2), K is 1/2 in the present embodiment.In physical circuit design, by changing the second resistance R
2to the 4th resistance R
4, the 6th resistance R
6to the 9th resistance R
9ratio and PMOS M
204, M
205and M
206, M
207proportionate relationship, obtain need K value.
Due to the conducting resistance R of the main switch in dc-dc and lock-in tube
d1, R
d2, and on the series equivalent resistance of inductance, generation has extra voltage drop; Adopt the switching frequency f of the dc-dc of self adaptation ON time control model
sWslightly can change with the change of load current, the wherein conducting resistance R of main switch and lock-in tube
d1, R
d2play a major role.
According to volt-second equilibrium principle, formula 11 can be obtained):
(V
IN-V
OUT-I
LOADR
D1)D=(1-D)(V
OUT+I
LOADR
D2) 11)
Wherein I
lOADrepresent load current, D represents the duty ratio of dc-dc breaker in middle signal.
By formula 11):
By formula 12) and formula 3) substitute into formula 1), the switch periods T of dc-dc
sWcan be expressed as;
Due to the reference voltage V that dc-dc inside produces
r(R
d1-R
d2) I
lOADvalue much smaller than the input voltage V of dc-dc
iN, therefore, formula 13) can be reduced to:
By formula 10) substitute into formula 14), the switch periods T of dc-dc
sWcan be expressed as:
By formula 15) switching frequency f can be obtained
sWfor:
Visible, the switching frequency f of the dc-dc of application the present embodiment
sWonly with the first resistance R
1with the first electric capacity C
1value relevant, completely not with duty ratio and load current change and change.
Embodiment 2:
Output voltage current sample compensating unit 2 of the present invention with compare identical with embodiment 1 with temporal logic generation unit 3.
With reference to Fig. 5, input voltage sampling unit 1 of the present invention comprises: operational amplifier 401,2 PMOS M
401, M
402, 2 NMOS tube M
404, M
405, the 3rd electric capacity C
3with 3 resistance, i.e. the tenth resistance R
10, the 11 resistance R
11with the 12 resistance R
12;
Described 11 resistance R
11with the 12 resistance R
12series connection, is connected across the input voltage V of dc-dc
iNand between ground;
Described operational amplifier 401, its in-phase input end is connected to the 11 resistance R
11with the 12 resistance R
12common port; Its inverting input and NMOS tube M
404source electrode be connected; Its output is connected to NMOS tube M
404grid;
Described NMOS tube M
404, its drain electrode and PMOS M
401source drain be connected; Its source electrode is connected to ground by the 12 resistance;
Described PMOS M
401with M
402, its grid is connected, and forms current-mirror structure; Its source electrode receives dc-dc internal electric source VDD; PMOS M
402drain electrode by the 3rd electric capacity C
3be connected to ground, simultaneously as the output of input voltage sampling unit 1, output voltage signal V
c;
Described NMOS tube M
405, its drain electrode and PMOS M
402drain electrode be connected; Its source electrode receives ground; Its grid with compare the pulse inverted signal with the input of temporal logic generation unit 3
be connected.
PMOS M can be flow through by above-mentioned voltage-current relationship
402electric current I
3' be:
Convolution 3) can obtain corresponding to the present embodiment dc-dc in the ON time T of main switch
o'
nfor:
By formula 12) and formula 18) substitute into formula 1), the switch periods T of the dc-dc in the present embodiment
s'
wcan be expressed as:
19)
Due to (R
d1-R
d2) I
lOADvalue much smaller than the input voltage V of dc-dc
iN, therefore, formula 19) can be reduced to:
By formula 10) substitute into formula 20), the switch periods T of dc-dc
s'
wcan be expressed as:
By formula 21) switching frequency f can be obtained
s'
wfor:
Visible, the switching frequency f of the dc-dc of application the present embodiment
s'
walso only with the tenth resistance R
10, the 11 resistance R
11, the 12 resistance R
12with the 3rd electric capacity C
3value relevant, completely not with duty ratio and load current change and change.
By the switching frequency f of the dc-dc of above two embodiments
sWand f
s'
wcan find out, adopt the switching frequency of dc-dc of the present invention only relevant with fixing capacitance with fixing resistance value, not change with the change of duty ratio and load current completely.Overcoming the fixing ON time control model of tradition due to switching frequency to carry out the problem of electromagnetic interference to rear class system band with change in duty cycle.Adopt dc-dc of the present invention simultaneously, directly trigger main switch open by comparing output feedack voltage and reference voltage signal, and do not need error amplifier and feedback network, therefore compare with voltage mode control with traditional current control mode, there is better transient response ability.
Below be only two preferred example of the present invention, do not form any limitation of the invention, obviously under design of the present invention, different changes and improvement can be carried out to its circuit, but these are all at the row of protection of the present invention.