Utility model content
In view of this, the purpose of this utility model is to provide a kind of current detection circuit and switching circuit, to solve
The problem of current sampling resistor is of high cost in the prior art, inefficiency.
The technical solution of the utility model is to provide a kind of current detection circuit of Switching Power Supply, the switch electricity
Source includes driving circuit and switching power circuit, and the switching power circuit includes power switch pipe and rectifying tube, the power
The common point of switching tube and rectifying tube is switching node, and including inductive current average detection circuit, the inductive current is averaged
The electric current when power switch pipe or the rectifying tube is connected in value detection circuit is averaged, which characterizes the electricity
The average value of inducing current, the inductive current average detection circuit include first switch pipe,
The control terminal and first end of the first switch pipe respectively with the power switch pipe to be detected or the rectification
The control terminal of pipe is connected with first end, and the second end of the first switch pipe is first node, is opened in the power to be detected
When closing pipe or rectifying tube conducting, the average value that the first node voltage is equal to the node voltage is adjusted, it is described
The electric current of first switch pipe characterizes the inductive current average value.
As optional, the inductive current average detection circuit further includes second switch pipe and control module, and described
The second end of one switching tube is connected with the first end of the second switch pipe, and the control terminal of the second switch pipe is connected to described
The output terminal of control module, the control module is in power switch pipe conducting to be detected, by adjusting its output electricity
Press the average value of the voltage so as to which the voltage of the first node be controlled to be equal to the switching node.
As optional, the inductive current average detection circuit further includes mirror image switch pipe, the mirror image switch pipe and
The second switch is tubular to be mirrored into circuit, and the electric current of the first switch pipe is carried out mirror image, and the electric current that mirror image obtains is made
Output current for the inductive current average detection circuit.
As optional, the control module includes the first amplifier and the first capacitance,
By first capacitance connection to reference ground or reference power source, to be detected is described for the output of first amplifier
When power switch pipe or the rectifying tube are connected, the first end and second end of first amplifier receives switching node and the respectively
When the voltage of one node, the power switch pipe to be detected or the rectifying tube turn off, the output terminal electricity of first amplifier
Pressure remains unchanged, and the output of first amplifier is the output of the control module.
As optional, when the Switching Power Supply is BUCK reduction voltage circuits, described in the average value characterization of the inductive current
The output current of Switching Power Supply;When the Switching Power Supply is BOOST booster circuits, the average value characterization institute of the inductive current
State the input current of Switching Power Supply.
As optional, ratio module is further included,
The ratio module receives the output of the inductive current average detection circuit, is multiplied by input ratio and is characterized
The input current of the Switching Power Supply;Or export ratio is multiplied by, obtain characterizing the output current of the Switching Power Supply,
The input ratio is input power pipe turn-on time divided by switch periods, and the export ratio is output power
Pipe turn-on time divided by switch periods,
The input terminal of the Switching Power Supply is connected to the inductance or/and the Switching Power Supply by the input power pipe
Output terminal be connected to the inductance by the output power pipe.
Another technical solution of the utility model is to provide a kind of electric current detecting method of Switching Power Supply, described to open
Powered-down source includes driving circuit and switching power circuit, and the switching power circuit includes power switch pipe and rectifying tube, described
The common point of power switch pipe and rectifying tube is switching node, the electric current when power switch pipe or the rectifying tube are connected
It is averaged, which characterizes the average value of the inductive current, and the control terminal and first end of first switch pipe are respectively with treating
The power switch pipe of detection or the control terminal of the rectifying tube are connected with first end, and the second end of the first switch pipe is
First node when the power switch pipe to be detected or the rectifying tube are connected, adjust the first node voltage and is equal to
The average value of the node voltage, the electric current of the first switch pipe characterize the inductive current average value.
As optional, the second end of the first switch pipe is connected with the first end of the second switch pipe, to be detected
The power switch pipe conducting when, by adjusting the control terminal voltage of second switch pipe so as to control the electricity of the first node
Pressure is equal to the average value of the voltage of the switching node.
As optional, the electric current of the first switch pipe is carried out mirror image by mirror image circuit, and the electric current that mirror image obtains is as institute
State the output current of inductive current average detection circuit.
As optional, when the Switching Power Supply is BUCK reduction voltage circuits, described in the average value characterization of the inductive current
The output current of Switching Power Supply;When the Switching Power Supply is BOOST booster circuits, the average value characterization institute of the inductive current
State the input current of Switching Power Supply.
The another technical solution of the utility model is to provide a kind of switching circuit.
Using the circuit structure and method of the utility model, compared with prior art, has the following advantages:It does not need to sample
The i.e. detectable electric current of resistance, reduces peripheral circuit cost, improves switch power supply system efficiency.
Specific embodiment
The preferred embodiment of the utility model is described in detail, but the utility model is not merely below in conjunction with attached drawing
It is limited to these embodiments.The utility model covers any replacement made in the spirit and scope of the utility model, modification, equivalent
Method and scheme.
In order to which the public is made to have thorough understanding to the utility model, in following the preferred embodiment in the utility model specifically
Understand concrete details, and description without these details can also understand that this practicality is new completely for a person skilled in the art
Type.
The utility model is more specifically described by way of example with reference to attached drawing in the following passage.It should be noted that attached drawing
Using more simplified form and using non-accurate ratio, only to it is convenient, lucidly aid in illustrating the utility model
The purpose of embodiment.
The utility model provides a kind of current detection circuit of Switching Power Supply, and the Switching Power Supply includes driving circuit 200
With switching power circuit 100, the switching power circuit 100 include power switch pipe and rectifying tube, the power switch pipe and
The common point of rectifying tube is switching node SW, including inductive current average detection circuit 300, the inductive current average value inspection
The electric current when power switch pipe or the rectifying tube is connected in slowdown monitoring circuit 300 is averaged, which characterizes the electricity
The average value of inducing current, the inductive current average detection circuit include first switch pipe, the control of the first switch pipe
End and control terminal and first end of the first end respectively with the power switch pipe or the rectifying tube to be detected are connect, and described the
The second end of one switching tube is first node Vsense, when the power switch pipe to be detected or the rectifying tube are connected,
Adjust the average value that the first node Vsense voltages are equal to the switching node SW voltages, the electric current of the first switch pipe
Characterize the inductive current average value.
The inductive current average detection circuit further includes second switch pipe and control module, the first switch pipe
Second end is connected with the first end of the second switch pipe, and the control terminal of the second switch pipe is connected to the control module
310 output terminal, the control module 310 is in power switch pipe conducting to be detected, by adjusting its output voltage
So as to control the average value of voltage of the voltage of the first node Vsense equal to the switching node SW.
With reference to shown in figure 2 (a), power switch pipe to be detected is given as NMOS M00, and during for upper tube, inductance electricity
A kind of embodiment of levelling mean value detecting circuit 300.NMOS M31 are first switch pipe, and NMOS M32 are second switch pipe.
The grid of M00 is the grid of power switch pipe, and the drain electrode of M00 is first end, and the source electrode of M00 is second end.The grid of NMOS M31
The extremely control terminal of first switch pipe, the first end of the drain electrode of NMOS M31 for first switch pipe, the source electrode of NMOS M31 are the
The second end of one switching tube.The grid of NMOS M32 is the control terminal of second switch pipe, and the drain electrode of NMOS M32 is second switch
The first end of pipe, the source electrode of NMOS M32 are the second end of second switch pipe, are connected to reference ground.Driving circuit 200 includes upper
Tube drive circuit, upper tube drive circuit receive upper tube switching signal TON, generate upper tube drive signal VG.M00 receives upper tube driving
Signal VG.Control module 310 receives the switching signal TON of M00, the voltage signal and first node of switching node SW
The voltage signal of Vsense, when M00 is connected, by adjusting its output voltage Vb1 so as to control the first node Vsense
Voltage of the voltage equal to the switching node SW average value, the electric current of M31 or M32 characterizes the inductive current average value.
With reference to shown in figure 2 (b), power switch pipe to be detected is given as NMOS M01, and during for down tube, inductance electricity
A kind of embodiment of levelling mean value detecting circuit 300.NMOS M34 are first switch pipe, and PMOS M35 are second switch pipe.
The grid of M01 is the grid of power switch pipe, and the source electrode of M01 is first end, and the drain electrode of M01 is second end.The grid of NMOS M34
The extremely control terminal of first switch pipe, the source electrode of NMOS M34 are the first end of first switch pipe, and the drain electrode of NMOS M34 is the
The second end of one switching tube.The grid of PMOS M35 is the control terminal of second switch pipe, and the drain electrode of PMOS M35 is second switch
The first end of pipe, the source electrode of PMOS M35 are the second end of second switch pipe, are connected to reference power source VD.Driving circuit 200 wraps
Lower tube drive circuit is included, lower tube drive circuit receives down tube switching signal BON, generates upper tube drive signal VG.M01 receives down tube
Drive signal VG.Control module 310 receives the switching signal BON of M01, the voltage signal and first node of switching node SW
The voltage signal of Vsense, when M01 is connected, by adjusting its output voltage Vb2 so as to control the first node Vsense
Voltage of the voltage equal to the switching node SW average value, the electric current of M34 or M35 characterizes the inductive current average value.
The inductive current average detection circuit 300 further includes mirror image switch pipe, the mirror image switch pipe and described
Two switching tubes form mirror image circuit, and the electric current of the first switch pipe is carried out mirror image, described in the electric current conduct that mirror image obtains
The output current of inductive current average detection circuit 300.
With reference to shown in figure 2 (a), NMOS M33 form mirror image circuit for mirror image switch pipe and NMOS M32, the electricity on M33
Flow the output current for the inductive current average detection circuit 300.With reference to shown in figure 2 (b), PMOS M36 are mirror image switch
Pipe and PMOS M35 form mirror image circuit, output electricity of the electric current on M36 for the inductive current average detection circuit 300
Stream.
The control module 310 includes the first amplifier and the first capacitance, and the output of first amplifier passes through described first
Capacitance connection is to reference ground or reference power source, when the power switch pipe to be detected or the rectifying tube are connected, described first
The first end and second end of amplifier receives the voltage of switching node and first node respectively, the power switch pipe to be detected or
During the rectifying tube shutdown, the output end voltage of first amplifier remains unchanged, and the output of first amplifier is the control
The output of molding block.
With reference to shown in figure 3 (a), a kind of embodiment of the control module 310 in Fig. 2 (a) is provided.Capacitance C311's is another
End is connected to reference ground.Using upper tube Continuity signal TON as height, upper tube conducting;TON is low, and upper tube turns off to illustrate.SW is passed through
The positive input terminal that switch K311 is connected to amplifier 311 is crossed, Vsense is connected to the negative input end of amplifier 311 by switch K313,
Reference ground is connected to the positive input terminal and negative input end of amplifier 311 by switching K312 and switch K314 respectively.When TON is height
When, switch K311 and switch K313 conductings, switch K312 and switch K314 shutdowns, amplifier 311 carry out operation to SW and Vsense
Amplification;When TON is low, switch K311 and switch K313 are turned off, switch K312 and switch K314 conductings, the output of amplifier 311
Vb1 is remained unchanged.In this embodiment, it is kept, can also had by the way that two input terminals of amplifier 311 is made all to be grounded output
Others output hold mode, for example switch is directly added into the output of amplifier and capacitance, when needing output holding, it will open
Shutdown so that the output of amplifier does not have an impact capacitance voltage.
With reference to shown in figure 3 (b), a kind of embodiment of the control module 310 in Fig. 2 (b) is provided.Capacitance C313's is another
End is connected to reference power source VDD.Using down tube Continuity signal BON as height, down tube conducting;BON is low, and down tube turns off to be said
It is bright.SW is connected to the negative input end of amplifier 312 by switch K316, and Vsense is being connected to amplifier 312 just by switch K318
Input terminal, reference ground are connected to the positive input terminal and negative input end of amplifier 312 by switching K317 and switch K319 respectively.When
BON for it is high when, switch K316 and switch K318 conducting, switch K317 and switch K319 shutdown, amplifier 312 to SW and Vsense into
Row operation amplifier;When BON is low, switch K316 and switch K318 are turned off, switch K317 and switch K319 conductings, amplifier 312
Output Vb2 remain unchanged.
When the Switching Power Supply is BUCK reduction voltage circuits, the average value of the inductive current characterizes the Switching Power Supply
Output current;When the Switching Power Supply is BOOST booster circuits, the average value of the inductive current characterizes the Switching Power Supply
Input current.
The current detection circuit of Switching Power Supply further includes ratio module, and the ratio module receives the inductive current and is averaged
It is worth the output of detection circuit, is multiplied by the input current that input ratio obtains characterizing the Switching Power Supply;Or export ratio is multiplied by,
Obtain characterizing the output current of the Switching Power Supply, the input ratio is input power pipe turn-on time divided by switch week
Phase, the export ratio are output power pipe turn-on time divided by switch periods, described in the input terminal of the Switching Power Supply passes through
Input power pipe be connected to the inductance or/and the Switching Power Supply output terminal be connected to by the output power pipe it is described
Inductance.
When the Switching Power Supply is BOOST booster circuits or is BUCK-BOOST step-up/step-down circuits, rectifying tube is output
Power tube, the export ratio are rectifying tube turn-on time divided by switch periods.
When the Switching Power Supply is BUCK reduction voltage circuits, power switch pipe is input power pipe, and the input ratio is
Power switch pipe turn-on time divided by switch periods.
Refering to what is shown in Fig. 4, the circuit diagram for four switch BUCK-BOOST step-up/step-down circuits.Vin is inputted by input
Power switch pipe M03 is connected to the first end of inductance L, and the second end of inductance L is connected to output by output power switching tube M05
The first end of Vo, inductance L are connected to reference ground by M04, and second end is connected to reference ground by M06.Input ratio is power
The turn-on time divided by switch periods of switching tube M03;The turn-on time divided by switch week that export ratio is power switch pipe M05
Phase.
Refering to what is shown in Fig. 5, one embodiment for ratio module 400.The output of inductive current average detection circuit 300
Electric current Isense is connected to the first end of switch K420 by switch K410, and is connected to reference ground by capacitance C410, opens
The other end for closing K420 is connected to the grid of NMOS M410, and be connected to reference ground by capacitance C420, and the drain electrode of M410 connects
The source electrode for being connected to capacitance C410, M410 is connected to reference ground, and the grid of M420 is connected to the grid of M410, the source electrode connection of M420
To reference ground, the electric current of M420 is the output current of ratio module 400.
It is illustrated so that the ratio of ratio module 400 is rectifying tube Continuity signal divided by switch periods Ts as an example, works as rectification
When pipe is connected, switch K410 conductings;When rectifying tube turns off, switch K410 shutdowns.M410 drain electrodes receive the voltage of capacitance C410
V410.When switch K420 of short duration conductings in a cycle Ts, capacitance C410 to the of short duration electric discharges of capacitance C420, C420 keep its
One terminal voltage V420 is constant in a switch periods approximation, V420 control M410 and M420 conductings.In a switch periods Ts,
The electric current for flowing through M410 is generated by Isense, is equivalent to and the Isense electric currents in rectifying tube turn-on time are converted into a switch
Electric current in cycle T s.M420 and M410 forms mirror image circuit, and the electric current on M410 is carried out mirror image output by M420.
In this embodiment, ratio is rectifying tube turn-on time divided by switch periods, and switch K410 is connected by rectifying tube to be believed
Number control.When ratio is other schemes, the control signal of K410 is switched also mutually in requisition for modification.For example, ratio is BUCK-
Input power pipe turn-on time divided by switch periods in tetra- switching circuits of BOOST, switch K410 is by input power pipe Continuity signal
Control.
Another technical solution of the utility model is to provide a kind of electric current detecting method of Switching Power Supply, described to open
Powered-down source includes driving circuit and switching power circuit, and the switching power circuit includes power switch pipe and rectifying tube, described
The common point of power switch pipe and rectifying tube is switching node, the electric current when power switch pipe or the rectifying tube are connected
It is averaged, which characterizes the average value of the inductive current, and the control terminal and first end of first switch pipe are respectively with treating
The power switch pipe of detection or the control terminal of the rectifying tube are connected with first end, and the second end of the first switch pipe is
First node when the power switch pipe to be detected or the rectifying tube are connected, adjust the first node voltage and is equal to
The average value of the node voltage, the electric current of the first switch pipe characterize the inductive current average value.
The second end of the first switch pipe is connected with the first end of the second switch pipe, in the power to be detected
It is described so as to which the voltage of the first node be controlled to be equal to by adjusting the control terminal voltage of second switch pipe when switching tube is connected
The average value of the voltage of switching node.
The electric current of the first switch pipe is carried out mirror image by mirror image circuit, and the electric current that mirror image obtains is as the inductive current
The output current of average detection circuit.
When the Switching Power Supply is BUCK reduction voltage circuits, the average value of the inductive current characterizes the Switching Power Supply
Output current;When the Switching Power Supply is BOOST booster circuits, the average value of the inductive current characterizes the Switching Power Supply
Input current.
Ratio circuit receives the output of the inductive current average detection circuit, is multiplied by input ratio and obtains described in characterization
The input current of Switching Power Supply;Or export ratio is multiplied by, obtain characterizing the output current of the Switching Power Supply.The input ratio
Example is input power pipe turn-on time divided by switch periods, and the export ratio is output power pipe turn-on time divided by switch
Period.The input terminal of the Switching Power Supply is connected to the inductance or/and the Switching Power Supply by the input power pipe
Output terminal is connected to the inductance by the output power pipe.
The another technical solution of the utility model is to provide a kind of switching circuit.Switching circuit is depressured including BUCK
Circuit, BOOST booster circuits, BUCK-BOOST step-up/step-down circuits etc..The Switching Power Supply includes the electricity of above-mentioned Switching Power Supply
Current detection circuit.
In addition to this, although embodiment is separately illustrated and is illustrated above, it is related to the common technology in part, in this field
Those of ordinary skill apparently, can be replaced and integrate between the embodiments, be related to one of embodiment and record is not known
Content, then can refer to another embodiment on the books.
Embodiments described above does not form the restriction to the technical solution protection domain.It is any in above-mentioned implementation
Modifications, equivalent substitutions and improvements made within the spirit and principle of mode etc., should be included in the protection model of the technical solution
Within enclosing.