Amplification interface, and corresponding measurement system and method for calibrating an amplification interface
11275100 · 2022-03-15
Assignee
Inventors
- Michele Vaiana (San Giovanni la Punta, IT)
- Calogero Marco Ippolito (Aci Castello, IT)
- Angelo Recchia (Fasano, IT)
- Antonio Cicero (Palermo, IT)
- Pierpaolo Lombardo (Calascibetta, IT)
Cpc classification
H03M1/129
ELECTRICITY
H03F2203/45514
ELECTRICITY
G01R19/2506
PHYSICS
H03B5/04
ELECTRICITY
G01R19/0038
PHYSICS
H03F3/4565
ELECTRICITY
International classification
H03F1/02
ELECTRICITY
H03B5/04
ELECTRICITY
Abstract
An amplification interface includes an input terminal receiving a sensor current and an output terminal supplying an output voltage. An analog integrator is connected to the input terminal and supplies the output voltage. A current generator is connected to the input of the analog integrator and generates a compensation current based on a drive signal. A control circuit generates the drive signal for the current generator based on a control signal representing an offset in the sensor current supplied by the sensor. The current generator generates, based on the driving signal, a positive or negative current. The control circuit determines a first duration and a second duration as a function of the control signal representing the offset in the sensor current, during the measurement interval, and sets the driving signal to a first logic value for the first duration and to a second logic value for the second duration.
Claims
1. An amplification interface, comprising: an input terminal configured to receive a sensor current; an output terminal configured to provide an output voltage; an analog integrator, wherein an input of said analog integrator is connected to the input terminal, wherein an output of said analog integrator provides said output voltage, wherein said analog integrator is configured to be reset or activated via a reset signal, wherein: when said analog integrator is reset, said output voltage corresponds to a reference voltage; and when said analog integrator is activated, said output voltage varies as a function of a current received at the input of said analog integrator; a current generator, wherein an output of said current generator is connected to the input of said analog integrator, wherein said current generator is configured to generate at the output of said current generator a compensation current as a function of a drive signal; a control circuit configured to: generate said reset signal, such that said analog integrator is periodically reset during a reset interval and activated during a measurement interval; receive a control signal indicative of an offset in said sensor current; and generate said drive signal as a function of said control signal indicative of the offset in said sensor current; wherein said current generator is configured to: when said drive signal has a first logic value, generate at the output of said current generator a positive current; and when said drive signal has a second logic value, generate at the output of said current generator a negative current; and wherein said control circuit is further configured to: determine a first duration and a second duration as a function of said control signal indicative of the offset in said sensor current, wherein a sum of said first duration and said second duration corresponds to a duration of said measurement interval; and during said measurement interval, set said drive signal to said first logic value for said first duration and set said drive signal to said second logic value for said second duration.
2. The amplification interface according to claim 1, wherein said positive current and said negative current have a same amplitude but opposite signs.
3. The amplification interface according to claim 1, wherein said current generator comprises: a first current generator configured to generate said positive current; and a second current generator configured to generate said negative current.
4. The amplification interface according to claim 3, wherein said current generator comprises: circuitry to selectively enable said first current generator or said second current generator as a function of said drive signal; or circuitry to selectively connect said first current generator or said second current generator to the output of said current generator as a function of said drive signal.
5. The amplification interface according to claim 1, wherein said control circuit is configured to generate said reset signal and said drive signal via a counter circuit in a synchronous manner in response to a clock signal.
6. The amplification interface according to claim 5, wherein said measurement interval corresponds to an even number of 2N sub-intervals, wherein a duration of each sub-interval corresponds to a multiple of a period of said clock signal, wherein N is an integer.
7. The amplification interface according to claim 6, wherein said control circuit is configured to determine said first duration, T.sub.4, and said second duration, T.sub.5, as:
8. The amplification interface according to claim 1, wherein said analog integrator comprises an operational amplifier, wherein a first input terminal of said operational amplifier is connected via a capacitor to an output terminal of said operational amplifier and a second input terminal of said operational amplifier is connected to a reference voltage.
9. The amplification interface according to claim 8, wherein said analog integrator comprises an electronic switch connected in parallel with said capacitor, and wherein said electronic switch is configured to: when said reset signal has a first logic value, close said electronic switch; and when said reset signal has a second logic value, open said electronic switch.
10. The amplification interface according to claim 1, further comprising a sample-and-hold circuit configured to: when a sampling signal has a first logic value, store said output voltage at the output of said analog integrator; and when said sampling signal has a second logic value, maintain stored said output voltage at the output of said analog integrator; wherein said control circuit is further configured to, during said measurement interval, set said sampling signal to said first logic value for a sampling duration and set said sampling signal to said second logic value for a hold duration.
11. A method of calibrating the amplification interface of claim 1, the method comprising: connecting said sensor current to the input terminal of said amplification interface; monitoring, at an end of said measurement interval, the output voltage at the output terminal of said amplification interface; and varying said control signal such that said monitored output voltage corresponds to said reference voltage.
12. A measurement system, comprising: an amplification interface; a sensor connected to an input terminal of said amplification interface; and a processing circuit connected to an output terminal of said amplification interface; wherein the amplification interface comprises: an input terminal configured to be connected to said sensor, said sensor providing a sensor current, said input terminal further configured to be connected to an output terminal for providing an output voltage; an analog integrator, wherein an input of said analog integrator is connected to the input terminal, wherein an output of said analog integrator provides said output voltage, wherein said analog integrator is configured to be reset or activated via a reset signal, wherein: when said analog integrator is reset, said output voltage corresponds to a reference voltage, and when said analog integrator is activated, said output voltage varies as a function of a current received at the input of said analog integrator; a current generator, wherein an output of said current generator is connected to the input of said analog integrator, wherein said current generator is configured to generate at the output of said current generator a compensation current as a function of a drive signal; a control circuit configured to: generate said reset signal, such that said analog integrator is periodically reset during a reset interval and activated during a measurement interval, receive a control signal indicative of an offset in said sensor current provided by said sensor, and generate said drive signal as a function of said control signal indicative of an offset in said sensor current provided by said sensor; wherein said current generator is configured to: when said drive signal has a first logic value, generate at the output of said current generator a positive current, and when said drive signal has a second logic value, generate at the output of said current generator a negative current; and wherein said control circuit is further configured to: determine a first duration and a second duration as a function of said control signal indicative of an offset in said sensor current provided by said sensor, wherein a sum of said first duration and said second duration corresponds to a duration of said measurement interval, and during said measurement interval, set said drive signal to said first logic value for said first duration and set said drive signal to said second logic value for said second duration.
13. The measurement system according to claim 12, wherein said positive current and said negative current have a same amplitude but opposite signs.
14. The measurement system according to claim 12, wherein said current generator comprises: a first current generator configured to generate said positive current; and a second current generator configured to generate said negative current.
15. The measurement system according to claim 14, wherein said current generator comprises: circuitry for selectively enabling said first current generator or said second current generator as a function of said drive signal; or circuitry for selectively connecting said first current generator or said second current generator to the output of said current generator as a function of said drive signal.
16. The measurement system according to claim 12, wherein said control circuit is configured to generate said reset signal and said drive signal via a counter circuit in a synchronous manner in response to a clock signal.
17. An amplification interface, comprising: an analog integrator having an input receiving a sensor current, wherein said analog integrator is configured to be reset or activated in response to a reset signal; a current generator having an output connected to the input of said analog integrator, wherein said current generator is configured to generate a compensation current as a function of a drive signal; a control circuit configured to: generate said reset signal such that said analog integrator is periodically reset during a reset interval and activated during a measurement interval; and generate said drive signal based upon an offset in said sensor current; wherein said current generator is further configured to generate a first current or a second current based upon a logic value of the drive signal; and wherein said control circuit is further configured to: determine a first duration and a second duration, wherein a sum of said first duration and said second duration corresponds to a duration of said measurement interval; and during said measurement interval, set said drive signal to a first logic value for said first duration and set said drive signal to a second logic value for said second duration.
18. The amplification interface according to claim 17, wherein said control circuit is configured to generate said reset signal and said drive signal via a counter circuit in a synchronous manner in response to a clock signal.
19. The amplification interface according to claim 18, wherein said measurement interval corresponds to an even number of 2N sub-intervals, wherein a duration of each sub-interval corresponds to a multiple of a period of said clock signal, wherein N is an integer.
20. The amplification interface according to claim 19, wherein said control circuit is configured to determine said first duration, T.sub.4, and said second duration, T.sub.5, with the following equations:
21. The amplification interface according to claim 17, wherein said analog integrator comprises an operational amplifier, wherein a first input terminal of said operational amplifier is connected via a capacitor to an output terminal of said operational amplifier and a second input terminal of said operational amplifier is connected to a reference voltage.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The embodiments of the present disclosure will now be described with reference to the annexed drawings, which are provided purely by way of non-limiting example and in which:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) In the ensuing description, various specific details are illustrated aimed at enabling an in-depth understanding of the embodiments. The embodiments may be provided without one or more of the specific details, or with other methods, components, materials, etc. In other cases, known structures, materials, or operations are not shown or described in detail so that various aspects of the embodiments will not be obscured.
(9) Reference to “an embodiment” or “one embodiment” in the framework of this description is meant to indicate that a particular configuration, structure, or characteristic described in relation to the embodiment is contained in at least one embodiment. Hence, phrases such as “in an embodiment”, “in one embodiment”, or the like that may be present in various points of this description do not necessarily refer to one and the same embodiment. Moreover, particular conformations, structures, or characteristics may be combined in any adequate way in one or more embodiments.
(10) The references used herein are provided for convenience and hence do not define the sphere of protection or the scope of the embodiments.
(11) In
(12) As explained previously, various embodiments of the present description regard an electronic amplification interface for a sensor 10, in particular a sensor 10 configured for supplying a measurement current signal representing a quantity to be measured.
(13)
(14) In particular, in the embodiment considered, the electronic amplification interface comprises an input terminal IN for receiving an input current i.sub.IN, and an output terminal OUT for supplying an output voltage V.sub.out. Consequently, in line with what has been described with reference to
(15) In the embodiment considered, the electronic amplification interface comprises an analog integrator 20. Operation of such an analog integrator 20 has already been described with reference to
(16) In general, the analog integrator 20 comprises an input connected (for example, directly) to the input terminal IN, and an output that supplies the output voltage V.sub.out. In particular, the analog integrator 202 is configured for supplying a voltage V.sub.out representing the integral of the current i.sub.INT received at input to the analog integrator 20.
(17) For example, in the embodiment considered, the analog integrator 20 is implemented with: an operational amplifier 202, where a first input terminal of the operational amplifier 202 (typically the negative terminal) is connected to the input of the analog integrator 20, i.e., the terminal IN, and the second input terminal of the operational amplifier 202 (typically the positive terminal) is connected to a reference voltage Vref; and a capacitor Cfb, connected (for example, directly) between the first input terminal of the operational amplifier 202 and the output terminal of the operational amplifier 202.
(18) Hence, in the embodiment considered, the analog integrator 202 is configured for charging the capacitor Cfb as a function of the current i.sub.INT received at input to analog integrator 20. In addition, since the output voltage V.sub.out corresponds to the sum of the reference voltage Vref (which is constant and may even be zero) and the voltage across the capacitor Cfb, the output voltage V.sub.out is directly linked to the integral of the current i.sub.INT.
(19) In the embodiment considered, the analog integrator further comprises a reset circuit, configured for selectively discharging the capacitor Cfb. For example, in the embodiment considered, the reset circuit is implemented with an electronic switch SW.sub.RST connected in parallel to the capacitor Cfb.
(20) In various embodiments, the analog integrator may also comprise a sample-and-hold circuit 80. In particular, this circuit represents an analog memory configured for storing the value of the voltage V.sub.out as a function of a control signal SAMPLE. For example, in the simplest case, such a circuit 80 may be implemented with a capacitor, which is selectively connected, for example through one or more electronic switches, to the voltage V.sub.out as a function of the signal SAMPLE.
(21) For instance, for this purpose, the reset signal RST and the signal SAMPLE are generated by a single control circuit 70, which sets the reset signal RST in a first time interval T.sub.1 at a first logic level (typically high) for resetting the analog integrator and in a second time interval T.sub.2 at a second logic level (typically low) for activating the analog integrator. Consequently, the interval T.sub.2 represents a measurement interval that corresponds to the period of integration used by the analog integrator 20. In various embodiments, the time intervals T.sub.1 and T.sub.2 are constant.
(22) In general, on the basis of the implementation of the circuit 80, the signal SAMPLE may also correspond to the reset signal RST or to its inverted version. However, preferably, the control circuit 70 is configured for generating the signal SAMPLE so as to cause sampling of the voltage V.sub.out through the circuit 80 before the reset signal RST is set for discharging the capacitor Cfb; i.e., with respect to activation of the analog integrator 20 (switching of the signal RST from the second logic level to the first level), the signal SAMPLE is set after an interval T.sub.3, which is shorter than the interval T.sub.2, i.e., T.sub.3<T.sub.2.
(23) In the embodiment considered, the electronic amplification interface further comprises a current generator 50a. In particular, in various embodiments, the current generator 50a comprises an output for supplying a current i.sub.COMP, where the output of the current generator 50a is connected to the input terminal IN, i.e., the input of the analog integrator 20. Consequently, the current i.sub.INT received at input to the analog integrator 20 corresponds to:
i.sub.INT=i.sub.COMP+i.sub.IN (3)
(24) In various embodiments, the current generator 50a is configured for generating the current i.sub.COMP as a function of at least one control signal. For example, in the embodiment considered, a single control signal SW is used, where the current generator 50a is configured for supplying: a positive current i.sub.COMP=i.sub.1, with i.sub.1>0, when the control signal SW has a first logic level; and a negative current i.sub.COMP=i.sub.2, with i.sub.2<0, when the control signal SW has a second logic level.
(25) For example, in the embodiment considered, the current generator 50a comprises: a first current generator 52 configured for supplying the current i.sub.1; a first electronic switch 54 configured for connecting the first current generator 52 to the output of the current generator 50a, i.e., to the input of the integrator 20, when the control signal SW has the first logic level; a second current generator 58 configured for supplying the current i.sub.2; and a second electronic switch 56 configured for connecting the second current generator 52 to the output of the current generator 50a, i.e., to the input of the integrator 20, when the control signal SW has the second logic level.
(26) Consequently, in the embodiment considered, the current generator 50a supplies alternatively the current i.sub.1 or i.sub.2 as a function of the control signal SW. In various embodiments, the currents i.sub.1 or i.sub.2 have the same amplitude but opposite sign, i.e., i.sub.1=−i.sub.2. In addition, in various embodiments, the currents i.sub.1 and i.sub.2 are constant.
(27) Hence, as compared to the approach described with reference to
(28) In particular, as described previously, the current generator 50a has a single branch configured for supplying a positive current (i.sub.1) or a negative current (i.sub.2). Preferably, the currents have the same amplitude, denoted hereinafter by IFS, which represents the full-scale current value, i.e., the maximum offset current that can be corrected.
(29) The main difference from the solution shown in
(30) For this purpose, the control circuit 70 is also configured for generating the control signal SW for the current generator 50a in such a way as to synchronize the control signal SW with switching of the reset signal RST for the analog integrator 20.
(31)
(32) In particular, as explained previously, the control circuit 70 generates the reset signal RST; in particular the control circuit 70 is configured for repeating periodically the following operations: at an instant t.sub.0, the signal RST is set at a first logic level (high) for resetting the analog integrator 20; and at an instant t.sub.1, the signal RST is set at a second logic level (low), thus determining the end of the reset step, whereas the signal SAMPLE is set at a logic level (high), thus determining start of the integration step.
(33) Consequently, the time interval between the instants t.sub.0 and t.sub.1 corresponds to the reset interval T.sub.1, whereas the time interval between the instant t.sub.1 and the subsequent instant t.sub.0′ corresponds to the measurement interval T.sub.2. In various embodiments, between the instant t.sub.0 and t.sub.1 the signal SW is set at the first logic level (high).
(34) In the embodiment considered, also an example of the signal SAMPLE is shown. In particular, as explained previously, the signal SAMPLE stores the value of the voltage V.sub.out before the analog integrator 20 is reset. For example, for this purpose, the signal SAMPLE can be set with respect to start of the measurement interval T.sub.2 (i.e., with respect to the instant t.sub.1) for a sampling time T.sub.3 at a first logic value, in which the circuit 80 stores the value of the signal V.sub.out, and for a hold time (T.sub.2−T.sub.3) it does not store the value of the signal V.sub.out and holds the value stored at the end of the interval T.sub.3. Consequently, to enable a comparison of different measured values, the duration of the measurement interval T.sub.2 is not particularly important, but the sampling time T.sub.3 should be constant.
(35) As explained previously, the control circuit 70 also generates the control signal SW for the current generator 50a. In particular, during each measurement interval T.sub.2, the control circuit 70 sets the signal SW at the first logic level (generation of the current i.sub.1/IFS) for an interval T.sub.4 and at the second logic level (generation of the current i.sub.2/−IFS) for an interval T.sub.5=T.sub.2−T.sub.4. In general, switching during the reset interval T.sub.1 is not particularly important, since the analog integrator is de-activated during this step.
(36) Consequently, the control signal SW is characterized in that (within each integration period T.sub.2) it activates the current i.sub.1/IFS for an interval T.sub.4 and activates the current i.sub.2/−IFS for an interval T.sub.5.
(37) In particular, in the embodiment shown in
(38) Consequently, in the embodiment considered, the time interval T.sub.2 can be divided into an even number of sub-intervals, referred to hereinafter as 2N, i.e., each sub-interval has a duration T.sub.2/(2N).
(39) For example, in various embodiments, the control circuit 70 generates the reset signal RST using a counter/timer 702 configured for incrementing a count value as a function of a clock signal CLK (see also
(40) Hence, the duration T.sub.4 may be determined by a control signal COMP that identifies the number of sub-intervals during which the control signal SW should have the first logic level, i.e.:
(41)
(42) Instead, the duration T.sub.5 can be calculated from the duration T.sub.4; namely:
(43)
(44) In general, when the sensor 10 does not comprise any offset, for example, in the absence of a sensor 10 connected to the input terminal IN of the electronic amplification interface, the time interval T.sub.5 corresponds to the duration T.sub.4, i.e.:
(45)
(46) Consequently, in various embodiments, the duration T.sub.2/2 may correspond to a default duration, and the signal COMP may also indicate the number of sub-intervals by which this default duration may be increased or decreased; for example:
(47)
(48) For instance, in the case where the signal COMP has the value −N, T.sub.4 is equal to T.sub.2, and T.sub.5 is zero. Instead, in the case where the signal COMP has the value +N, T.sub.4 is zero, and T.sub.5 is equal to T.sub.2. In any case, typically the durations T.sub.4 and T.sub.5 are not zero.
(49) In various embodiments, the output voltage V.sub.out may hence correspond to:
(50)
(51) For example, using the definition of the signal COMP appearing in Eqs. (7) and (8), the output voltage V.sub.out corresponds to:
(52)
(53) From a mathematical standpoint, the result of Eq. (9) is hence equal to the result of Eq. (2); i.e., the system proposed is able to provide the same correction as the system shown in
(54) However, whereas the approach shown in
(55) There is thus overcome the main limit of the approach shown in
(56) As shown in
(57) While the approach has been described with reference to a sensor 10 that supplies a current signal of the single-ended type, the approach could be used also when the sensor supplies a current signal of a differential type. For example, the sensor 10 can supply such a differential signal when in actual fact the sensor itself comprises two sensors: a first sensor that supplies a first current, where the first sensor is exposed to the quantity to be measured; and a second sensor that supplies a second current, where the second sensor is not exposed to the quantity to be measured; i.e., the sensor represents a reference sensor.
(58) In this case, the circuit shown in
(59) The claims form an integral part of the technical teaching of the description provided herein.
(60) Of course, without prejudice to the principles described herein, the details of construction and the embodiments may vary widely with respect to what has been described and illustrated herein purely by way of example, without thereby departing from the scope of this disclosure as defined by the ensuing claims.