Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ELECTRICAL CIRCUIT FOR BIASING OR MEASURING CURRENT FROM A SENSOR
Document Type and Number:
WIPO Patent Application WO/2018/140699
Kind Code:
A1
Abstract:
An electrical circuit can bias a sensor, measure current from a sensor, or both of these. In some examples, the electrical circuit can include a comparator having two input terminals and an output terminal. The comparator can be configured to compare input signals applied to the two input terminals and generate an output signal at the output terminal based on the comparison. The electrical circuit can include a switch having a control terminal that is electrically coupled to the output terminal of the comparator. The switch can also include a first connection terminal that is electrically coupled to the sensor and a second connection terminal that is electrically coupled to a charge-packet source. The switch can be switchable between (i) an open state to electrically decouple the sensor from the charge-packet source, and (ii) a closed state to electrically couple the sensor to the charge-packet source.

Inventors:
DASTGHEIB ALIREZA (US)
VANDERHAEGEN JOHAN (US)
Application Number:
PCT/US2018/015397
Publication Date:
August 02, 2018
Filing Date:
January 26, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
VERILY LIFE SCIENCES LLC (US)
International Classes:
G01N27/26; G05F3/02
Foreign References:
US20140021064A12014-01-23
US20150096905A12015-04-09
US20130277216A12013-10-24
US20150241375A12015-08-27
US20080251379A12008-10-16
Attorney, Agent or Firm:
KELTON, Zachary S. et al. (US)
Download PDF:
Claims:
Claims

1. An electrical circuit for biasing a sensor, the electrical circuit comprising:

a comparator having a first input terminal, a second input terminal, and an output terminal, the comparator being configured to compare (i) a reference voltage applied to the first input terminal to (ii) another voltage applied to the second input terminal from an electrode of the sensor and generate an output signal at the output terminal based on the comparison; and

a switch having a control terminal that is electrically coupled to the output terminal of the comparator, a first connection terminal that is electrically coupled to the sensor, and a second connection terminal that is electrically coupled to a charge- packet source, the switch being switchable between (i) an open state to electrically decouple the sensor from the charge-packet source, and (ii) a closed state to electrically couple the sensor to the charge-packet source.

2. The electrical circuit of claim 1 , wherein the switch is switchable between the open state and the closed state based on at least one of a control signal from a control element or the output signal from the output terminal of the comparator.

3. The electrical circuit of any of claims 1 -2, wherein:

the sensor comprises a three-terminal electrochemical sensor having a reference electrode, a working electrode, and a counter electrode;

the other voltage that is applied to the second input terminal of the comparator is a voltage across the reference electrode and the working electrode of the sensor; the first connection terminal of the switch is electrically coupled to the counter electrode of the sensor and the second input terminal of the comparator is electrically coupled to the reference electrode of the sensor;

the charge-packet source is a capacitor;

the switch is a transistor; and

the control element is a clock.

4. The electrical circuit of any of claims 1 -3, further comprising:

the charge-packet source; an open-loop amplifier electrically coupled between the comparator and the sensor; and

a decimation filter electrically coupled to the output terminal of the comparator and configured to convert a single bit output from the comparator into a multi-bit output.

5. The electrical circuit of any of claims 1-4, wherein the switch is a first switch, the open state is a first open state, and the closed state is a first closed state, and further comprising:

a second switch coupled between the charge-packet source and a charging- voltage source, the second switch being switchable between (i) a second open state to electrically decouple the charge-packet source from the charging-voltage source, and (ii) a second closed state to electrically couple the charge-packet source to the charging-voltage source, the second switch being switchable between the second open state and the second closed state based on a control signal from a control element.

6. The electrical circuit of any of claims 1 -5, wherein the electrical circuit lacks a closed-loop amplifier and the comparator is directly coupled to the sensor.

7. The electrical circuit of any of claims 1 -6, further comprising a capacitor coupled in parallel with the sensor.

8. The electrical circuit of any of claims 1 -7, further comprising the sensor.

9. A potentiostat usable with a sensor, the potentiostat comprising:

