A kind of line compensation circuit and Switching Power Supply
Technical field
The present invention relates to switch power technology field, more particularly to a kind of line compensation circuit.The invention further relates to one kind
Switching Power Supply.
Background technology
With the reach of science and the progress of technology, the application of electronic equipment in people's lives is more and more extensive, just
Formula electronic equipment power supply is taken to come into being.
Fig. 1 is refer to, Fig. 1 is a kind of structure diagram of Switching Power Supply.Wherein, CC/CV controllers 101 pass through partial pressure electricity
R1 and resistance R2 sampling and outputting voltages are hindered, and the error signal of output voltage Vout and reference voltage CVref are passed through into amplifier
After amplification, NMOS being connected with amplifier, as adjustable resistance is directly controlled, and then is indirectly controlled shining for optocoupler 102
Device, optocoupler 102 feed back to the pwm chip 103 of primary side, and the pwm chip 103 of primary side is again by adjusting in NMOS 104
Peak point current, further control panel end output voltage Vout, wherein, Vout=CVref × (R1+R2)/R1.
To shorten the charging interval of electronic equipment, the charging current of portable electric appts Switching Power Supply can reach 1.8A
More than.Can be produced during charging, on charging wire pressure drop Vcable (Vcable can by charging wire resistance Rcable with
The product of electric current Iload on charging wire is calculated, i.e.,:Vcable=Iload × Rcable), and with charging current
Change, the pressure drop on charging wire can also change therewith, therefore, when the output voltage Vout of Switching Power Supply is fixed because
Vcable_end=Vout-Vcable, the magnitude of voltage Vcable_end of line end voltage (namely being electrically charged end) have significant change
Change.
For the pressure drop on compensating charge line, the stabilization of line end voltage is maintained, just needs integrated there is line in CC/CV controllers
The line compensation circuit of compensation function, its basic principle are:Output current is detected, plate end output electricity is improved with the increase of output current
Pressure, and then line end voltage is maintained in a constant scope.
Fig. 2 and Fig. 3 are refer to, Fig. 2 is a kind of structure diagram of line compensation circuit in the prior art, and Fig. 3 is electricity in Fig. 2
The output waveform of the corresponding each signal in road.As shown in Fig. 2, the input signal of 201 normal phase input end of amplifier is secondary sampler electricity
Load is pressed, secondary sampler voltage Load is directly proportional to output current Iout, i.e.,:Load=Iout × Rsen × 16, wherein Rsen
For the resistance value of sampling resistor 105;The output end voltage CVref of current mirror (Current Mirror) 202 is as reference voltage;It is slow
The voltage for rushing the normal phase input end of device 203 is fixed reference potential Vref.As seen from Figure 2, when secondary sampler voltage change
When, reference voltage can quickly change with secondary sampler voltage synchronous.
As shown in figure 3, when output current switches to zero load by being fully loaded with, secondary sampler voltage and output current are at the same time
Change, the reference voltage inside CC/CV controllers can make corresponding adjustment according to the change of secondary sampler voltage in real time, also
Be reference voltage can with the rapid decrease of secondary sampler voltage rapid decrease, at the same time the output voltage of system is due to defeated
Go out the effect of capacitance 106 in the state slowly discharged.Due to Vctrl>The output out of CVref, CC/CV controller is low electricity
It is flat, and primary side is transferred to by optocoupler 102, it is pulled low feedback pin FB voltages, when feedback pin voltage is less than standby threshold
When control chip 103 just stop output.If at this time switching to output current fully loaded, reference voltage is with secondary sampler voltage
Rapid increase and rapid increase, due to Vctrl<CVref, Out current potential will rise, and then feedback pin voltage can also rise,
But rise to feedback pin voltage since Out current potentials and rise to and (exported more than standby threshold primary-side-control chip 103)
This process is there are certain time delay, and output voltage only relies on output capacitance 106 and maintains within this section of time delay.If
Time delay is longer, then will result in output voltage and produces larger voltage undershoot.
Therefore, how a kind of line compensation circuit and Switching Power Supply for solving above-mentioned technical problem is provided, becomes this area
Technical staff's problem to be solved.
The content of the invention
The object of the present invention is to provide a kind of line compensation circuit, the undershoot for reducing output voltage during use shows
As;It is a further object of the present invention to provide a kind of Switching Power Supply for including above-mentioned line compensation circuit, its stability carries when in use
It is high.
In order to solve the above technical problems, the present invention provides a kind of line compensation circuit, applied to Switching Power Supply, the line is mended
Repaying circuit includes amplifier, adjustable resistance, first resistor, second resistance, current mirror and buffer, and the positive of the amplifier is defeated
Enter end to be connected with secondary sampler voltage;The first end of the adjustable resistance is connected with the input terminal of the current mirror, described adjustable
The second end of resistance is connected with the first end of the first resistor and the inverting input of the amplifier respectively;First electricity
The second end ground connection of resistance;The output terminal of the current mirror is connected with the first end of the second resistance, its common port output reference
Voltage;The second end of the second resistance is connected with the output terminal of the buffer;The input terminal of the buffer is joined with fixed
Examine voltage connection;The line compensation circuit further includes diode, capacitance, the first NMOS, the first constant-current source and for exporting pulse
The signal generator of signal, wherein:
The anode of the diode is connected with the output terminal of the amplifier, and the cathode of the diode is respectively with described
The draining of one NMOS, the control terminal of the adjustable resistance is connected with the first end of the capacitance;
The second end ground connection of the capacitance;
The source electrode of first NMOS is connected with the input terminal of first constant-current source, the grid of the first NMOS and institute
State the signal output part connection of signal generator;
The output head grounding of first constant-current source.
Preferably, the compensated line further includes PMOS, the second constant-current source, phase inverter and the 2nd NMOS, wherein:
The grid of the PMOS is connected with the first end of the capacitance, the source electrode of the PMOS respectively with second constant current
The drain electrode of the output terminal in source and the 2nd NMOS connects, the grounded drain of the PMOS;
The source electrode of 2nd NMOS is connected with the input terminal of first constant-current source, the grid of the 2nd NMOS and institute
State the output terminal connection of phase inverter;
The input terminal of the phase inverter is connected with the signal output part of the signal generator.
Preferably, the compensated line further includes the 3rd NMOS and comparator, wherein:
The drain electrode of 3rd NMOS is connected with the first end of the capacitance, the source electrode and described first of the 3rd NMOS
The drain electrode connection of NMOS, the grid of the 3rd NMOS are connected with the output terminal of the comparator;
The normal phase input end of the comparator is connected with the inverting input of the amplifier, the comparator it is anti-phase defeated
Enter end to be connected with the normal phase input end of the amplifier.
Preferably, the buffer is voltage follower.
Preferably, the adjustable resistance is the 4th NMOS, then the adjustable resistance first end is the leakage of the 4th NMOS
Pole;The adjustable resistance second end is the source electrode of the 4th NMOS, and the control terminal of the adjustable resistance is the 4th NMOS
Grid.
Preferably, the duty cycle of the pulse is 1/100.
Preferably, the size of the capacitance is 15PF.
Present invention also offers a kind of Switching Power Supply, including the line compensation circuit described in any of the above-described.
The present invention provides a kind of line compensation circuit, including amplifier, adjustable resistance, first resistor, second resistance, electric current
Mirror and buffer, further include diode, capacitance, the first NMOS, the first constant-current source and signal generator, the anode of diode is with putting
The output terminal connection of big device, the cathode of diode respectively the drain electrode with the first NMOS, the control terminal of adjustable resistance and capacitance the
One end connects;The second end ground connection of capacitance;The source electrode of first NMOS is connected with the input terminal of the first constant-current source, the grid of the first NMOS
The signal output part of pole and signal generator connects;The output head grounding of first constant-current source;Signal amplifier transmitting signal be
Pulse.
When the present invention is applied in Switching Power Supply, when output current switches to zero load by being fully loaded with, secondary sampler voltage
Meeting rapid decrease, while capacitance can discharge, since diode has the characteristics that reversely cut-off, so capacitance can pass through the first constant current
Discharge in source;First constant-current source is controlled by the first NMOS, has minimum CLK by designing the pulse for sending signal generator
Duty cycle, and then make the first constant-current source that there is minimum discharge current, the discharge rate of capacitance is reduced, delays the terminal voltage of capacitance
Slow to reduce, also therefore reference voltage also can be reduced slowly, so that the voltage of feedback pin FB slowly declines, make feedback pin FB
Voltage be only somewhat below standby threshold.When output current switches to full load again by zero load, the voltage of feedback pin FB can be with
Standby threshold is rapidly increased to, so as to alleviate the undershoot of output voltage significantly.
The present invention provides a kind of Switching Power Supply for including line compensation circuit, the stability of Switching Power Supply is improved.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of structure diagram of Switching Power Supply;
Fig. 2 is a kind of structure diagram of line compensation circuit in the prior art;
Fig. 3 is the output waveform figure of the corresponding each signal of Fig. 2 center line compensation circuits;
Fig. 4 is a kind of structure diagram of line compensation circuit provided by the invention;
Fig. 5 is the output waveform figure of the corresponding each signal of Fig. 4 center line compensation circuits;
Fig. 6 is the structure diagram of another line compensation circuit provided by the invention.
Embodiment
The present invention provides a kind of line compensation circuit, the undershoot of reduction output voltage during use;This hair
Bright to additionally provide a kind of Switching Power Supply for including above-mentioned line compensation circuit, its stability improves when in use.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without making creative work, belong to the scope of protection of the invention.
Embodiment one
Fig. 4 and Fig. 5 are refer to, Fig. 4 is a kind of structure diagram of line compensation circuit provided by the invention, and Fig. 5 is in Fig. 4
The output waveform figure of the corresponding each signal of line compensation circuit, the line compensation circuit are applied to Switching Power Supply, the line compensation circuit bag
Include:
Amplifier 401, adjustable resistance 404, first resistor 409, second resistance 410, current mirror 408 and buffer 411, put
The normal phase input end of big device 401 is connected with secondary sampler voltage;The first end of adjustable resistance 404 and the input terminal of current mirror 408
Connection, the second end of adjustable resistance 404 are connected with the first end of first resistor 409 and the inverting input of amplifier 401 respectively;
The second end ground connection of first resistor 409;The output terminal of current mirror 408 is connected with the first end of second resistance 410, its common port is defeated
Go out reference voltage;The second end of second resistance 410 is connected with the output terminal of buffer 411;The input terminal of buffer 411 and fixation
Reference voltage connects;The line compensation circuit further includes diode 402, capacitance 403, the first NMOS 405,406 and of the first constant-current source
For the signal generator 407 of output pulse signal, wherein:
The anode of diode 402 is connected with the output terminal of amplifier 401, the cathode of diode 402 respectively with the first NMOS
405 drain electrode, the control terminal of adjustable resistance 404 are connected with the first end of capacitance 403;
The second end ground connection of capacitance 403;
The source electrode of first NMOS 405 is connected with the input terminal of the first constant-current source 406, the grid and letter of the first NMOS 405
The signal output part connection of number generator 407;
The output head grounding of first constant-current source 406.
Specifically, the present invention is applied to Switching Power Supply, when output current switches to zero load by being fully loaded with, such as Fig. 5 institutes
Show, output current is reduced rapidly to zero, due to the change synchronous with output current of secondary sampler voltage, so secondary sampler voltage
It can reduce rapidly, it is necessary to illustrate, due to the presence of capacitance 403, reference voltage no longer changes with secondary sampler voltage synchronous,
But change synchronous with 403 terminal voltage of capacitance.Capacitance 403 will discharge while secondary sampler voltage reduces rapidly, and because two
Pole pipe 402 has the characteristics that reversely cut-off, therefore capacitance 403 can only be discharged by the first constant-current source 406, and capacitance 403 is put
Electric speed directly influences the speed of 403 terminal voltage of capacitance decline, so as to influence the fall off rate of reference voltage.If benchmark
Fall off rate of the fall off rate of voltage less than the output voltage of Switching Power Supply, it is possible to slow down feedback to a certain extent and introduce
The voltage decreasing rate of FB, and then alleviate the undershoot of output voltage.
It is understood that in order to obtain the fall off rate of sufficiently low reference voltage, can start with terms of two, a side
Face, the capacitance of capacitance 403 are sufficiently large;On the other hand, the discharge rate of capacitance 403 is slow enough, that is, the electric discharge electricity of capacitance 403
Flow sufficiently small.But due to the limitation (such as volume of capacitance 403) of actual conditions, the capacitance of capacitance 403 can not possibly be too big,
Therefore, can go to consider from the angle of discharge current on the basis of the capacitance of capacitance 403 is certain.
It can be seen from the above, the discharge current of very little can be made it have, so that can by controlling the first constant-current source 406
So that the discharge current of capacitance 403 reduces, and then reduces the discharge rate of capacitance 403, and reduce under 403 terminal voltage of capacitance
Reduction of speed rate, reduces the fall off rate of reference voltage, and the voltage for further slowing down feedback pin FB declines situation, may finally delay
Solve the undershoot of output voltage.
Specifically, the first constant-current source 406 is subject to the control of the first NMOS 405, when the grid of the first NMOS 405 is high electricity
First constant-current source 406 could turn on when flat, and capacitance 403 could discharge;The signal output part of signal generator 407 and first
The grid connection of NMOS 405, the pulse exported by setting signal generator 407 can make it have minimum CLK duty cycles
Duty, such as the discharge current of the first constant-current source 406 is Id, then it is obtained with the minimum discharge current of capacitance 403
Idischarge (Idischarge=Id × duty), the fall off rate of 403 terminal voltage of capacitance will reduce so that reference voltage
Fall off rate also and then reduces, and then the decline of the voltage of feedback pin FB is become slow, the voltage of final feedback pin FB
Only it is somewhat below standby threshold (electricity of the voltage of feedback pin FB than feedback pin FB of the prior art under equal conditions at this time
Pressure is high).
On the basis of the above, output current switches to full load again by zero load, and output current can raise rapidly, secondary sampler
Voltage also can synchronously change, and the voltage of feedback pin FB can also rise at this time, since the voltage of feedback pin FB is only somewhat below
Standby threshold, so the voltage of feedback pin FB can be rapidly increased to more than standby threshold.
The present invention provides a kind of line compensation circuit, including amplifier, adjustable resistance, first resistor, second resistance, electric current
Mirror and buffer, further include diode, capacitance, the first NMOS, the first constant-current source and signal generator, the anode of diode is with putting
The output terminal connection of big device, the cathode of diode respectively the drain electrode with the first NMOS, the control terminal of adjustable resistance and capacitance the
One end connects;The second end ground connection of capacitance;The source electrode of first NMOS is connected with the input terminal of the first constant-current source, the grid of the first NMOS
The signal output part of pole and signal generator connects;The output head grounding of first constant-current source;Signal amplifier transmitting signal be
Pulse.
When the present invention is applied in Switching Power Supply, when output current switches to zero load by being fully loaded with, secondary sampler voltage meeting
Rapid decrease, while capacitance can discharge, since diode has the characteristics that reversely cut-off, so capacitance can pass through the first constant-current source
Electric discharge;First constant-current source is controlled by the first NMOS, by setting the pulse for sending signal generator that there is minimum CLK to account for
Empty ratio, and then make the first constant-current source that there is minimum discharge current, the discharge rate of capacitance is reduced, makes the terminal voltage of capacitance slow
Reduce, also therefore reference voltage also can be reduced slowly, so that the voltage of feedback pin FB slowly declines, make feedback pin FB's
Voltage is only somewhat below standby threshold.When output current switches to full load again by zero load, the voltage of feedback pin FB can be fast
Speed rises to standby threshold, so as to alleviate the undershoot of output voltage significantly.
Embodiment two
It refer to Fig. 6, Fig. 6 is the structure diagram of another line compensation circuit provided by the invention, the line compensation circuit
On the basis of embodiment one:
As preference, compensated line further includes PMOS 414, the second constant-current source 413,415 and the 2nd NMOS of phase inverter
412, wherein:
PMOS 414 is connected with the first end of capacitance 403, the source electrode output with the second constant-current source 413 respectively of PMOS 414
End is connected with the drain electrode of the 2nd NMOS 412, the grounded drain of PMOS 414;The source electrode and the first constant-current source of 2nd NMOS 412
406 input terminal connection, the grid of the 2nd NMOS 412 are connected with the output terminal of phase inverter 415;The input terminal of phase inverter 415 with
The signal output part connection of signal generator 407.
It should be noted that when the first NMOS 405 is disconnected, the input voltage of the first constant-current source 406 is reduced to 0, when first
The discharge current Id that NMOS 405 turns on the first constant-current source of moment 406 can become larger, until the input voltage of the first constant-current source 406 surpasses
Its minimum operating voltage (about 400mV) is crossed, so as to cause the actual discharge electric current of capacitance 403 to become larger, makes electricity to a certain extent
Hold 403 velocity of discharge increase.
In order to make the discharge current Id of the first constant-current source 406 stabilizations, it is necessary to which so that the input voltage of the first constant-current source 406 is steady
It is fixed.In order to achieve this, increase PMOS 414, the second constant-current source 413, anti-in line compensation circuit of the application in embodiment one
415 and the 2nd NMOS 412 of phase device.Wherein, PMOS 414 plays clamping action, 413 electric current of the second constant-current source as source class follower
More than the first constant-current source 406.When the grid input low level of the first NMOS 405, the first NMOS 405 is disconnected, and signal is sent out at this time
Raw device 407 is input to being turned on for high level, the 2nd NMOS 412 for 412 grids of the 2nd NMOS by phase inverter 415, therefore, the
The output terminal of two constant-current sources 413 is connected with the input terminal of the first constant-current source 406, since the clamping action of PMOS 414, first is permanent
The magnitude of voltage of the input terminal in stream source 406 can keep stable, all the time more than its minimum operating voltage, and then make the first constant-current source
406 discharge current Id maintains to stablize, so the discharge current of capacitance 403 can also remain stable, has capacitance 403 and stablizes
, less discharge rate.
As preference, compensated line further includes the 2nd NMOS 412 and comparator 418, wherein:
The drain electrode of 2nd NMOS 412 is connected with the first end of capacitance 403, the source electrode and the first NMOS of the 2nd NMOS 412
405 drain electrode connection, the grid of the 2nd NMOS 412 are connected with the output terminal of comparator 418;The normal phase input end of comparator 418
It is connected with the inverting input of amplifier 401, the inverting input of comparator 418 is connected with the normal phase input end of amplifier 401.
When the load increases, capacitance 403 charges, since the grid by the first NMOS 405 connects with signal generator 407
Connect, it is possible that have pulse transmits electric charge by the coupling of the gate capacitance of the first NMOS 405 to capacitance 403, so that
Obtain in capacitance 403 and introduce interference signal.In order to reduce the generation of the above situation, set between 403 and the first NMOS 405 of capacitance
The 2nd NMOS 412 and comparator 418 have been put, has only just allowed capacitance 403 to discharge in the case where loading reduction.
Specifically, the normal phase input end of comparator 418 is connected with the inverting input of amplifier 401, comparator 418 it is anti-
Phase input terminal is connected with the normal phase input end of amplifier 401.When the load increases, secondary sampler voltage increase, comparator 418
The voltage of inverting input is more than the normal phase input end voltage of comparator 418, so comparator 418 exports low level, and then makes
The 2nd NMOS 412 is obtained to disconnect;And when the load decreases, secondary sampler voltage reduces, the electricity of the inverting input of comparator 418
Pressure is less than the normal phase input end voltage of comparator 418, the output high level of comparator 418, so that the 2nd NMOS 412 is turned on,
Capacitance 403 realizes electric discharge.So the 2nd NMOS412 and comparator 418 in line compensation circuit provided in an embodiment of the present invention can
Only just allow capacitance 403 to discharge in the case where loading reduction to realize, and then reduce in capacitance 403 and introduce interference signal
Possibility.
As preference, buffer 411 is voltage follower.
As preference, adjustable resistance 404 is the 4th NMOS, then 404 first end of adjustable resistance is the drain electrode of the 4th NMOS;
404 second end of adjustable resistance is the source electrode of the 4th NMOS, and the control terminal of adjustable resistance 404 is the grid of the 4th NMOS.
As preference, the duty cycle of pulse is 1/100.
Certainly, the duty cycle of pulse not only could be provided as 1/100, or other suitable numerical value, the present invention are real
Apply example not to be particularly limited herein, can achieve the object of the present invention.
As preference, the size of capacitance 403 is 15PF
Can also be other suitable numerical value it should be noted that the size of capacitance 403 can be not only 15PF, this hair
Bright embodiment is not particularly limited herein, can be determined according to actual conditions.
Present invention also offers a kind of Switching Power Supply, which includes the line compensation circuit described in above-described embodiment.
It should be noted that the introduction for the line compensation circuit in Switching Power Supply provided by the invention refer to above-mentioned electricity
Road embodiment, details are not described herein by the present invention.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide scope caused.