Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Disclosing hereafter provides many different embodiments or example is used for realizing different structure of the present invention.Of the present invention open in order to simplify, hereinafter the parts of specific examples and setting are described.Certainly, they are only example, and object does not lie in restriction the present invention.In addition, the present invention can in different example repeat reference numerals and/or letter.This repetition is to simplify and clearly object, itself does not indicate the relation between discussed various embodiment and/or setting.In addition, the various specific technique that the invention provides and the example of material, but those of ordinary skill in the art can recognize the property of can be applicable to of other techniques and/or the use of other materials.In addition, fisrt feature described below second feature it " on " structure can comprise the embodiment that the first and second features are formed as directly contact, also can comprise other feature and be formed in embodiment between the first and second features, such first and second features may not be direct contacts.
In describing the invention, it should be noted that, unless otherwise prescribed and limit, term " installation ", " being connected ", " connection " should be interpreted broadly, such as, can be mechanical connection or electrical connection, also can be the connection of two element internals, can be directly be connected, also indirectly can be connected by intermediary, for the ordinary skill in the art, the concrete meaning of above-mentioned term can be understood as the case may be.
With reference to description below and accompanying drawing, these and other aspects of embodiments of the invention will be known.Describe at these and in accompanying drawing, specifically disclose some particular implementation in embodiments of the invention, representing some modes of the principle implementing embodiments of the invention, but should be appreciated that the scope of embodiments of the invention is not limited.On the contrary, embodiments of the invention comprise fall into attached claims spirit and intension within the scope of all changes, amendment and equivalent.
The line pressure compensation arrangement for Switching Power Supply of embodiment proposition is according to a first aspect of the present invention described referring to Fig. 2 to Fig. 6.
As shown in Figure 2, this line pressure compensation arrangement comprises voltage sample module 201, error amplification module 202, erasing time sampling module 203, control module 204, line pressure compensating module 205 and starts module 206.
Wherein, the feedback signal V that exports for the voltage of sampling switch power supply of voltage sample module 201
sample.That is, voltage sample module 201, by the detection to output voltage feedback end INV pin signal, realizes the sampling of the feedback signal that voltage exports and keeps, being then supplied to error amplification module 202 and processing.
Error amplification module 202 is connected with voltage sample module 201, the feedback signal V that the voltage for obtaining the Switching Power Supply that voltage sample module 201 samples exports
sample, and with preset reference signal V
refcompare the voltage feedback signal V obtaining error amplification
eA, be then supplied to control module 204.
Erasing time sampling module 203 passes through the detection to output voltage feedback end INV pin signal equally, the erasing time T of the transformer secondary output diode of sampling switch power supply
dS.
In one embodiment of the invention, erasing time T
dSoN time according to the transformer secondary output diode of Switching Power Supply is determined.That is, the erasing time T of output diode
dSthe ON time of equivalence secondary diode, when having no progeny in the power switch pipe pass of Switching Power Supply, energy is delivered to time limit by transformer coupled, output diode conducting, charge to output capacitance is load supplying simultaneously, until the energy ezpenditure transmitted is complete, output diode ends, and is the erasing time T of output diode from diode current flow to the time ended
dS.As shown in Figure 3, erasing time sampling module 203, by the judgement to output voltage feedback end INV rising and trailing edge, obtains erasing time T to the erase signal waveform that output voltage feedback end INV detects
dSand be supplied to control module 204 and line pressure compensating module 205.
Wherein, T
dScan be obtained by following formula.According to formula:
Following formula can be derived obviously:
Wherein, Ls is equivalence time limit inductance value, and Is is equivalence time limit peak current, V
ffor the forward voltage drop of secondary diode, V
ofor output voltage.
And the transformer of Switching Power Supply has:
Wherein, NP is the transformer primary number of turn, and NS is the transformer time limit number of turn, and Lp is the inductance value of transformer, and Ip is the peak current of power switch pipe.Therefore obtain:
That is, erasing time T
dSbe directly proportional to the peak current Ip of main limit power switch pipe.
Control module 204 is connected with erasing time sampling module 203 with error amplification module 202 respectively, according to erasing time T
dSwith the voltage feedback signal V that error is amplified
eAthe reference voltage signal V of the power switch pipe of output switch power source
oCPand output switching signal is to control ON time and the operating frequency of power switch pipe.
In one embodiment of the invention, control module 204 adopts PWM(PulseWidthModulation, pulse width modulation) and PFM(PulseFrequencyModulation, pulse frequency modulated) control mode.
Line pressure compensating module 205 is connected with control module 204 with erasing time sampling module 203 respectively, according to erasing time T
dSwith the reference voltage signal V of power switch pipe
oCPgenerate offset current, and the pressure drop that the output feedack circuit of the Switching Power Supply that is added to produces with compensating load circuit lead.
Start the opening and closing that module 206 controls line pressure compensation arrangement.Further, as shown in Figure 2, start module 206 and comprise start unit 207 and internal electric source and reference offset unit 208.Wherein, the power vd D threshold value that the given line pressure compensation arrangement of start unit 207 opens and shuts off, controls opening and shutting off of line pressure compensation arrangement, and realizes line under-voltage defencive function.Internal electric source and reference offset unit 208 provide low-pressure section circuit work power and enable signal, provide benchmark and are biased.
Further, in one embodiment of the invention, as shown in Figure 2, this line pressure compensation arrangement also comprises drive control module 209, drive control module 209 is connected with control module 204, by processing to the output switching signal of control module 204 conducting and the closedown that control power switch pipe.Wherein, drive control module 209 comprises logic control element 210 and driver element 211, and logic control element 210 is for processing the logical signal of prime and output switching signal, and driver element 211 provides drive singal for power switch pipe.
Below the function of each port of above-mentioned line pressure compensation arrangement is described, as shown in Figure 2.
VDD---external power supply end;
GND---earth terminal;
Capacitive interface end mended by COMP---line;
CS---peak current detection end;
INV---output voltage feedback end;
DRI---export drive end.
That is, after line pressure compensation arrangement powers on, vdd voltage slowly rises, and start unit 207 first resets to other modules.When VDD rises to a certain degree, start module 206 output enable useful signal, line pressure compensation arrangement is started working.
As shown in Figure 6, the feedback voltage of the ancillary coil (3-2) of Switching Power Supply is supplied to voltage sample module 201 by output voltage feedback end INV after potential-divider network (being made up of resistance R6 and R7) dividing potential drop, the signal V after sampling keeps
sampleby error amplification module 202 and inner reference voltage V
refcompare and enlarge.When load becomes heavy, output voltage reduces, the signal V of sampling end
samplealso decline thereupon, force the output of error amplification module 202 to be risen, by the operating frequency of control module 204 by the ON time of increasing power switching tube/raising power switch pipe, so the power output of system rises, output voltage also rises thereupon.Otherwise, when load lightens, output voltage rises, the output of error amplification module 202 reduces, the operating frequency of the ON time/reduction power switch pipe of power switch pipe will be reduced by control module 204, the power output of system declines thereupon, forces output voltage also to decline, until system reaches balance.Specifically see formula (6) and (7) below:
Pout=Pin·η=0.5·Lp·f·Ip
2·η(6)
Wherein, P
outfor power output, P
infor input power, Lp is the inductance value of transformer, and f is the operating frequency of power switch pipe, and η is the conversion efficiency of input and output, and Ip is the peak current of power switch pipe.Again
Wherein, Ton is the ON time of power switch pipe, and VIN is the direct voltage after input AC electric rectification.
Visible, Pout and Ip
2f is directly proportional and is namely equivalent to and fTon
2be directly proportional.
Formula (8) is below obtained by formula (6):
Wherein, V
ofor the output voltage of system, Iout is output load current, under constant voltage, and V
osteady state value can be approximately, i.e. output load current Iout and Ip
2f is directly proportional.The pressure drop of wire is determined according to following formula (9):
Wherein, Vc is wire pressure drop, R
cfor conductor resistance.
Reach perfect line pressure compensation effect, need to make line mend voltage equal with wire pressure drop Vc, that is, voltage mended by line needs to be directly proportional to Iout, namely with Ip
2f is directly proportional.
In one embodiment of the invention, as shown in Figure 4, line pressure compensating module 205 comprises charging current unit 401, bucking voltage generation unit 402 and converting unit 403 further.
Wherein, charging current unit 401 is for the reference voltage signal V by power switch pipe
oCPgenerate the peak current I of a road and power switch pipe
pthe charging current be directly proportional.Bucking voltage generation unit 402 is connected with erasing time sampling module 203 with charging current unit 401 respectively, for according to erasing time T
dSbucking voltage is generated with charging current.Converting unit 403 is connected with bucking voltage generation unit 402, for converting bucking voltage to offset current.
That is, by the reference voltage signal V of power switch pipe
oCPwith erasing time signal T
dSby the process of line pressure compensating module 205, produce the electric current I that a road is directly proportional to output load current Iout
cOMPand be supplied to the output voltage feedback INV end of line pressure compensation arrangement, convert required line to by divider resistance R6 in Fig. 6 and mend voltage, mend function to realize line.
Wherein, V
oCPfor the reference voltage value that power switch pipe overcurrent judges, produced by control module 204, for realizing the adjustment to power switch pipe ON time.Specific implementation is that line pressure compensation arrangement holds the voltage in sample graph 6 on R9, once more than V by CS
oCP, then switch-off power switching tube.Therefore obtain:
V
OCP=Ip·R9(10)
So, V
oCPfor being proportional to the amount of power switch pipe peak current Ip.
Energy when power switch pipe is closed on primary inductance is to secondary transmission, and secondary diode conducting starts demagnetization, and therefore, line pressure compensating module 205 passes through erasing time T
dSand the conversion of power switch pipe ON time Ton, realize the compensation to output line voltage under different loads.
Particularly, in one embodiment of the invention, as shown in Figure 5, charging current unit 401 comprises the first operational amplifier OP1, the first resistance R1, the first NMOS tube MN1 and the first PMOS MP1.Wherein, the in-phase input end of the first operational amplifier OP1 is connected with control module.One end of first resistance R1 is connected with the inverting input of the first operational amplifier OP1, the other end ground connection of the first resistance R1.The source electrode of the first NMOS tube MN1 is connected with one end of the first resistance R1, and the grid of the first NMOS tube MN1 is connected with the output of the first operational amplifier OP1.The drain electrode of the first PMOS MP1 connects power supply, and the grid of the first PMOS MP1 is all connected with the drain electrode of the first NMOS tube MN1 with source electrode.
Particularly, as shown in Figure 5, bucking voltage generation unit 402 comprises the second PMOS MP2, the second NMOS tube MN2 and the second resistance R2.Wherein, the drain electrode of the second PMOS MP2 connects power supply, and the grid of the second PMOS MP2 is connected with the grid of the first PMOS.The drain electrode of the second NMOS tube MN2 is connected with the source electrode of the second PMOS MP2, and the grid of the second NMOS tube MN2 is connected with erasing time sampling module.One end of second resistance R2 is connected with the positive terminal of external capacitor C1 with the source electrode of the second NMOS tube MN2 respectively, the other end ground connection of the second resistance R2.
Particularly, as shown in Figure 5, converting unit 403 comprises the second operational amplifier OP2, the 3rd resistance R3, the 3rd NMOS tube MN3, the 3rd PMOS MP3, the 4th PMOS MP4, the 4th NMOS tube MN4 and the 5th NMOS tube MN5.Wherein, the in-phase input end of the second operational amplifier OP2 is connected with one end of the second resistance R2.One end of 3rd resistance R3 is connected with the inverting input of the second operational amplifier OP2, the other end ground connection of the 3rd resistance R3.The grid of the 3rd NMOS tube MN3 is connected with the output of the second operational amplifier OP2, and the source electrode of the 3rd NMOS tube MN3 is connected with one end of the 3rd resistance R3.The drain electrode of the 3rd PMOS MP3 connects power supply, and the grid of the 3rd PMOS MP3 is all connected with the drain electrode of the 3rd NMOS tube MN3 with source electrode.The drain electrode of the 4th PMOS MP4 connects power supply, and the grid of the 4th PMOS MP4 is connected with the grid of the 3rd PMOS MP3.The drain and gate of the 4th NMOS tube MN4 is all connected with the source electrode of the 4th PMOS MP4, the source ground of NMOS tube MN4.The grid of the 5th NMOS tube MN5 is connected with the drain electrode of the 4th NMOS tube MN4, the source ground of the 5th NMOS tube MN5, and the drain electrode of the 5th NMOS tube MN5 is for exporting offset current.
Specific works process is as follows:
As shown in Figure 5, the cardinal principle of line pressure compensating module 205 is to introduce the current signal I1 and time signal T that are directly proportional to Ip
dS, by the discharge and recharge to external capacitor C1, provide one and Ip
2the current signal I that f is directly proportional
cOMPfor realizing the compensation of wire voltage pressure drop.
Wherein, charging current unit 401 is supplied to bucking voltage generation unit 402 as charging current for generation of the current signal that a road is directly proportional to peak current Ip.Its specific implementation passes through V
oCPproduce the charging current that a road is directly proportional to power switch pipe peak current Ip, circuit forms jointly primarily of the first operational amplifier OP1 and current-mirror structure.
By the negative feedback of the first operational amplifier OP1, make V
oCP=V-, thus obtain:
Wherein, K is the proportionality coefficient of current mirror, and KI1 is charging current, and therefore I1 and Ip is directly proportional.
As shown in Figure 5, because the second NMOS tube MN2 is periodically conducting, the ON time in each cycle is erasing time T
dS.External line is mended electric capacity C1 and is mainly used to realize the filtering to switching current, brings certain reaction time delay simultaneously, prevents from mending the positive feedback of introducing due to line and making overall loop unstable.
When line pressure compensating module 205 is in stable state, the voltage V on electric capacity C1
cOMPobtain according to following formula.
Due to
Therefore the voltage of external capacitor C1 charging generation
And the voltage that external capacitor C1 electric discharge produces
Wherein, T is the work period of line pressure compensation arrangement.
Under stable case, Δ V1=Δ V2(15)
Therefore obtain
Wherein,
Visible, bucking voltage V
cOMPwith Ip
2f is directly proportional, namely with pressure drop V on output lead
cbe directly proportional.
As shown in Figure 5, converting unit 403 adopts amplifier and current-mirror structure equally, the output offset current I obtained
cOMPwith Ip
2f is directly proportional.
If establish I
cOMP=NIp
2f(18)
Wherein, N is proportionality constant.
So, by offset current I
cOMPbe superimposed upon on output feedack bleeder circuit, voltage V mended by the line finally obtained
cCOMPfor:
Wherein, NA is the number of turn of ancillary coil, and R6 is the divider resistance in feedback bleeder circuit, as Fig. 5 and as shown in Figure 6.
By adjustment feedback divider resistance R6, and in conjunction with formula (9), make
Then can realize the counteracting in the pressure drop of full-load range inside conductor, thus improve output voltage load regulation.
According to the line pressure compensation arrangement of the embodiment of the present invention, controlled by the output of control module, line pressure compensating module produces a route complement signal to offset the impact of resistance on wire, can realize the compensation in the pressure drop of full-load range inside conductor, thus improves the output loading regulation of Switching Power Supply.
The switch power supply system of embodiment proposition is according to a second aspect of the present invention described referring to Fig. 6 and Fig. 7.
As shown in Figure 7, switch power supply system comprises switching power unit 701 and above-mentioned line pressure compensation arrangement 702.Wherein, line pressure compensation arrangement 702 is connected with switching power unit 701, the pressure drop that the offset current output feedack circuit that is added to switching power unit 701 generated according to line pressure compensation arrangement produces with the load circuit wire of compensated switching power supply device 701.
Particularly, as shown in Figure 6, alternating current input after full-wave rectification (namely diode D1, D2, D3, D4 forms rectifier bridge), then is converted to high voltage direct current via the π type filter circuit that electric capacity C2, C3 and inductance L 1 form, and is charged to electric capacity C4 by R4 and R5.After being charged to certain threshold value, the DRI end of line pressure compensation arrangement 702 will export start signal, and main limit starts stored energy, turn off, main limit current peak I until main limit electric current rises to power switch pipe Q1 to a certain degree
pcontrol judge by sampling to R9 and being given to line pressure compensation arrangement 702 inside and realize, resistance R9 is main limit peak current detection resistance.Power switch pipe Q1 closes and has no progeny, and energy will by transformer coupled to secondary, and secondary carries out demagnetization.At erasing time T
dSin, system by ancillary coil for line pressure compensation arrangement 702 provides operating current, and INV end output voltage being fed back to after R6, R7 dividing potential drop line pressure compensation arrangement 702 is sampled, after line pressure compensation arrangement 702 pairs of output feedback signals carry out sampling maintenance, be supplied to inner error amplification module to carry out amplifying with the error of reference voltage set by inside, according to ON time and the operating frequency of its Output rusults adjustment external power switching tube Q1.Simultaneously, the line pressure compensating module of line pressure compensation arrangement 702 is then suitably changed ON time and operating frequency, obtain the electric current that a road is directly proportional substantially to output loading, this electric current is superimposed to output feedack circuit, by the adjustment to feedback divider resistance R6, and then realize the fine compensation to pressure drop on line.
According to the switch power supply system of the embodiment of the present invention, the fine compensation in the pressure drop of full-load range inside conductor can be realized by line pressure compensation arrangement, thus improve the output voltage load regulation of Switching Power Supply.In addition, control mode is simple, and circuit stability is reliable.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
In the description of this specification, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention, for the ordinary skill in the art, be appreciated that and can carry out multiple change, amendment, replacement and modification to these embodiments without departing from the principles and spirit of the present invention, scope of the present invention is by claims and equivalency thereof.