a comparator having two input terminals and an output terminal, the comparator being configured to compare input signals applied to the two input terminals and generate an output signal at the output terminal based on the comparison;

a switch having a control terminal that is electrically coupled to the output terminal of the comparator, a first connection terminal that is electrically coupled to the sensor, and a second connection terminal that is electrically coupled to a charge- packet source, the switch being switchable between (i) an open state to electrically decouple the sensor from the charge-packet source, and (ii) a closed state to electrically couple the sensor to the charge-packet source, the switch being switchable between the open state and the closed state based on at least one of a control signal from a control element or the output signal from the output terminal of the comparator; and

the charge-packet source.

10. The potentiostat of claim 9, wherein the sensor is an electrochemical sensor.

1 1. The potentiostat of any of claims 9-10, wherein:

a first connection terminal of the switch is electrically coupled to a counter electrode of the sensor and a second input terminal of the comparator is electrically coupled to a reference electrode of the sensor;

the charge-packet source is a capacitor; and

the switch is a transistor.

12. The potentiostat of any of claims 9-1 1 , wherein the sensor comprises a three- terminal electrochemical sensor having the reference electrode, a working electrode, and the counter electrode.

13. The potentiostat of any of claims 9-12, further comprising a decimation filter electrically coupled to the output terminal of the comparator and configured to convert a single bit output from the comparator into a multi-bit output.

14. The potentiostat of any of claims 9-13, wherein the switch is a first switch, the open state is a first open state, the closed state is a first closed state, and the control signal is a fisrt control signal, and further comprising:

a second switch coupled between the charge-packet source and a charging- voltage source, the second switch being switchable between (i) a second open state to electrically decouple the charge-packet source from the charging-voltage source, and (ii) a second closed state to electrically couple the charge-packet source to the charging-voltage source, the second switch being switchable between the second open state and the second closed state based on a second control signal.

15. The potentiostat of any of claims 9-14, wherein the switch is controlled using a first control signal, the second switch is controlled using the second control signal, and the comparator is controlled using a third control signal.

16. The potentiostat of any of claims 9-15, wherein the potentiostat lacks a closed-loop amplifier and the comparator is directly coupled to the sensor.

17. The potentiostat of any of claims 9-16, further comprising a capacitor coupled in parallel with the sensor.

18. The potentiostat of any of claims 9-17, further comprising an open-loop amplifier electrically coupled between the comparator and the sensor.

19. A method for manufacturing an electrical circuit usable with a sensor, the method comprising:

providing a comparator having two input terminals and an output terminal; enabling a first input terminal of the comparator to receive a reference voltage from a reference-voltage source;

enabling a second input terminal of the comparator to receive an input signal from the sensor;

providing a switch having two connection terminals and a control terminal; enabling a first connection terminal of the switch to electrically couple with a charge-packet source;

enabling a second input terminal of the switch to electrically couple with the sensor; and

electrically coupling the output terminal of the comparator to the control terminal of the switch.

20. The method of claim 19, further comprising:

providing the charge-packet source; and

electrically coupling the first connection terminal of the switch to the charge- packet source.

Description:
ELECTRICAL CIRCUIT FOR BIASING OR MEASURING CURRENT FROM A

SENSOR

Reference to Related Application

[0001 ] This application claims priority to U.S. Provisional Application No. 62/451 , 152, filed January 27, 2017 and titled "ELECTRICAL CIRCUIT FOR BIASING OR MEASURING CURRENT FROM A SENSOR", the entirety of which is hereby incorporated by reference herein.

Technical Field

[0002] The present disclosure generally relates to an electrical circuit for use with a sensor. More particularly, although not necessarily exclusively, this disclosure relates to an electrical circuit for biasing or measuring current from a sensor.

Background

[0003] Various types of sensors exist for detecting various types of conditions. Examples of such sensors can include temperature sensors, electrochemical sensors, ambient light sensors, inclination sensors, acceleration sensors, velocity sensors, etc. Some sensors need to be electrically biased to operate properly or optimally. For example, an electrochemical sensor may need to have a substantially constant voltage maintained across two electrodes to operate optimally. And some sensors may output analog signals that need to be converted into digital signals for use in certain applications.

