DC decoupled current measurement
09594097 ยท 2017-03-14
Assignee
Inventors
Cpc classification
G01R1/20
PHYSICS
H01L2221/00
ELECTRICITY
International classification
G01R1/20
PHYSICS
Abstract
A circuit arrangement for measuring a load current provided to a load via a first load terminal of a load transistor is disclosed. In accordance with one example of the invention, the circuit arrangement includes a sense transistor coupled to the load transistor to provide a sense current representing the load current at a first load terminal of the sense transistor. The first load terminals of the load and the sense transistors are at respective floating electric potentials. A floating sense circuit coupled between the load terminals of sense transistor and load transistor, at least in one mode of operation the sense circuit receives the sense current and provides a floating signal representing the sense current. A non-floating measurement circuit is coupled to the sense circuit via a DC decoupling capacitor for transferring the floating signal representing the sense current to the non-floating measurement circuit. The measurement circuit is configured to provide an output signal representing the floating signal and thus the sense current.
Claims
1. A circuit arrangement for measuring a load current provided to a load via a first load terminal of a load transistor, the circuit arrangement comprising: a sense transistor operatively coupled to the load transistor to provide a sense current representing the load current at a first load terminal of the sense transistor, wherein the first load terminals of the load and the sense transistors are at respective floating electric potentials; a floating sense circuit operatively coupled between the load terminals of the sense transistor and the load transistor, wherein at least in one mode of operation the sense circuit receives the sense current and provides a floating signal representing the sense current; a DC decoupling capacitor; and a non-floating measurement circuit operatively coupled to the sense circuit via the DC decoupling capacitor for transferring the floating signal representing the sense current to the non-floating measurement circuit, wherein the measurement circuit is configured to provide an output signal representing the floating signal and thus the sense current.
2. The circuit arrangement of claim 1, wherein the floating sense circuit and the non-floating measurement circuit are configured to transfer the floating signal by switching the DC decoupling capacitor.
3. The circuit arrangement of claim 1, wherein the floating sense circuit includes a shunt resistor conducting the sense current and switching circuitry configured to connect one terminal of the DC decoupling capacitor either to a first or to a second terminal of the shunt resistor using semiconductor switches.
4. The circuit arrangement of claim 3, wherein the measurement circuit is configured to apply a defined voltage to the DC decoupling capacitor while coupled to the first terminal of the shunt resistor and to observe a voltage swing at a low side terminal of the DC decoupling capacitor when switching the DC decoupling capacitor from the first terminal of the shunt resistor to the second terminal of the shunt resistor.
5. The circuit arrangement of claim 4, wherein the measurement circuit includes an analog-to-digital converter configured to convert the voltage swing into a digital output word.
6. The circuit arrangement of claim 1, further comprising: a digital register providing a first digital word, a current output digital-to-analog converter coupled to the sense transistor and configured to set the sense current to a current value representing the first digital word, and a comparator that is sequentially capacitively coupled to the load terminals of the load transistor and the sense transistor and is configured to compare the potentials at the load terminals, wherein, in a second mode of operation, a digital register value is iteratively varied until either a matching of the potentials at the load terminals is detected or a maximum number of iterations has been reached.
7. The circuit arrangement of claim 6, further comprising a coupling capacitor which is connectable, via a controllable switch, between a comparator input and either the load terminal of the sense transistor or the load terminal of the load transistor.
8. The circuit arrangement of claim 6, wherein the digital register is a successive approximation register.
9. The circuit arrangement of claim 6, wherein the digital register is varied dependent on a comparator output which is indicative of whether the potentials of the load terminals match or of which potential is higher.
10. The circuit arrangement of claim 9, wherein the digital register value is increased to increase the digital-to-analog-converter output current when the potential at the load terminal of the sense transistor is higher than of the load transistor, and vice versa.
11. The circuit arrangement of claim 6, wherein the mode of operation is switched dependent on the potential of the load terminal of the load transistor or the sense transistor.
12. The circuit arrangement of claim 1, wherein the mode of operation is switched dependent on the potential of the load terminal of the load transistor or the sense transistor.
13. The circuit arrangement of claim 1, wherein the sense current and the load current are DC currents.
14. A method of measuring a current of a sense transistor coupled to a load transistor, the method comprising: coupling a first terminal of a coupling capacitor to a first terminal of a shunt resistor coupled between load terminals of the load transistor and the sense transistor during a first time period; coupling the first terminal of the coupling capacitor to a second terminal of the shunt resistor during a second time period; measuring a voltage difference between a voltage of a second terminal of the coupling capacitor during the first time period and a voltage of the second terminal of the coupling capacitor during the second time period; and generating a measurement signal based on the measured voltage difference.
15. The method of claim 14, wherein generating the measurement signal comprises: applying an output of a current output digital-to analog converter to the load terminal; and updating a successive approximation register based on the measured voltage difference.
16. The method of claim 14, further comprising coupling the load terminal of the sense transistor to a reference node via a first resistor when a voltage difference between the load terminal of the load transistor and the reference node is greater than a threshold voltage.
17. The method of claim 14, wherein a DC sense current passes through the shunt resistor coupled between load terminals of the load transistor and the sense transistor, respectively, thus causing different potentials at the first and the second terminals of the shunt resistor.
18. A circuit comprising: a sensing circuit configured to be coupled to an output terminal of a load transistor via a first input terminal, and a load terminal of a sense transistor via a second input terminal, wherein the sensing circuit comprises a switching network configured to selectively couple the first input terminal and a second input terminal to an output node of the sensing circuit; and a measurement circuit having an input capacitively coupled to an output of the sensing circuit, wherein the measurement circuit is configured to provide an output value indicative of current of the sense transistor.
19. The circuit of claim 18, further comprising: a resistor coupled between the first input terminal and the second input terminal; and a first switch coupled between the resistor and the output node of the sensing circuit, wherein the first switch is configured to be closed when a voltage of the first input terminal is below a threshold voltage.
20. The circuit of claim 19, wherein: the switching network is configured to couple a first terminal of the resistor to the measurement circuit via a coupling capacitor during a first time period, and then couple a second terminal of the resistor to the measurement circuit via the coupling capacitor during a second time period; and the measurement circuit is configured to measure a voltage difference at a terminal of the coupling capacitor between the first time period and the second time period, and generate the output value indicative of current of the sense transistor based on the measured voltage difference.
21. The circuit of claim 18, further comprising: a current generator having an current output coupled to the second input terminal; the switching network is configured to couple one of the first input terminal and the second input terminal to the measurement circuit via a coupling capacitor during a first time period, and then couple the other one of the first input terminal and the second input terminal to the measurement circuit via the coupling capacitor during a second time period; and the measurement circuit is configured to measure a voltage difference at a terminal of the coupling capacitor between the first time period and the second time period, and update an output current of the current generator based on the measured voltage difference.
22. The circuit of claim 21, wherein the current generator comprises a digital to analog converter, and the measurement circuit is configured to update the output current by updating a value of a successive register having an output coupled to an input of the digital to analog converter.
23. The circuit of claim 18, wherein a DC sense current passes through the sensing circuit from the second input terminal to the first input terminal thus causing different potentials at the first input terminal and the second input terminal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention can be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, instead emphasis being placed upon illustrating the principles of the invention. Moreover, in the figures, like reference numerals designate corresponding parts. In the drawings:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
(9)
(10) The sense current i.sub.S may be measured in any useful way, the sense current i.sub.S may, for example, be drained via a measurement resistor R.sub.S and the voltage drop i.sub.S.Math.R.sub.S=i.sub.L.Math.R.sub.S/k across the measurement resistor R.sub.S may be used as measurement value representing the load current i.sub.L. As mentioned above, the proportionality between load current i.sub.L and sense current i.sub.S is maintained as long as both transistors are operated (at lease approximately) at the same operating point, i.e., at the same drain-source voltage (or collector-emitter voltage) while being supplied with the same gate (or base) voltage. In the example of
(11) As can be seen from
(12)
(13) As mentioned above, an implementation simpler and more efficient than the example of
(14)
(15) In cases when the source potential V.sub.L of the load transistor T.sub.L is above a threshold (e.g., when V.sub.L>0V) switch SW.sub.1 is switched off and switch SW.sub.2 is switched on (mode 1) resulting in a circuit equivalent to the conventional circuit as illustrated in
(16) In cases when the source potential V.sub.L of the load transistor T.sub.L is below a threshold (e.g., when V.sub.L<0V) switch SW.sub.1 is switched on and switch SW.sub.2 is switched off (mode 2). As a result the sense current i.sub.S is drained to ground via a floating sense circuit 10 and the load impedance Z.sub.L as illustrated in
(17) The control of the switches (which may be regarded as a part of the sense circuit 10) is not illustrated herein in detail. However, any low voltage semiconductor switches (e.g., DMOS switches) may be used for this purpose. The semiconductor switches may be driven to an on-state or an off-state by any appropriate circuitry known in the art. The measurement circuit 20 may be supplied by a separate supply voltage V.sub.S lower than the supply voltage V.sub.DD and may be configured to transform the sense current information obtained from the floating sense circuit 10 to an (analog or digital) output signal x.sub.OUT which represents the load current i.sub.L and may be adequately scaled for further processing. In essence the output signal is (at least approximately) proportional to the load current i.sub.L as mentioned above.
(18)
(19) During the above-mentioned operating mode 1 the present example of
(20) Further, in the present example, the floating sense circuit 10 includes a shunt resistor R.sub.S2 for providing, during the above mentioned operating mode 2, a current path from the source of the sense transistor T.sub.S to the source of the load transistor T.sub.L (which is connected to the load) in a similar way as it is the case in the example of
V.sub.SV.sub.L=R.sub.S2i.sub.S.(1)
(21) The low side terminal of the DC decoupling capacitor C.sub.D1 is coupled to the, e.g., ground-reference, measurement circuit 20. Provided that the capacitor C.sub.D1 is pre-charged to a defined voltage, such as, for example, to a voltage V.sub.L while switch SW.sub.3 is closed and switch SW.sub.4 is open, and provided that the leakage current discharging the capacitor C.sub.D1 is negligible, the voltage drop R.sub.S2i.sub.S across the shunt resistor R.sub.S2 can be observed as voltage swing of the same amount R.sub.S2i.sub.S at the low side terminal of the capacitor C.sub.D1 when switching switch SW.sub.3 off and switch SW.sub.4 on. In this way the sense current information can be transferred from the floating sense circuit 10 to the ground-referenced (i.e., non-floating) measurement circuit 20 without the need for a high-voltage proof circuit component except for the decoupling capacitor C.sub.D1. As should become clear from the discussion above, the switches SW.sub.3 and SW.sub.4 are alternately switched on and off and are never on simultaneously. That is, the two switches SW.sub.3 and SW.sub.4 provide the function of a single changeover switch. The same applies for the switches SW.sub.1 and SW.sub.2 analogously which direct the sense current either to the measurement resistor R.sub.S1 or to the shunt resistor R.sub.S2.
(22)
(23) In cases when the source potential V.sub.L of the load transistor T.sub.L is above a threshold (e.g., when V.sub.L>0V) switch SW.sub.1 is switched off and the cascode transistor T.sub.C is in an on state (mode 1) resulting in an effective circuit as illustrated in
(24) The low side terminal of the decoupling capacitor C.sub.D2 is coupled to an input of a comparator K.sub.1 whose output is coupled to a register 30 which may be, for example a successive approximation register. A current output digital-to-analog converter DAC is coupled to the cascode transistor to sink the sense current i.sub.S and is configured to set the sense current to an analog current value corresponding to the digital input value x.sub.COUNT which generally is a n-bit binary word provided by the register 30. The aim is to set the sense current i.sub.S to such a value that the source potentials V.sub.S and V.sub.L, respectively, are equal. In this ideal matching state, the sense current i.sub.S and the load current i.sub.L are perfectly proportional. Generally, the n-bit binary word x.sub.COUNT supplied to the current output digital-to-analog converter DAC, and thus the sense current i.sub.S, is varied (e.g., ramped up starting from an initial value) until the mentioned matching condition is achieved. This matching condition may be detected using the sense circuit 10, the decoupling capacitor C.sub.D2 and the comparator K.sub.1. The detection process is outlined below.
(25) A measurement cycle starts with varying the n-bit word x.sub.COUNT and thereby setting the sense current i.sub.S to a corresponding analog current value. The variation may be, for example, increasing the current register value x.sub.COUNT. Then the charge stored on the capacitor C.sub.D2 is initialized. Therefore, switch SW.sub.3 is closed thus coupling the capacitor C.sub.D2 between the load transistor source and the comparator input. At the same time a defined potential is applied at the comparator input thus allowing the capacitor C.sub.D2 to charge to a voltage determined by the source voltage V.sub.L and the mentioned defined potential. For example, a switch SW.sub.5 may be used to short circuit the comparator thereby forcing the comparator input to a potential defined by the quiescent point of the comparator's internal input stage. Subsequently switch SW.sub.5 is opened and, further, switch SW.sub.4 is closed while switch SW.sub.3 is opened, too. This switching results in a voltage swing at the comparator input equal to the potential difference V.sub.SV.sub.L. In a perfect matching state this difference is zero and the current register value is taken as measurement result X.sub.OUT. In case of an insufficient matching the comparator K.sub.1 detects the mentioned voltage swing and the comparator output CMP triggers the register 30 to, again, vary the current register value x.sub.COUNT and the cycle starts over. The cyclic repetition of the measurement cycles only stops when a matching stateand thus a sensible measurement valueis found, or if a maximum number of cycles passed without a result.
(26)
(27) The criterion for switching from mode 1 (effective circuit of
(28) Although various exemplary embodiments of the invention have been disclosed, it will be apparent to those skilled in the art that various changes and modifications can be made which will achieve some of the advantages of the invention without departing from the spirit and scope of the invention. It will be obvious to those reasonably skilled in the art that other components performing the same functions may be suitably substituted. It should be mentioned that features explained with reference to a specific figure may be combined with features of other figures, even in those where not explicitly been mentioned. Further, the methods of the invention may be achieved in either all software implementations, using the appropriate processor instructions, or in hybrid implementations that utilize a combination of hardware logic and software logic to achieve the same results. Such modifications to the inventive concept are intended to be covered by the appended claims.