Summary of the invention
Because foregoing problems, one of the object of the invention is to provide a kind of current detection circuit, can reduce the power consumption of current detecting.
Another purpose of the present invention is to provide a kind of current detection circuit, can be made of the small circuit unit of size.
Another object of the present invention is to provide a kind of current detection circuit, can improve the operating speed of current detecting.
The invention provides a kind of current detection circuit, replace resistance in series and operational amplifier commonly used.The inventor at first observes when the side switch conducting, the electric current of the side switch of flowing through equal the to flow through electric current of inductance, and the electric current of this side switch of flowing through (is conducting resistance R between drain-source for the side switch channel resistance
Ds (ON)) two ends cause a potential difference (PD).Therefore, directly detect the potential difference (PD) at this side switch channel resistance two ends according to current detection circuit of the present invention, can obtain the detection current value linear by means of the voltage/current conversion subsequently, to be effectively applied to the FEEDBACK CONTROL of current-mode with inductive current.Owing to need not use resistance in series and complex calculations amplifier according to current detection circuit of the present invention, so avoid huge, and operating speed reduction or the like the shortcoming of the caused power consumption of common technology, size.In addition, the operation and the side switch of foundation current detection circuit of the present invention start or stop simultaneously, further save the power consumption of current detecting.
According to one aspect of the present invention, a kind of current detection circuit is provided, comprise a voltage detection unit, a reference current generation unit and a converting unit.Voltage detection unit produces a detectable voltage signals, the potential difference (PD) that electric current caused that on behalf of a desire, it detect.The reference current generation unit produces one first reference current and one second reference current.This first with this second reference current between become one first linear relationship.Converting unit is coupled between this voltage detection unit and this reference current generation unit.In response to this detectable voltage signals and this first reference current, converting unit is determined one first operating voltage.In response to this first operating voltage and this second reference current, converting unit is determined one second operating voltage and a switching current.This second operating voltage equals this first operating voltage in fact.Deduct at least this second reference current by means of this switching current and produce a sensed current signal.Become one second linear relationship between this sensed current signal and the electric current that this desire detects.
Preferably, this current detection circuit also comprises a Voltage Feedback control module, is coupled in this converting unit, and the variation of this first operating voltage is reflected on this second operating voltage.
Preferably, this current detection circuit also comprises the accurate adjustment unit in an electric current position, is coupled in this converting unit or this Voltage Feedback control module, in order to adjust a direct current electric current position standard of this sensed current signal.
According to another aspect of the present invention, a kind of electric current detecting method is provided, comprise the following step: produce a detectable voltage signals, the potential difference (PD) that electric current caused that on behalf of a desire, it detect.Produce one first reference current.Produce one second reference current, make this first with this second reference current between become one first linear relationship.In response to this detectable voltage signals and this first reference current and determine one first operating voltage.Corresponding to this first operating voltage and this second reference current and determine one second operating voltage and a switching current, make this second operating voltage equal this first operating voltage in fact.Produce a sensed current signal by means of this switching current deducts at least this second reference current, make to become one second linear relationship between this sensed current signal and electric current that this desire detects.
Preferably, this electric current detecting method also comprises a step: by means of a Voltage Feedback control variation of this first operating voltage is reflected on this second operating voltage.
Preferably, this electric current detecting method also comprises a step: a direct current electric current position standard of adjusting this sensed current signal.
Embodiment
Explanation hereinafter and accompanying drawing will make aforementioned and other purpose of the present invention, feature, more obvious with advantage.Now describe the preferred embodiment of the present invention of bright foundation with reference to the accompanying drawings in detail.
Fig. 2 shows the circuit block diagram that is provided with according to the synchronous suitching type DC/DC electric pressure converter of current detection circuit 13 of the present invention.Side switch HS is connected in input voltage source V
InAnd between node A, side switch LS then is connected between node A and ground potential.Inductance L is connected between node A and exit point.The inventor at first observes when side switch HS conducting, the channel current I of the side switch of flowing through HS
HSAlso equal to be supplied to the electric current I of inductance L
L, and this side switch channel current I
HSFor side switch channel resistance R
HSTwo ends cause a potential difference (PD):
V
in-V
sen=I
HS·R
HS
Therefore, directly detect this side switch channel resistance R according to current detection circuit 13 of the present invention
HSPotential difference (PD) (the V at two ends
In-V
Sen), by means of converting thereof into relevant treatment such as voltage/current, can obtain and inductive current I subsequently
LLinear detection electric current I
SenBecause foundation current detection circuit 13 of the present invention need not use the resistance in series R in the common technology
sWith complex calculations amplifier 12, so can realize reducing power consumption, dwindle overall dimensions and improve the advantage of operating speed.In addition, the detecting operation and the side switch HS of foundation current detection circuit 13 of the present invention start or stop simultaneously, further save the power consumption of current detecting.
Fig. 3 shows the detailed circuit diagram according to the current detection circuit 13-1 of first embodiment of the invention.Current detection circuit 13-1 comprises a voltage detection unit (P1, P2), a reference current generation unit (I
Bias, N1, N2, N3) an and converting unit (P3, P4, P5, P6).
Particularly, voltage detection unit is in order to detect side switch channel resistance R
HSThe potential difference (PD) at two ends.Suppose that the side switch channel resistance is R
HSAnd the channel current of the side switch of flowing through HS is I
HS, potential difference (PD) V between the drain electrode of side switch HS and source electrode then
DsCan be expressed as:
V
ds=V
in-v
sen=I
HS·R
HS
In the embodiment shown in fig. 3, voltage detection unit is formed by PMOS transistor P1 and P2.The source electrode of transistor P1 is connected in input voltage source V
In, its grid is connected to the source electrode (being Node B) that ground potential and its drain electrode are connected in transistor P2.The grid of transistor P2 is connected to the grid of side switch HS, and its drain electrode is connected to the drain electrode of side switch HS.When upside drive signal HD made side switch HS conducting, transistor P1 and P2 all operated in three polar regions (TriodeRegion), therefore were equivalent to a channel resistance respectively.The channel resistance of supposing transistor P1 is R
P1And the channel resistance of transistor P2 is R
P2, because transistor P1 and P2 are as the resitstance voltage divider of connecting, so the voltage V that Node B (being dividing point) is located
BCan be expressed as:
In order to prevent the operation of original circuit that current detection circuit 13-1 influence of the present invention is detected, voltage detection unit is designed to have high-impedance behavior.Therefore, the channel resistance R of transistor P1 and P2
P1With R
P2Be designed to much larger than the channel resistance R of side switch HS
HS, that is:
R
P1+R
P2>>R
HS
In the case, flow through the electric current of transistor P1 and P2 compared to side switch channel current I
HSAlmost can ignore.So, at side switch HS in conduction period, inductive current I
LStill can be suitably by side switch channel current I
HSRepresentative is not subjected to influencing of current detection circuit 13-1, that is:
I
L≈I
HS
In other words, though in fact detect side switch channel current I according to current detection circuit 13-1 of the present invention
HSBut, but on circuit application substantial equivalence in detecting inductive current I
L
The reference current generation unit is in order to supply the first reference current I
R1With the second reference current I
R2, the first reference current I wherein
R1With the second reference current I
R2Between the being aligned sexual intercourse, that is:
I
r1=K·I
r2
K is the proportionality constant more than or equal to 1 herein.In the embodiment shown in fig. 3, the reference current generation unit comprises a bias current source I
BiasAnd nmos pass transistor N1, N2 and N3.The leakage drain of transistor N1 is connected in bias current source I
Bias, its grid drain electrode and its source electrode of being connected in self be connected in ground potential.Grid, its source electrode that the grid of transistor N2 is connected in transistor N1 is connected in ground potential and its drain electrode in order to allow the first reference current I
R1Discharging (Sinking) or circulation (Flowing).Grid, its source electrode that the grid of transistor N3 is connected in transistor N1 is connected in ground potential and its drain electrode in order to allow the second reference current I
R2Discharging or circulation.Transistor N1, N2, with N3 form a multiple output stage current-mirror structure, wherein transistor N2 and N3 are respectively independently electric current output stage.If it is mutually the same that the structure of transistor N2 and N3 and made become, only its grid breadth length ratio (W/L) is designed to satisfy following relational expression:
(W/L)
N2=K·(W/L)
N3
Reference current I then
R1With the second reference current I
R2Between can to obtain desired linear relationship as follows:
Converting unit system is coupled between voltage detection unit and reference current generation unit, in order to based on first and second reference current I
R1With I
R2And with detectable voltage signals V that voltage detection unit produced
BConvert desired sensed current signal I to
SenIn the embodiment shown in fig. 3, converting unit comprises PMOS transistor P3, P4, P5 and P6.The source electrode of transistor P3 is connected in Node B, and its grid is connected in ground potential, and its drain electrode is connected in node C.Therefore, transistor P3 operates in three polar regions, and its effect is equivalent to a channel resistance R
P3The source electrode of transistor P4 is connected in input voltage source V
In, its grid is connected in ground potential, and its drain electrode is connected in node D.Therefore, transistor P4 operates in three polar regions, and its effect is equivalent to a channel resistance R
P4In addition, the source electrode of transistor P5 is connected in node C, and the source electrode of transistor P6 then is connected in node D.The grid of transistor P5 and P6 interconnects, and the grid of transistor P6 more is connected to the drain electrode of itself.Therefore, transistor P5 and P6 constitute a current-mirror structure.The drain electrode of transistor P5 is connected in the drain electrode of transistor N2, in order to allow the first reference current I
R1Transistor P3 and P5 flow through.The drain electrode of transistor P6 is connected in the drain electrode of transistor N3, in order to allow the second reference current I
R2Transistor P6 flows through.
Because first and second reference current I
R1With I
R2Between have the linear relationship of proportionality constant K, so the grid breadth length ratio (W/L) of transistor P5 and P6 must be designed to satisfy following relational expression (supposing that the structure of transistor P5 and P6 and made become mutually the same) accordingly, to allow first and second reference current I
R1With I
R2Circulation smoothly:
(W/L)
P5=K·(W/L)
P6
Because the first reference current I
R1So the transistor P3 that flows through is the current potential V of node C
CCan be expressed as:
Now suppose a switching current I
tTransistor P4, then the current potential V of node D flow through
DCan be expressed as:
V
D=V
in-I
t·R
P4
As previously mentioned, because transistor P5 and P6 are coupled into current-mirror structure, and first and second reference current I that is supplied from transistor N2 and N3
R1With I
R2The breadth length ratio (W/L) that also cooperates transistor P5 and P6 accordingly
P5With (W/L)
P6So, the gate source voltage across poles V of transistor P5
GS (P5)Gate source voltage across poles V with transistor P6
GS (P6)Operate in the state that is equal to each other.In the case, because the grid of transistor P5 and P6 intercouples, so the source voltage of transistor P5 (is the voltage V of node C
C) with the source voltage of transistor P6 (be the voltage V of node D
D) state locating to be equal to each other:
Therefore, the sensed current signal I that is exported from node D
SenPromptly as follows:
I
sen=I
t-I
r2
=Ω·I
HS+(Ф-1)·I
r2
Because proportionality constant Ω and the Ф and the second reference current I
R2All belong to predefined circuit characteristic parameter when circuit design, its value can obtain via simple calculating, so can export sensed current signal I according to current detection circuit 13-1 of the present invention effectively based on aforesaid equation
Sen, itself and side switch channel current I
HSBetween present a linear relationship.Because side switch channel current I
HSInductive current I no better than
LSo, realize accurately measuring inductive current I according to current detection circuit 13-1 of the present invention
LPurpose.
In one embodiment of this invention, the channel resistance R of transistor P3 and P4
P3With R
P4Can be set at and be equal to each other, and set transistor P5 and P6 and have identical breadth length ratio and make K=1, then the value of proportionality constant Ф promptly becomes 1.In the case, sensed current signal I
SenFurther be simplified to and directly be proportional to side switch channel current I
HS:
I
sen=Ω·I
HS
Fig. 4 shows the detailed circuit diagram according to the current detection circuit 13-2 of second embodiment of the invention.Comparison diagram 3 and 4 as can be known, second embodiment is different from the first embodiment part and is that the current detection circuit 13-2 according to second embodiment also is provided with a Voltage Feedback control module (P7), in order to rapid reflection detectable voltage signals V
BVariation, and then guarantee the stable operation of integrated circuit and the sensed current signal I that is produced
SenCorrectness.
In second embodiment shown in Figure 4, the Voltage Feedback control module comprises a PMOS transistor P7, and its grid is connected in the drain electrode of transistor P5, and its source electrode is connected in the source electrode of transistor P6, and it drains in order to export desired sensed current signal I
SenAs side switch channel current I
HSWhen increasing (or minimizing), the voltage V of node A
SenDecrease (or rising), and then be reflected in detectable voltage signals V
BReduction (or raise).As a result, the source voltage of transistor P5 (is the voltage V of node C
C) reduce (or rising) with drain voltage synchronously with the identical change degree.By means of the FEEDBACK CONTROL that transistor P7 is provided, the variable quantity of the drain voltage of transistor P5 causes that rapidly the source voltage of transistor P6 (is the voltage V of node D
D) variation of identical size takes place.Therefore, the voltage V of node D
DThe voltage V that can reflect node C rapidly
CVariation, by means of keeping the relation that both equate, guarantee the stable operation of integrated circuit and the sensed current signal I that is produced
SenCorrectness.
Fig. 5 shows the detailed circuit diagram according to the current detection circuit 13-3 of third embodiment of the invention.Comparison diagram 4 and 5 as can be known, the 3rd embodiment is different from the second embodiment part and is that the current detection circuit 13-3 according to the 3rd embodiment also is provided with the accurate adjustment unit in an electric current position (N4), in order to adjust sensed current signal I
SenDC current position standard, thereby predetermined current compensation (Offset), the elasticity that can promote circuit design and application are provided.
In the 3rd embodiment shown in Figure 5, the accurate adjustment unit in electric current position comprises a nmos pass transistor N4, and its grid is connected in the grid of transistor N1, and its source electrode is connected in ground potential, and its drain electrode is connected in the drain electrode (being node E) of transistor P7, adjusts electric current I in order to allow one
A1Discharging or circulation.Therefore, the sensed current signal I that is exported from node E
SenThe DC current position accurate according to adjusting electric current I
A1And change:
I
sen=I
t-I
r2-I
a1
=Ω·I
HS+(Ф-1)·I
r2-I
a1
If adjustment electric current I
A1Set for and equal (Ф-1) * I
R2, sensed current signal I then
SenBe simplified to and directly be proportional to side switch channel current I
HS:
I
sen=Ω·I
HS
Fig. 6 shows the detailed circuit diagram according to the current detection circuit 13-4 of fourth embodiment of the invention.Comparison diagram 4 and 6 as can be known, the 4th embodiment is different from the second embodiment part and is that the current detection circuit 13-4 according to the 4th embodiment also is provided with the accurate adjustment unit in an electric current position (N5), in order to adjust sensed current signal I
SenDC current position standard, thereby provide predetermined current compensation, the elasticity that can promote circuit design and application.
In the 4th embodiment shown in Figure 6, the accurate adjustment unit in electric current position comprises a nmos pass transistor N5, and its grid is connected in the grid of transistor N1, and its source electrode is connected in ground potential, and its drain electrode is connected in the source electrode (being node D) of transistor P7, adjusts electric current I in order to allow one
A2Discharging or circulation.Therefore, the sensed current signal I that exports from the drain electrode of transistor P7
SenThe DC current position will definitely be according to adjusting electric current I
A2And change:
I
sen=I
t-I
r2-I
a2
=Ω·I
HS+(Ф-1)·I
r2-I
a2
If adjustment electric current I
A2Set for and equal (Ф-1) I
R2, sensed current signal I then
SenBe simplified to and directly be proportional to side switch channel current I
HS:
I
sen=Ω·I
HS
In sum, directly detect the potential difference (PD) of side switch channel resistance, can obtain the sensed current signal linear by means of the voltage/current conversion subsequently with inductive current according to the present invention's current detection circuit.Owing to need not use resistance in series and complex calculations amplifier according to current detection circuit of the present invention, the existing size of historical facts or anecdotes is dwindled the advantage that improves with operating speed.In addition, the detecting operation system of foundation current detection circuit of the present invention starts or stops simultaneously with side switch, further saves the power consumption of current detecting.
Though the present invention is illustrated as illustration by means of preferred embodiment, should be appreciated that: the present invention does not limit the embodiment disclosed herein.On the contrary, this invention is intended to contain tangible to those skilled in the art various modifications and similar configuration.Therefore, the scope of application claim should be according to the widest annotation, and this type of is revised and similar configuration to contain all.