Summary

[0004] One example of the present disclosure includes an electrical circuit for biasing a sensor. The electrical circuit can include a comparator having a first input terminal, a second input terminal, and an output terminal. A comparator is a circuit component that compares voltages at its input terminals and outputs a signal, at an output terminal, indicating which voltage is larger. The comparator can be configured to compare a reference voltage applied to the first input terminal to another voltage, from an electrode of the sensor, applied to the second input terminal and generate an output signal at the output terminal based on the comparison. The electrical circuit can also include a switch having a control terminal that is electrically coupled to the output terminal of the comparator, a first connection terminal that is electrically coupled to the sensor, and a second connection terminal that is electrically coupled to a charge-packet source. A charge-packet source may be an electrical component, such as a capacitor, capable of outputting a burst of electrical charge for a relatively short (e.g., on the order of microseconds) period of time. The switch can be switchable between (i) an open state to electrically decouple the sensor from the charge-packet source, and (ii) a closed state to electrically couple the sensor to the charge-packet source.

[0005] Another example of the present disclosure includes a system having the abovementioned electrical circuit and sensor.

[0006] Yet another example of the present disclosure includes a potentiostat usable with a sensor. The potentiostat can include a comparator having two input terminals and an output terminal. The comparator can be configured to compare input signals applied to the two input terminals and generate an output signal at the output terminal based on the comparison. The potentiostat can also include a switch having a control terminal that is electrically coupled to the output terminal of the comparator, a first connection terminal that is electrically coupled to the sensor, and a second connection terminal that is electrically coupled to a charge-packet source. The switch can be switchable between (i) an open state to electrically decouple the sensor from the charge-packet source, and (ii) a closed state to electrically couple the sensor to the charge-packet source. The switch can be switchable between the open state and the closed state based on at least one of a control signal from a control element or the output signal from the output terminal of the comparator. The potentiostat can also include a charge-packet source.

[0007] Still another example of the present disclosure includes a method for manufacturing an electrical circuit usable with a sensor. The method can include providing a comparator having two input terminals and an output terminal. The method can include enabling a first input terminal of the comparator to receive a reference voltage from a reference-voltage source. The method can include enabling a second input terminal of the comparator to receive an input signal from the sensor. The method can include providing a switch having two connection terminals and a control terminal. The method can include enabling a first connection terminal of the switch to electrically couple with a charge-packet source. The method can include enabling a second input terminal of the switch to electrically couple with the sensor. The method can include electrically coupling the output terminal of the comparator to the control terminal of the switch.

[0008] These illustrative examples are mentioned not to limit or define the scope of this disclosure, but rather to provide examples to aid understanding thereof. Illustrative examples are discussed in the Detailed Description, which provides further description. Advantages offered by various examples may be further understood by examining this specification.

Brief Description of the Drawings

[0009] FIG. 1 is a schematic diagram of an electrical circuit for biasing or measuring current from a sensor according to some aspects of the present disclosure.

[0010] FIG. 2 is a graph of control signals for operating the electrical circuit of FIG. 1 according to some aspects of the present disclosure.

[001 1 ] FIG. 3 is a schematic diagram of the electrical circuit of FIG. 1 electrically coupled to a sensor that is represented as a current source in parallel with a capacitor according to some aspects of the present disclosure.

[0012] FIG. 4 is a schematic diagram of the electrical circuit of FIG. 3 in which additional details are included according to some aspects of the present disclosure.

[0013] FIG. 5 is a flow chart of an example of a process for manufacturing an electrical circuit usable for biasing or measuring current from a sensor according to some aspects.

Detailed Description

[0014] Certain aspects and examples of the present disclosure relate to an electrical circuit for biasing or measuring current from a sensor. The electrical circuit can (i) bias the sensor by maintaining the voltage across two sensor electrodes at a substantially constant level, (ii) provide an analog or digital representation of the magnitude of the sensor current, or (iii) both of these. In one example, the electrical circuit is a potentiostat for biasing or measuring current from an electrochemical sensor.

