CURRENT SENSING CIRCUITRY
20240044954 ยท 2024-02-08
Assignee
Inventors
- Dipankar Nag (Newbury, GB)
- Peter Hsu (Edinburgh, GB)
- Kapil R. Sharma (Edinburgh, GB)
- Gordon J. Bates (Edinburgh, GB)
- Simon R. Foster (Reading, GB)
- Mark J. McCloy-Stevens (Edinburgh, GB)
Cpc classification
H03F1/26
ELECTRICITY
G01R19/2509
PHYSICS
G01R19/2506
PHYSICS
H03F3/38
ELECTRICITY
G01R19/0053
PHYSICS
H03F2203/45116
ELECTRICITY
International classification
Abstract
The present application relates to current sensing circuitry (100) that comprises a differential amplifier (110) comprising first and second inputs configured to sense a current across a sense resistance, and an output configured to output a current sense signal. The circuitry (100) further comprises a first current source, a second current source and a switch network operable in: a first phase in which the first current source is connected to the first input and disconnected from the output, and the second current source is connected to the output and disconnected from the first input; and a second phase in which the first current source is connected to the output and disconnected from the first input, and the second current source is connected to the first input and disconnected from the output.
Claims
1.-20. (canceled)
21. Current sensing circuitry, comprising: a differential-to-single-ended amplifier configured to sense a current across a sense resistance and output a measurement current representative of the current across the sense resistance; a transimpedance amplifier configured to receive the measurement current sense signal and output a corresponding measurement voltage; and an analog-to-digital converter configured to convert the measurement voltage signal to a digital output signal.
22. The current sensing circuitry of claim 21 wherein the differential-to-single-ended amplifier comprises a chopper amplifier configured to operate at a first chopping frequency.
23. The current sensing circuitry of claim 21 wherein the trans-impedance amplifier comprises an anti-aliasing filter.
24. The current sensing circuitry of claim 21 wherein the trans-impedance amplifier is configured to apply first-order low-pass filtering of the measurement current.
25. The current sensing circuitry of claim 24 wherein the trans-impedance amplifier comprises a feedback network configured to apply said first-order low-pass filtering of the measurement current.
26. The current sensing circuitry of claim 24 wherein the differential-to-single-ended amplifier comprises a chopper amplifier configured to operate at a first chopping frequency and wherein the trans-impedance amplifier is configured to apply first-order low-pass filtering of the measurement current with a cut-off frequency lower than said a first chopping frequency.
27. The current sensing circuitry of claim 21 wherein the analog-to-digital converter comprises a successive-approximation register analog-to-digital converter.
28. The current sensing circuitry of claim 27 wherein the successive-approximation register analog-to-digital converter is configured to apply a finite impulse response filter function.
29. The current sensing circuitry of claim 27 wherein the successive-approximation register analog-to-digital converter comprises a two-point digital moving average filter.
30. The current sensing circuitry of claim 29 wherein the differential-to-single-ended amplifier comprises a chopper amplifier configured to operate at a first chopping frequency and wherein the two-point digital moving average filter is configured to apply filtering at the first chopping frequency.
31. The current sensing circuitry of claim 22 further comprising at least one of: a first current source configured to generate a defined first bias current; and a second current source generate a defined second defined bias current; wherein the current sensing circuitry is operable such that the first defined bias current can be provided to a first input of the differential-to-single-ended amplifier and/or the second defined bias current can be provided to an output of the differential-to-single-ended amplifier.
32. The current sensing circuitry of claim 31 comprising said first current source and said second current source and wherein the current sensing circuitry is selectively operable in: a first state in which the first defined bias current is provided to the first input of the differential-to-single-ended amplifier and the second defined bias current is provided to the output of the differential-to-single-ended amplifier; and a second state in which the first defined bias current is provided to the output of the differential-to-single-ended amplifier and the second defined bias current is provided to the first input of the differential-to-single-ended amplifier; and wherein the current sensing circuitry is configured to chop between the first and second states at a second chopping frequency.
33. The current sensing circuitry of claim 32 wherein the second chopping frequency is the same as the first chopping frequency.
34. The current sensing circuitry of claim 32 wherein the first defined bias current and the second defined bias current are equal to one another.
35. Current sensing circuitry, comprising: a first stage comprising a differential-to-single-ended amplifier configured to sense a current across a sense resistance and to output a corresponding measurement current signal; a second stage comprising a current-to-voltage converter configured to receive the measurement current signal and output a measurement voltage signal representative of the current across the sense resistance, wherein the current-to-voltage converter is configured to apply first-order low-pass filtering; and a third stage comprising an analog-to-digital converter configured to convert the voltage signal to a digital output voltage signal.
36. The current sensing circuitry of claim 35 wherein the current-to-voltage converter comprises a transimpedance amplifier.
37. The current sensing circuitry of claim 35 wherein the analog-to-digital converter is configured to apply finite impulse response filtering.
38. The current sensing circuitry of claim 35 wherein the analog-to-digital converter comprises a successive-approximation register analog-to-digital converter.
39. The current sensing circuitry of claim 35 wherein the differential-to-single-ended amplifier comprises a chopper amplifier.
40. The current sensing circuitry of claim 35 further comprising first and second current sources for generating respective first and second bias current and a bias current chopper configured to swap between a first state in which the first bias current is provided to a first input of the differential-to-single-ended amplifier and the second bias current is provided to an output of the differential-to-single-ended amplifier and a second state in which the first bias current is provided to the output of the differential-to-single-ended amplifier and the second bias current is provided to the first input of the differential-to-single-ended amplifier.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0021] For a better understanding of examples of the present disclosure, and to show more clearly how the examples may be carried into effect, reference will now be made, by way of example only, to the following drawings in which:
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
DETAILED DESCRIPTION
[0030] The description below sets forth example embodiments according to this disclosure. Further example embodiments and implementations will be apparent to those having ordinary skill in the art. Further, those having ordinary skill in the art will recognize that various equivalent techniques may be applied in lieu of, or in conjunction with, the embodiments discussed below, and all such equivalents should be deemed as being encompassed by the present disclosure.
[0031] The description below further describes example embodiments according to this disclosure applied to circuitry for current sensing. As one skilled in the art would understand, current sensing may also encompass current measuring and/or current monitoring depending on the application to which current sensing, according to example embodiments of the present disclosure, is applied.
[0032]
[0033] Circuitry 100 further comprises amplifier circuitry 110, at a first stage 101 of circuitry 100. Amplifier circuitry 110 is configured to measure the sense voltage V.sub.SENSE across sense resistance R.sub.SENSE and output current sense signal S.sub.AMP representative of the sense current I.sub.SENSE based on the sense voltage V.sub.SENSE. In some examples, current sense signal S.sub.AMP may comprise a voltage. In some examples, current sense signal S.sub.AMP may comprise a current.
[0034] Circuitry 100 further comprises filter circuitry (FILT) 120, at a second stage 102 of circuitry 100. Filter circuitry 120 is configured to receive the current sense signal S.sub.AMP and output a filtered signal V.sub.FILT. Filter circuitry 120 may therefore implement anti-aliasing filtering of current sense signal S.sub.AMP. In some examples, filter circuitry 120 may comprise a current-to-voltage converter configured to convert a current output by amplifier circuitry 110 to a voltage.
[0035] The first stage 101 of circuitry 100 comprising amplifier circuitry 110 and second stage 102 of circuitry 100 comprising filter circuitry 120 may be referred to as an analogue front end (AFE) 104. AFE 104 is thus configured to sense the voltage V.sub.SENSE across sense resistance R.sub.SENSE and output current sense signal S.sub.AMP representative of the sense current I.sub.SENSE through sense resistance R.sub.SENSE.
[0036] Circuitry 100 further comprises analogue-to-digital converter (ADC) 130 at a third stage 103 of circuitry 100. ADC 130 is configured to receive filtered signal V.sub.FILT and convert filtered signal V.sub.FILT to a digital output voltage V.sub.OUT, which may thus comprise a digital representation of the sense current I.sub.SENSE. In some examples, digital output voltage V.sub.OUT may comprise a digital signal N-bits wide, representative of the sense current I.sub.SENSE. Digital output voltage V.sub.OUT may be transmitted to downstream digital signal processing circuitry (DSP) 140 for further processing.
[0037]
[0038] Circuitry 200 comprises a first stage 101 comprising differential-to-single ended amplifier 110. Amplifier 110 comprises a first input IN.sub.1 and a second input IN.sub.2 coupled to respective input resistors R.sub.IN1, R.sub.IN2. First and second inputs IN.sub.1, IN.sub.2 are configured to sense a current I.sub.L across sense resistor R.sub.SENSE based on the voltage drop across sense resistor R.sub.SENSE. Sense resistor R.sub.SENSE is connected in series between a first supply voltage V.sub.DDP and a terminal 205, which may comprise a connection to a load. In some examples, the load may comprise a transducer including, for example, a light source, such as an LED, an audio load such as a pair of headphones or a haptic transducer such as a force sensor. In other examples, the load may comprise a component of an integrated circuit to determine the current drawn by the component.
[0039] Referring again to
[0040] As described above in relation to
[0041] First level-shifting current source I.sub.COMP1 may also provide loop stability at all source current conditions. For example, if no current is flowing through sense resistor R.sub.SENSE, first level-shifting current source I.sub.COMP1 may thus provide some input current to ensure that the amplifier 110 does not become unstable. This is advantageous in allowing the current sensing circuitry 200 to sense current in applications where the current being sensed may, at times, be zero.
[0042] Referring again to
[0043] Referring again to
[0044] As one skilled in the art will be familiar with, the sampling frequency f.sub.S should be configured to appropriately sample the filtered voltage V.sub.FILT to satisfy the Nyquist sampling theorem. In a similar manner, second stage 102 may thus comprise an anti-aliasing filter (AAF) in the form of low-pass filter 122, which is configured to filter out any frequencies that do not satisfy the Nyquist sampling theorem in order to avoid the effects of aliasing in the conversion of ADC 130. Configuration of the sampling frequency f.sub.3 and the cut-off frequency of low-pass filter 122 can thus lead to control of the bandwidth of the current sensing circuitry 200.
[0045] Circuitry 200 thus provides a current sensing circuit that can sense a current across a sense resistor R.sub.SENSE and convert the sensed current to a digital output voltage V.sub.OUT for processing. AFE 104 provides an appropriate gain to reduce error and noise contributions of the ADC. In one example, the AFE closed-loop gain is about 20, where the first stage 101 gain is about 10, the second stage gain providing a gain is about 2, although it will be understood that this is just one example and various different implementations are possible. Level-shifting variable resistor R.sub.0 coupled to the output of amplifier 110 may be trimmed to tune the high-side gain of the first stage 110 and, as described above, first level-shifting current source I.sub.COMP1 can provide loop stability for the first stage 101.
[0046] First level-shifting current source I.sub.COMP1 may, however, introduce noise into the processing of the first stage 101. The noise introduced by the first level-shifting current source I.sub.COMP1 includes offset voltage, flicker noise and random telegraph signal noise (RTS noise).
[0047] Furthermore, differential-to-single-ended amplifier 110 may also introduce an offset voltage into circuitry 200, which can drift with temperature and reduce dynamic range.
[0048]
[0049] As one skilled in the art will be familiar with, chopper amplifiers, such as amplifier 310, refer to a type of amplifier with a chopping function that can provide desirable qualities, such as, a low offset voltage and low drift.
[0050] Chopper amplifiers can be implemented in a number of architectures and topologies. In one example, the input signal is chopped to effectively modulate the input signal in a known way before amplification. The chopping is performed at a defined chopping frequency, which thus modulates the input signal according to the chopping frequency.
[0051] For a differential input signal, the chopping may be implemented by effectively swapping the differential inputs at the chopping frequency. The modulated input signal is amplified, which can result in any DC offset of the amplifier being applied to the amplified signal.
[0052] The amplified signal is chopped at the same chopping frequency as the input of the amplifier. This effectively demodulates or removes the modulation applied to the input signal component, but results in a modulation being applied to the offset voltage at the chopping frequency.
[0053] The amplified input signal carrying the modulated offset voltage of the amplifier may then be output to a low-pass filter. The filter is configured to pass the amplified input signal and attenuate the modulated offset at the chopping frequency. The combination of the chopper amplifier and the low-pass filter can thus result in an amplifier with a low offset voltage of the order of less than 100 V.
[0054] Referring again to
[0055] Amplifier 310 thus measures the voltage V.sub.SENSE across sense resistor R.sub.SENSE and outputs current sense signal I.sub.AMP, representative of a load current I.sub.L applied to terminal 205. As described above in relation to
[0056] Referring again to
[0057] Second level-shifting current source I.sub.COMP2 may be matched to the magnitude and polarity of first level-shifting current source I.sub.COMP1, such that, I.sub.COMP1=I.sub.COMP2 and thus generate an equal defined current. In this way noise and/or offset, such as due to temperature drift, present due to first level-shifting current source I.sub.COMP1 may be mitigated or cancelled by similar effects resulting from second level-shifting current source I.sub.COMP2. As discussed above, there may be an offset associated with the first level-shifting current source at the input that can drift with temperature. The second level-shifting current source will drift in the same way such that there is noise correlation between first level-shifting current source I.sub.COMP1 and second level-shifting current source I.sub.COMP2. In some examples, first level-shifting current source I.sub.COMP1 and second level-shifting current source I.sub.COMP2 may be derived from a common reference current source, such that, both current sources may exhibit the same noise effects and further any variation at the common reference current source may be expressed at both the first level-shifting current source I.sub.COMP1 and second level-shifting current source I.sub.COMP2.
[0058] Circuitry 300 further comprises current source chopper circuit 316 configured to provide chopping of first level-shifting current source I.sub.COMP1 and second level-shifting current source I.sub.COMP2. In use, current source chopper circuit 316 is configured to alternate the connection of first level-shifting current source I.sub.COMP1 and second level-shifting current source I.sub.COMP2 between an input (in this case the non-inverting input IN.sub.2) and output 315 of chopper amplifier 310. In a first phase of the current source chopper circuit 316, first level-shifting current source I.sub.COMP1 is connected to the non-inverting input IN.sub.2 and second level-shifting current source I.sub.COMP2 is connected to the output 315. In a second phase, first level-shifting current source I.sub.COMP1 is connected to the output 315 and second level-shifting current source I.sub.COMP2 is connected to the non-inverting input IN.sub.2. Therefore, current source chopper circuit 316 may comprise one or more switches, which may comprise MOSFETs and may be configured in a switch network, to switch first and second level-shifting current sources I.sub.COMP1, I.sub.COMP2 between the first and second phases of operation. Current source chopper circuit 316 thus is further configured to operate at a second chopping frequency f.sub.CHOP2, to control the frequency with which first and second level-shifting current sources I.sub.COMP1, I.sub.COMP2 are switched between the two phases of operation. For example, second chopping frequency f.sub.CHOP2 may be defined by a suitable clock signal.
[0059] As described above, providing second level-shifting current source I.sub.COMP2 at the output of amplifier 310 can reduce the noise effects introduced by first level-shifting current source I.sub.COMP1, for example, by reducing the noise associated with drift. However, even if the first and second current sources are nominally matched to the same magnitude and polarity or derived from a common reference current source, there may still exist some offset between the first level-shifting current source I.sub.COMP1 and second level-shifting current source I.sub.COMP2 and/or there may be different RTS or flicker noise associated with the different current sources.
[0060] Current source chopper circuit 316 can thus reduce the effects of offset noise introduced to circuitry 300 by first level-shifting current source I.sub.COMP1 and second level-shifting current source I.sub.COMP2. The switching of current source chopper circuit 316 between the first and second phases described above results in the offset between the first level-shifting current source I.sub.COMP1 and the second level-shifting current source I.sub.COMP2 being modulated according to the second chopping frequency f.sub.CHOP2. The modulated offset between the first and second level-shifting current sources I.sub.COMP1, I.sub.COMP2, can then be removed from the current sense signal I.sub.AMP output from amplifier 310, by downstream filter circuitry. In some examples filter circuitry, such as low-pass filter 122 of circuitry 200, may provide at least partial removal of the modulated offset. In some examples, digital filter circuitry downstream of amplifier 310, such as digital filter circuitry of DSP 140 described above with reference to
[0061] Amplifier 310 may output current sense signal I.sub.AMP to low-pass filter circuitry with a cut-off frequency less than the first chopping frequency f.sub.CHOP1 and the second chopping frequency f.sub.CHOP2. The cut-off frequency being less than first chopping frequency f.sub.CHOP1 and the second chopping frequency f.sub.CHOP2 may enable the amplifier offset, modulated at first chopping frequency f.sub.CHOP1, and the current offset between first and second level-shifting current sources I.sub.COMP1,I.sub.COMP2, modulated at second chopping frequency f.sub.CHOP2, to be removed from the current sense signal I.sub.AMP.
[0062] In addition, by swapping the first and second level-shifting current sources between the input and the output of the amplifier 310, any RTS or flicker noise from each of the current sources will appear at both the input and the output. Thus noise at the input and the output is correlated, which means that the noise is at least partly cancelled.
[0063] Current source chopping circuit 316 thus correlates the noise resulting from first and second level-shifting current sources I.sub.COMP1, I.sub.COMP2, between the input and the output of amplifier 310, which can thus remove noise effects associated with either current source, I.sub.COMP1, I.sub.COMP2 such as due to offset RTS noise and/or flicker noise.
[0064] In some examples, the first chopping frequency f.sub.CHOP1 for controlling chopping of amplifier 310 and the second chopping frequency f.sub.CHOP2 for controlling chopping of current source chopper circuit 316 may thus be the same frequency, such that f.sub.CHOP1=f.sub.CHOP2. In this way, first chopping frequency f.sub.CHOP1 and the second chopping frequency f.sub.CHOP2 may be derived from the same clock signal. For example, first chopping frequency f.sub.CHOP1 and second chopping frequency f.sub.CHOP2 may be dictated synchronously by a master clock, but may be some fixed delay apart, for example, 40 ns and may thus be different phases of the same clock signal. Furthermore, with f.sub.CHOP1=f.sub.CHOP2, the amplifier offset and the current offset between first and second level-shifting current sources I.sub.COMP1, I.sub.COMP2 may be filtered from current sense signal I.sub.AMP at the same frequency, which may lead to reduced complexity of the downstream filter circuitry.
[0065] The chopping provided by input chopper circuit 312, output chopper circuit 314 and current source chopper circuit 316 may thus reduce the noise effects associated with amplifier offset and the current offset between first and second level-shifting current sources I.sub.COMP1, I.sub.COMP2. However, the switching caused by input chopper circuit 312, output chopper circuit 314 and current source chopper circuit 316 may also introduce noise, such as switching transients into circuitry 300. Thus, downstream filter circuitry, may also be configured to filter any noise introduced by the switching of input chopper circuit 312, output chopper circuit 314 and current source chopper circuit 316. In some examples, first chopping frequency f.sub.CHOP1 and the second chopping frequency f.sub.CHOP2 may be different such that f.sub.CHOP1 #f.sub.CHOP2. For example, second chopping frequency f.sub.CHOP2 supplied to current source chopper circuit 316 may comprise a lower rate of switching than first chopping frequency f.sub.CHOP1 supplied to input chopper circuit 312 and output chopper circuit 314 of amplifier 310. A lower rate of switching of one of first chopping frequency f.sub.CHOP1 and the second chopping frequency f.sub.CHOP2 may reduce the noise introduced to the circuit 300 due to transients and may further provide for power savings measures. However, in examples in which first chopping frequency f.sub.CHOP1 and the second chopping frequency f.sub.CHOP2 are different, this may increase the complexity of downstream processing circuitry used to filter any noise present at the first chopping frequency f.sub.CHOP1 and the second chopping frequency f.sub.CHOP2.
[0066] The description above has illustrated that the combination of current source chopper circuit 316, first and second current sources I.sub.COMP1, I.sub.COMP2 and chopper amplifier 310 provide a current sense circuit that can sense a current through sense resistor R.sub.SENSE with low offset and low noise. However, it will be appreciated that the noise improvements provided by current source chopper circuit 316 and first and second current sources I.sub.COMP1, I.sub.COMP2 may be applied to other amplifier circuitry, such as amplifier 110, that does not comprise a chopping function.
[0067]
[0068] As noted, circuitry 400 illustrates an example of how the elements of circuitry 300 may be realised. Circuitry 400 thus comprises differential chopper amplifier 310 configured to measure the voltage drop V.sub.SENSE across a sense resistor e.g. sense resistor R.sub.SENSE, at first and second inputs IN.sub.1, IN.sub.2 of amplifier 310. The voltage drop V.sub.SENSE may be indicative of a current applied to load I.sub.L and differential amplifier 310 thus further comprise output 315 configured to output current sense signal I.sub.AMP representative of load current I.sub.L.
[0069] Differential chopper amplifier 310 thus further comprises input chopper circuit 312, first output chopper circuit 314a and second output chopper circuit 314b. Input chopper circuit 312 and first output chopper circuit 314a comprise PMOS switches and second output chopper circuit 314b comprises NMOS switches. As described above, input chopper circuit 312, first output chopper circuit 314a and second output chopper circuit 314b may be switched based on a first chopping frequency f.sub.CHOP1 in order to remove noise associated with amplifier offset. Input chopper circuit 312, first output chopper circuit 314a and second output chopper circuit 314b may therefore each be configured to receive respective representations of first chopping frequency f.sub.CHOP1 of f.sub.CHOP1A, f.sub.CHOP1B and f.sub.CHOP1C, i.e. respective clock signals at the same frequency as one another derived from a common master clock signal.
[0070] In some examples, the clock signals for the first chopping frequencies f.sub.CHOP1A, f.sub.CHOP1B and f.sub.CHOP1C may each be at the same overall first chopping frequency f.sub.CHOP1 and synchronous with one another, but may have different phase with respect to the first chopping frequency f.sub.CHOP1. The clock signals of the first chopping frequency f.sub.CHOP1A, f.sub.CHOP1B and f.sub.CHOP1C may thus comprise a first chopping frequency signal f.sub.CHOP1A, a second chopping frequency signal f.sub.CHOP1B and a third chopping frequency signal f.sub.CHOP1C. As one skilled in the art will be familiar with, the signals of the first chopping frequency f.sub.CHOP1A-C may be supplied to input chopper circuit 312, first output chopper circuit 314a and second output chopper circuit 314b, respectively, to modulate the amplifier offset at the first chopping frequency f.sub.CHOP1.
[0071] Referring again to
[0072] Current source chopper circuit 316 may be operable in the first phase described above in which first level first level-shifting current source I.sub.COMP1 is connected to the non-inverting input IN.sub.2 and second level-shifting current source I.sub.COMP2 is connected to the output 315, by applying a bias voltage to first NMOS switch 316a and fourth NMOS switch 316d. Current source chopper circuit 316 may then be operable in the second phase, described above, in which, first level-shifting current source I.sub.COMP1 is connected to the output 315 and second level-shifting current source I.sub.COMP2 is connected to the non-inverting input IN.sub.2 by applying a bias voltage to second NMOS switch 316b and third NMOS switch 316c. The bias voltage applied to first to fourth NMOS switches 316a-d to switch the current source chopper circuit 316 between the two phases is thus controlled based on second chopping frequency f.sub.CHOP2.
[0073] As described above, in some examples the first chopping frequency f.sub.CHOP1 and second chopping frequency f.sub.CHOP2 may be the same frequency such that f.sub.CHOP1=f.sub.CHOP2. In such examples, first chopping frequency f.sub.CHOP1 and second chopping frequency f.sub.CHOP2 may therefore be dictated by a common master clock. In a similar manner to the first to third chopping frequency signals f.sub.CHOP1A-C, a clock signal for second chopping frequency f.sub.CHOP2 may thus comprise an additional signal at the first chopping frequency f.sub.CHOP1. Thus the clock signals for chopping frequency signals f.sub.CHOP1A, f.sub.CHOP1B, f.sub.CHOP1C and f.sub.CHOP2, supplied to input chopper circuit 312, first output chopper circuit 314a, second output chopper circuit 314b and current source chopper circuit 316, respectively, may each comprise separate signals derived from a master clock signal. These clock signals may thus be provided to input chopper circuit 312, first output chopper circuit 314a, second output chopper circuit 314b and current source chopper circuit 316 to modulate the amplifier offset and offset between the first current source I.sub.COMP1 and second current source I.sub.COMP2 at a common chopping frequency e.g. first chopping frequency f.sub.CHOP1. As will be described in more detail below, a common chopping frequency e.g. first chopping frequency f.sub.CHOP1, used to control the chopping of input chopper circuit 312, first output chopper circuit 314a, second output chopper circuit 314b and current source chopper circuit 316 may be dictated based on a sampling frequency of an ADC downstream of amplifier 310.
[0074]
[0075] Circuitry 500 comprises trans-impedance amplifier (TIA) 510 comprising op-amp 512, resistor R.sub.TIA and capacitor C.sub.TIA. Op-amp 512 is configured to receive a reference voltage V.sub.REF, such as ground, at the non-inverting input and the current sense signal I.sub.AMP at the inverting input. As one skilled in the art will be familiar with, a TIA converts the current received at the inverting input into a voltage such that the voltage output by the TIA, V.sub.FILT=V.sub.REF(I.sub.AMP*R.sub.TIA). Thus, in examples where current sense signal I.sub.AMP is representative of a current through a load I.sub.L, the output voltage of the TIA V.sub.FILT may thus be representative of said load current I.sub.L. TIA 510 may thus provide suitable conversion of current sense signal I.sub.AMP into a voltage V.sub.FILT for downstream processing. The gain of the TIA thus depends on the resistance R.sub.TIA and, as illustrated, the R.sub.TIA may be implemented as a variable resistance to allow the gain to be tuned.
[0076] The feedback network of the TIA 510, provided by the capacitor C.sub.TIA and resistor R.sub.TIA, also provides some first-order low-pass filtering of current sense signal I.sub.AMP. As one skilled in the art will be familiar with, the value of capacitor C.sub.TIA and resistor R.sub.TIA in the feedback network of TIA 510 dictates the bandwidth of the sensing to which TIA 510 is applied according to f.sub.0=1/(2*R.sub.TIA*C.sub.TIA), where f.sub.0 is the cut-off frequency of TIA 510. In some examples, as illustrated, the capacitor C.sub.TIA may be a variable capacitor, in which case, by controlling both variable capacitor C.sub.TIA and variable resistor R.sub.TIA the frequencies of current sense signal I.sub.AMP amplified by TIA 510 may be controlled.
[0077] As described above in relation to
[0078] In some examples, the anti-aliasing filter functionality of the TIA 510 may therefore be employed in current sensing circuitry downstream of an amplifier configured to sense a current through a resistor, such as amplifier 110 described above in relation to
[0079] Circuitry 500 further comprises RC filter 520 comprising filter resistors R.sub.FILT1, R.sub.FILT2 and filter capacitor C.sub.FILT. RC filter 520 provides further low-pass filtering of the voltage output by TIA 510 and may filter noise artefacts introduced into voltage V.sub.TIA due to the amplification of TIA 510.
[0080] In some examples, the filtered voltage V.sub.AAF passed by RC filter 510 may be output to an ADC, such as, successive-approximation register (SAR) ADC 130, described above with reference to
[0081]
[0082] Circuitry 600 comprises first stage 101 comprising differential chopper amplifier 310, which is chopped according to a first chopping frequency f.sub.CHOP1. First stage 101 further comprises first and second current sources I.sub.COMP1, I.sub.COMP2 and current source chopper circuit 316 operable between first and second phases according to second chopping frequency f.sub.CHOP2. First stage 101 may thus be configured to sense load current I.sub.L through sense resistor R.sub.SENSE and output current sense signal I.sub.AMP representative of load current I.sub.L.
[0083] Second stage 102 comprises filter circuitry 120 comprising TIA 510 and RC filter 520. As described above, TIA 510 may provide low-pass filtering of current sense signal I.sub.AMP, to provide anti-aliasing filtering. TIA 510 further provides conversion of current sense signal I.sub.AMP to voltage signal V.sub.FILT for processing by downstream processing modules. RC filter 520 provides further low-pass filtering of voltage signal V.sub.FILT and also comprises an anti-kickback filter for the switch capacitors of ADC 130.
[0084] Third stage 103 comprises SAR ADC 130 configured to convert voltage signal V.sub.FILT into a digital output voltage signal V.sub.OUT. Digital output voltage signal V.sub.OUT is output to downstream DSP 140 for further processing. As described above, DSP 140 may comprise digital filter circuitry configured to filter out noise modulated at the first chopping frequency f.sub.CHOP1 and second chopping frequency f.sub.CHOP2.
[0085] SAR ADC 130 is configured to convert the voltage signal V.sub.FILT into a digital output voltage signal V.sub.OUT according to sampling frequency f.sub.S. In some examples, SAR ADC 130 may comprise a finite impulse response (FIR) filter function to filter any ripple introduced by input chopping circuit 312, output chopping circuit 314 and current source chopper circuit 316. In some examples, the FIR filter may comprise a two-point digital moving average filter, which averages out the chopping ripple which may be introduced by input chopping circuit 312, output chopping circuit 314 current source chopper circuit 316. In some examples, the FIR filter of ADC 130 may at least partially filter noise modulated at the first chopping frequency f.sub.CHOP1 and second chopping frequency f.sub.CHOP2. In some examples, first and second chopping frequencies f.sub.CHOP1, f.sub.CHOP2 may therefore be selected based on the sampling frequency f.sub.S. For example the first and second chopping frequencies f.sub.CHOP1, f.sub.CHOP2 may be selected to be half the sampling frequency f.sub.S i.e. f.sub.CHOP1=f.sub.CHOP2=f.sub.s/2. This selection may take advantage of the two-point digital moving average filter that is implemented by SAR ADC 130 to remove the noise modulated at the first chopping frequency f.sub.CHOP1 and second chopping frequency f.sub.CHOP2 when f.sub.CHOP1=f.sub.CHOP2=f.sub.s/2. In other examples, the first and second chopping frequencies f.sub.CHOP1, f.sub.CHOP2 may be selected based on any suitable fraction of the sampling frequency for example f.sub.s/4, f.sub.s/8 etc. in order to take advantage of the digital moving average filter that is implemented by SAR ADC 130.
[0086] Referring again to
[0087]
[0088] In another example, integrated circuit 700 comprises an amplifier 710 comprising first and second input terminals IN.sub.1, IN.sub.2, where the amplifier 710 is configured to sense a voltage across the first and second input terminals IN.sub.1, IN.sub.2 and is configured to output a sense signal at an output terminal OUT. IC 700 further comprises a first current sink 711 connected to one of the first or second input terminals IN.sub.1, IN.sub.2 via a switch network 716 and a second current sink 712 connected to the output terminal OUT via the switch network 716. The switch network 716 is configured to repeatedly switch the first current sink 711 between one of the first or second input terminals IN.sub.1, IN.sub.2 and the output terminal OUT while repeatedly switching the second current source 712 between the output terminal OUT and the one of the first or second input terminals IN.sub.1, IN.sub.2.
[0089]
[0090] In other words, switch network 716 is configured to repeatedly switch a first current sink 711 between one of a first or second input terminals IN.sub.1, IN.sub.2 of an amplifier 710 and the output terminal OUT of the amplifier 710 while repeatedly switching a second current source 712 between the output terminal OUT of the amplifier 710 and the one of the first or second input terminals IN.sub.1, IN.sub.2 of the amplifier 710.
[0091]
[0092] Embodiments of the present disclosure provide current sensing circuitry that may sense a current through a sense resistance and output a digital voltage signal representative of the current for processing by downstream processing modules. The current may comprise a current supplied to a load and thus the load current may be controlled depending on the value of the sensed current. Embodiments of the present disclosure also relate to current sensing circuitry comprising a chopped differential amplifier and chopped level-shifting current sources. In combination with a suitable low-pass filter, such as a TIA based low-pass filter, amplifier offset and current offset between the level-shifting current sources can be reduced thereby resulting in current sensing circuitry with low noise performance and low offset drift.
[0093] The skilled person will recognise that some aspects of the above-described apparatus and methods may be embodied as processor control code, for example on a non-volatile carrier medium such as a disk, CD- or DVD-ROM, programmed memory such as read only memory (Firmware), or on a data carrier such as an optical or electrical signal carrier. For many applications embodiments of the invention will be implemented on a DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array). Thus the code may comprise conventional program code or microcode or, for example code for setting up or controlling an ASIC or FPGA. The code may also comprise code for dynamically configuring re-configurable apparatus such as re-programmable logic gate arrays. Similarly the code may comprise code for a hardware description language such as Verilog or VHDL (Very high speed integrated circuit Hardware Description Language). As the skilled person will appreciate, the code may be distributed between a plurality of coupled components in communication with one another. Where appropriate, the embodiments may also be implemented using code running on a field-(re)programmable analogue array or similar device in order to configure analogue hardware.
[0094] It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. The word comprising does not exclude the presence of elements or steps other than those listed in a claim, a or an does not exclude a plurality, and a single feature or other unit may fulfil the functions of several units recited in the claims. Any reference numerals or labels in the claims shall not be construed so as to limit their scope.
[0095] As used herein, when two or more elements are referred to as coupled to one another, such term indicates that such two or more elements are in electronic communication or mechanical communication, as applicable, whether connected indirectly or directly, with or without intervening elements.
[0096] This disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, or component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative. Accordingly, modifications, additions, or omissions may be made to the systems, apparatuses, and methods described herein without departing from the scope of the disclosure. For example, the components of the systems and apparatuses may be integrated or separated. Moreover, the operations of the systems and apparatuses disclosed herein may be performed by more, fewer, or other components and the methods described may include more, fewer, or other steps. Additionally, steps may be performed in any suitable order. As used in this document, each refers to each member of a set or each member of a subset of a set.
[0097] Although exemplary embodiments are illustrated in the figures and described below, the principles of the present disclosure may be implemented using any number of techniques, whether currently known or not. The present disclosure should in no way be limited to the exemplary implementations and techniques illustrated in the drawings and described above.
[0098] Unless otherwise specifically noted, articles depicted in the drawings are not necessarily drawn to scale.
[0099] All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the disclosure and the concepts contributed by the inventor to furthering the art, and are construed as being without limitation to such specifically recited examples and conditions. Although embodiments of the present disclosure have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the disclosure.
[0100] Although specific advantages have been enumerated above, various embodiments may include some, none, or all of the enumerated advantages. Additionally, other technical advantages may become readily apparent to one of ordinary skill in the art after review of the foregoing figures and description.
[0101] To aid the Patent Office and any readers of any patent issued on this application in interpreting the claims appended hereto, applicants wish to note that they do not intend any of the appended claims or claim elements to invoke 35 U.S.C. 112(f) unless the words means for or step for are explicitly used in the particular claim.