[0015] The electrical circuit includes a comparator that is electrically coupled (electrically connected, either directly or indirectly) to a terminal of the sensor. In some examples, the comparator is directly electrically coupled to the terminal of the sensor. As used herein, the phrase "directly electrically coupled" means that there are no intervening electrical components (other than a wire or trace, such as a printed-circu it-board (PCB) trace) between the comparator and the terminal of the sensor. The comparator is also electrically coupled to a voltage source that can provide a reference voltage to the comparator. The comparator can compare the voltage at the sensor terminal to the reference voltage and provide a resulting output at an output terminal.

[0016] The output terminal of the comparator can be electrically coupled to a switch. The switch can provide an electrical pathway between the sensor and a capacitor. In some examples, when the comparator determines that the voltage at the sensor terminal is less than the reference voltage, the comparator outputs a high voltage (e.g., 1 volt (V)). The high voltage causes the switch to enter a closed state, which electrically couples the sensor to the capacitor, enabling the capacitor to transmit a charge packet to the sensor. The charge packet boosts the voltage across the sensor to help maintain the voltage across the sensor at a substantially constant level (e.g., the reference-voltage level). In some examples, when the comparator determines that the voltage at the sensor terminal is greater than or equal to the reference voltage, the comparator outputs a low voltage (e.g., 0 V). The low voltage causes the switch to enter an open state, in which the capacitor is electrically decoupled from the sensor, preventing the capacitor from transmitting the charge packet to the sensor. This, in turn, may prevent the sensor from being overcharged, thereby helping to maintain the voltage across the sensor at the substantially constant level.

[0017] In some examples, the comparator outputs a pattern of digital ones and zeros that form a binary representation of (e.g., a bit stream indicating) the magnitude of the sensor current. The binary representation of the magnitude of the sensor current can be used by additional hardware or software, as needed.

[0018] Some examples of the present disclosure may consume less power than other types of circuits for biasing or measuring current from a sensor. For example, the electrical circuit may lack a closed-loop amplification stage, such as an operational transconductance amplifier (OTA) with a feedback capacitor. Such closed-loop amplification stages typically have a high loop-gain to accurately bias the sensor, which results in a high amount of power consumption. But by removing a closed-loop amplification stage for the electrical circuit, the power consumed by the circuit can be reduced. Further, some examples of the present disclosure may take up less area on a silicon die, within an FPGA, on a printed circuit board, or within a housing due to a reduced number of electrical components.

[0019] These illustrative examples are given to introduce the reader to the general subject matter discussed here and are not intended to limit the scope of the disclosed concepts. The following sections describe various additional features and examples with reference to the drawings in which like numerals indicate like elements but, like the illustrative examples, should not be used to limit the present disclosure. Further, the term "or" is not to be construed as identifying mutually exclusive options. For example, the phrase "X contains A or B" can mean that X contains A and not B, X contains B and not A, or X contains both A and B. That is, the term "or" is used to mean "and/or" unless explicitly indicated to refer to alternatives only or the alternatives are mutually exclusive.

[0020] FIG. 1 is a schematic diagram of an electrical circuit 102 for biasing or measuring current from a sensor 104 according to some aspects of the present disclosure. In this example, the sensor 104 has three electrodes - a reference electrode designated as Ref, a working electrode designated as WE, and a counter electrode designated as CE. The electrical circuit 102 can detect when a voltage between the reference electrode and the working electrode falls below a reference voltage, V re f, and provide a charge packet from a charge-packet source (which, in this example, is capacitor C P um P ) to the counter electrode. The charge packet temporarily boosts the voltage across the reference electrode and the working electrode. This may help to maintain the voltage between the reference electrode and the working electrode at a substantially constant (e.g., +/- 0.1 V) level, such as at Vref.

[0021 ] More specifically, the electrical circuit 102 includes a comparator 1 10, such as a clocked comparator or a dynamic comparator (e.g., a StrongArm comparator). A clocked comparator can provide an output on or after a transition of a clock. An input to a clocked comparator may only affect the state of the comparator for a short time interval around the transition of the clock. The speed of a clocked comparator can be relatively high as compared to other types of comparators and the power dissipation of a clocked comparator can be relatively low as compared to other types of comparators. [0022] The comparator 1 10 has a first input terminal electrically coupled to the reference electrode of the sensor 104 and a second input terminal that is electrically coupled to a reference-voltage source providing the reference voltage, Vref (e.g., 0.5 V). An output terminal of the comparator 1 10 is electrically coupled to a first switch 108 that provides an electrical pathway between the capacitor C P um P and the sensor 104. When the voltage at the reference electrode of the sensor 104 is less than Vref, the comparator 1 10 outputs a first signal (e.g., a digital "1 " or a digital "0") that causes the first switch 108 to close. Closure of the first switch 108 causes the capacitor C P um P to provide a charge packet (e.g., a 1 pico-coulomb packet of charge) to the counter electrode of the sensor 104. When the voltage at the reference electrode of the sensor 104 is greater than or equal to V re f, the comparator 1 10 outputs a second signal (e.g., a digital " or a digital "0") that causes the first switch 108 to open. This prevents the capacitor C P um P from providing the charge packet to the counter electrode of the sensor 104.

[0023] The electrical circuit 102 also includes a second switch 106 that provides an electrical pathway between a charging-voltage source providing a charging voltage, Vdd, and the capacitor C P um P . An example of the charging voltage can be 1 V. When the first switch 108 is open, the second switch 106 can be closed to enable the capacitor C P um P to charge up. And when the first switch 108 is closed, the second switch 106 can be opened to enable the capacitor C P um P to provide the charge packet to the sensor 104. The switches 106, 108 can be alternately opened and closed several times while the sensor 104 is in operation to bias the sensor 104.

[0024] In some examples, the switches 106, 108 can be opened and closed according to one or more control signals provided by a control element. Examples of the control element can include a clock, such as a three-phase clock; a timer, such as a 555 timer; a microcontroller; a crystal oscillator; or any combination of these. The control signal(s) may have a predetermined frequency, such as 100 kilohertz (kHz).

[0025] Example control signals for controlling the components of the electrical circuit 102 are shown in FIG. 2 as signals phil , phi2, and phi3. In some examples, the control signal phil controls the second switch 106. For example, the second switch 106 may open when phil is in a high state and close when phil is in a low state. And, in some examples, the control signal phi2 controls the first switch 108. The control signal phi2 can control the first switch 108 alone or in combination with the output D from the comparator 1 10. For example, the electrical circuit 102 can include an AND gate that takes phi2 and D as inputs. Based on phi2 and D, the AND gate can provides an output that controls the first switch 108. For example, the first switch 108 may open when phi2 is in a high state and D is in a high state. The first switch 108 may close when phi2 is in a low state, D is in a low state, or both phi2 and D are in a low state. Further, in some examples, the control signal phi3 controls the comparator 1 10. For example, the comparator 1 10 may compare the voltage at a sensor terminal to the reference voltage, Vref, at each positive edge in phi3 (or at each negative edge in phi3) and change its output accordingly. Each of the control signals (phil , phi2, and phi3) can be out of phase from one another. For example, the control signals can be 180 degrees out of phase from one another.

[0026] In some examples, the control signal phi3 can be much narrower than phil and phi2. This may enable the electrical circuit 102 to operate using two control signals (phil and phi2) that have non-overlapping phases, instead of three control signals that have non-overlapping phases. In other examples, the switches 106, 108 can be controlled by a single control signal. For example, a single control signal can be split and sent to both a first switch (e.g., switch 106) and a NOT gate electrically coupled between the control element and a second switch (e.g., switch 108). The NOT gate can receive the control signal and provide an inverted version of the control signal to the second switch. Thus, the first switch and the second switch will receive opposite versions of the control signal, causing the first switch and the second switch to enter opposite states. Any suitable control signal(s), along with any supporting electrical component(s), can be used for operating the switches 106, 108 or the comparator 110.

[0027] Referring back to FIG. 1 , in some examples, the electrical circuit 102 can provide an analog or digital representation of the current output by the sensor 104. For example, the current output by the sensor 104 can vary be between, for example, 0 nanoamps (nA) and 100 nA. As the current output by the sensor 104 changes, the comparator 1 10 can switch between a low state and a high state, resulting in a stream of bits (e.g., a train of pulses). An example of such a stream of bits is shown next to output D in FIG. 1. The stream of bits can represent the magnitude of the sensor current. For example, the density of the ones in the stream of bits can be proportional to the sensor current. Thus, the electrical circuit 102 may not only maintain a substantially constant voltage at the sensor 104, but may also (or alternatively) provide measurements of the sensor current. Further, in some examples, it may be desirable to convert the single-bit output (D) from the comparator 1 10 into a multi-bit numbered output. The electrical circuit 102 can include a decimation filter 1 12 for converting the single-bit output (D) from the comparator 1 10 into such a multi-bit numbered output (dout).

[0028] As discussed above, the sensor current may vary between a minimum current-value and a maximum current-value, such as between 0 nA and 100 nA. It may therefore be desirable to configure the electrical circuit 102 so that the electrical circuit 102 is capable of measuring current within that range. In some examples, the following equation can be used to select values for the components of the electrical circuit 102 that enable the electrical circuit 102 to measure current within a particular range:

Imeas = f clock * Cpump (Vdd - Vref) ( m ^°^ rfe ) + nonlinearity + l noise where I meas is the current to be measured from the sensor 104; fa ock is the frequency of the control signals provided by the control element; C pump is the capacitance of the capacitor C P um P ; Vdd is charge voltage Vdd; Vref is the reference voltage Vret; dout is the output dout; and max code is the maximum value for the output dout, which can be equal to 2 B -1 , where B is the number of bits output by the decimation filter 1 12 (e.g., max code is 1023 for a 10-bit decimation filter). Also, nonlinearity is a static non-linearity due to the non-ideality of the electrical circuit 102, and may exist due to imperfect charge distribution, charge leakage, an imperfect reference voltage Vref, or an imperfect or noisy comparator 1 10. I noise is an additive noise term that may also be due to the non-ideality of the electrical circuit 102, and may exist for any of the abovementioned reasons. For example, the maximum amount of current (I max ) that the electrical circuit 102 can measure can be determined by setting dout equal to max code in the above equation, which then reduces to:

Imax = f clock * Cpump (Vdd - Vref) + nonlinearity + I noise If the maximum sensor-current measurable by the electrical circuit 102 is to be 100 nA, and both the nonlinearity and I noise are zero, then the equation further reduces to:

100 nA = f clock * C pump (Vdd - Vref) The variables in the above equation can then be selected to satisfy the equation. For example, f clock can be 100 kHz, C pump can be 2 pF, Vdd can be 1 V, and Vref can be 0.5 V, which results in an I max of 100 nA.

[0029] Some examples of the present disclosure can include more or different components having the same or different values as those described above. And some examples of the present disclosure include different arrangements of the components described above. For example, although in FIG. 1 the comparator 1 1 0 and the first switch 108 are electrically coupled to the reference electrode and the counter electrode, respectively, in other examples the comparator 1 1 0 or the first switch 108 can be electrically coupled to different electrodes or a different configuration of the electrodes. In one particular example, the reference electrode and the counter electrode can be the same electrode, and the sensor 104 can have two other electrodes, so that the sensor 104 has at least three total electrodes. In such an example, both the comparator 1 1 0 and the first switch 108 can be electrically coupled to the combined reference/counter electrode. Further, although the sensor 104 shown in FIG. 1 has three electrodes, in other examples the sensor 104 can include a different number and configuration of electrodes. For example, the sensor 104 can have two electrodes. In one such example, the reference electrode and the counter electrode can be the same electrode, so that the sensor 104 has two total electrodes.

[0030] Further, in some examples the sensor 1 04 has an internal capacitance. For example, referring now to FIG. 3, the sensor 1 04 can be represented as a current source (L) that is electrically coupled in parallel to an internal capacitor, Cm. Cin can have a capacitance of, for example, 1 00 nano-farads. The internal capacitor Cin can form at least a portion of an integration stage (e.g. , an open-loop integrator), eliminating the need to include a separate integration stage (e.g. , often implemented as a closed-loop gain stage that acts as an integrator) in the electrical circuit 1 02. This may reduce the power consumed by the electrical circuit 102. In other examples in which the sensor 1 04 lacks a suitable internal capacitance to form the integration stage, a capacitor can be electrically coupled in parallel with the sensor 104 to form the integration stage.

[0031 ] Turning now to FIG. 4, in some examples the electrical circuit 102 includes an amplifier 404 (e.g. , an open-loop amplifier) electrically coupled between the comparator 110 and the sensor 104. The amplifier 404 can increase the overall resolution of the comparator 1 10 and reduce the offset of the comparator 1 10.

[0032] In some examples, such as the example shown in FIG. 4, the switches 106, 108 can include transistors. For example, the switch 108 is represented in FIG. 4 by a transistor having a substrate (or "body") terminal that is electrically coupled to the reference voltage, Vref. A gate terminal of the transistor can be electrically coupled to a charge pump 406. The other two terminals (the source and drain terminals) of the transistor can be electrically coupled between the capacitor C P um P and the sensor 104.

[0033] The charge pump 406 can include switches, transistors, capacitors, or any combination of these. In some examples, the charge pump 406 can adjust the level of the gate of the transistor of the switch 108 to maximize its off/on resistance. For example, the charge pump 406 can convert an input voltage (e.g., a digital input voltage) that is between 0 V and 1 V to an output voltage between -1 V and +1 V. The transistor connected to the charge pump 406 may have a lower on-resistance when -1 V is applied to the gate, so the transistor may conduct better and have a smaller on-resistance as a result of the charge pump 406. Conversely, the off resistance of the transistor may be high enough that the charge pump 406 may not affect the off resistance of the transistor when the charge pump applies +1 V to the gate of the transistor.

[0034] In some examples, for the transistor of switch 108 to operate properly, the voltage at the substrate terminal (Vref) must be higher than the voltage at the source and drain terminals. For instance, if the transistor is a P-type metal-oxide- semiconductor (PMOS) transistor, the substrate terminal voltage must be higher than the voltage at the source and drain terminals in order to operate properly. To ensure that Vref is higher than the voltage at the source and drain terminals, one or more additional switches 402 can be electrically coupled between the transistor of the switch 108 and the capacitor Cpump. The switches 402 can isolate the capacitor Cpump from the transistor of the switch 108. Isolating the capacitor Cpump from the switch 108 can prevent the capacitor Cpump from forward biasing the transistor when Cpump is charged up to Vdd (which can be greater than Vref), causing the transistor to operate improperly. As shown in FIG. 4, the switches 402 can be operated by control signals phil and phi2, respectively, in some examples. [0035] The switches 1 06, 1 08, 402 can include any number and combination of transistors (e.g., PMOS transistors, n-type metal-oxide-semiconductor (NMOS) transistors, complimentary metal-oxide-semiconductor (CMOS) transistors, etc.), mechanical switches, micro-electromechanical system (MEMS) switches, or other suitable switching components. For example, switch 1 06 can include a PMOS transistor, switch 1 08 can include a PMOS transistor, the vertical switch of switches 402 can include an NMOS transistor, and the horizontal switch of switches 402 can include a CMOS transistor. Thus, the particular implementations of the switches 1 06, 1 08, 402 shown in the figures are not intended to be limiting.

[0036] FIG. 5 is a flow chart of an example of a process for manufacturing an electrical circuit 1 02 usable for biasing or measuring current from a sensor according to some aspects. Some examples can include more, fewer, or different steps than the steps depicted in FIG. 5. For simplicity, the steps of FIG. 5 are described with reference to components described above with regard to FIG. 1 , but other implementations are possible.

[0037] In block 502, a manufacturer of the electrical circuit 1 02 provides a comparator 1 10 having two input terminals and an output terminal. In some examples, the manufacturer of the electrical circuit 102 can receive the comparator 1 1 0 from a distributor (e.g., by purchasing the comparator 1 10 from the distributor). In other examples, the manufacturer of the electrical circuit 1 02 can create the comparator 1 1 0. For instance, the manufacturer of the electrical circuit 1 02 can configure one or more transistors or other circuit components into an arrangement that functions as the comparator 1 1 0. In some examples, the manufacturer can program a comparator into an FPGA or form a switch 1 08 on a silicon die as a part of an ASIC.

[0038] In block 504, the manufacturer of the electrical circuit 1 02 enables a first input terminal of the comparator 1 1 0 to receive a reference voltage (Vref) from a reference-voltage source. For example, the manufacturer can electrically couple the first input terminal of the comparator 1 10 to the reference-voltage source. As another example, the manufacturer can attach a connector to the first input terminal of the comparator 1 1 0 that enables the first input terminal to electrically couple with the reference-voltage source. As still another example, the manufacturer can solder or otherwise attach the first input terminal of the comparator 1 1 0 onto a PCB or other substrate, which may have a lead or wire extending from the first input terminal of the comparator 1 10 to the reference-voltage source (or a connector for the reference-voltage source).

[0039] In block 506, the manufacturer of the electrical circuit 102 enables a second input terminal of the comparator 1 10 to receive an input signal from a sensor 104. For example, the manufacturer can electrically couple the second input terminal of the comparator 1 10 to the sensor. As another example, the manufacturer can attach a connector to the second input terminal of the comparator 110 that enables the second input terminal to electrically couple with the sensor 104. As still another example, the manufacturer can solder or otherwise attach the second input terminal of the comparator 1 10 onto a PCB or other substrate, which may have a lead or wire extending from the second input terminal of the comparator 1 10 to the sensor 104 (or a connector for the sensor 104).

[0040] In block 508, a manufacturer of the electrical circuit 102 provides a switch 108 having two connection terminals and a control terminal. In some examples, the manufacturer of the electrical circuit 102 can receive the switch 108 from a distributor (e.g., by purchasing the switch 108 from the distributor). In other examples, the manufacturer of the electrical circuit 102 can create the switch 108. For instance, the manufacturer of the electrical circuit 102 can configure one or more transistors or other circuit components into an arrangement that functions as the switch 108. In some examples, the manufacturer can program a switch 108 into an FPGA or form a switch 108 on a silicon die as a part of an ASIC.

[0041 ] In block 510, the manufacturer of the electrical circuit 102 enables a first connection terminal of the switch 108 to electrically couple with a charge-packet source (e.g., C P um P ). For example, the manufacturer can electrically couple the first connection terminal of the switch 108 to the charge-packet source. As another example, the manufacturer can attach a connector to the first connection terminal of the switch 108 that enables the first connection terminal to electrically couple with the charge-packet source. As still another example, the manufacturer can solder or otherwise attach the first connection terminal of the switch 108 onto a PCB or other substrate, which may have a lead or wire extending from the first connection terminal of the switch 108 to the charge-packet source (or a connector for the charge-packet source).

[0042] In block 512, the manufacturer of the electrical circuit 102 enables a second connection terminal of the switch 108 to electrically couple with the sensor 104. For example, the manufacturer can electrically couple the second connection terminal of the switch 108 to the sensor 104. As another example, the manufacturer can attach a connector to the second connection terminal of the switch 108 that enables the second connection terminal to electrically couple with the sensor 104. As still another example, the manufacturer can solder or otherwise attach the second connection terminal of the switch 108 onto a PCB or other substrate, which may have a lead or wire extending from the second connection terminal of the switch 108 to the sensor 104 (or a connector for the sensor 104).

[0043] In block 514, the manufacturer of the electrical circuit 102 electrically couples the output terminal of the comparator 1 10 of the control terminal of the switch 108. For example, the manufacturer can solder or otherwise attach the output terminal of the comparator 1 10 onto a PCB or other substrate, which may have a lead or wire extending from the output terminal of the comparator 1 10 to the control terminal of the switch 108.

[0044] The foregoing description of certain examples, including illustrated examples, has been presented only for the purpose of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Numerous modifications, adaptations, and uses thereof will be apparent to those skilled in the art without departing from the scope of the disclosure.