Voltage Regulator with Offset Calibration
By designing a bidirectional voltage regulator and calibration circuit in the electrochemical instrument, the error and temperature drift problems caused by the offset current in the working electrode current measurement are solved, and accurate measurement and stability improvement of small currents are achieved.
Patent Information
- Application Number
- CN202110180576.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-09-17
- Filing Date
- 2021-02-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-02-09
AI Technical Summary
When existing electrochemical instruments measure working electrode current, it is difficult to accurately sense the tiny working electrode current due to the existence of offset current, and there is a lack of effective calibration methods, resulting in measurement errors and temperature drift problems.
A bidirectional voltage regulator is designed, including a front-end part and an offset part. The front-end part can switch between normal configuration and calibration configuration through a feedback amplifier and a replica feedback amplifier coupled to the working electrode, using current mirror and clock control. The dual-slope analog-to-digital converter measures the working electrode current and calibrates the offset current, and modifies the digital signal through the calibration factor stored in the memory to obtain accurate working electrode current measurement results.
It achieves accurate measurement of working electrode current, reduces temperature drift and working electrode voltage dependence, and does not require precision circuits and long-term calibration, making it cost-effective and time-effective.
Smart Images

Figure CN113296570B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. patent application No. 16 / 948,409, filed on September 17, 2020, which claims the benefit of U.S. Provisional Application No. 62 / 979,692, filed on February 21, 2020. Technical Field
[0003] The present disclosure relates to electronic devices for electrochemical instruments, and more particularly, to a bidirectional regulator with an offset calibration circuit. Background Art
[0004] Chemical experiments can use electrochemical cells (i.e., batteries) that are configured to generate electrical signals (e.g., currents) based on chemical reactions. The working electrode of the battery can be coupled to a voltage regulator circuit (i.e., a potentiostat). The potentiostat is configured to (i) set / maintain the voltage on the working electrode, and (ii) measure the working electrode current (iwe) flowing into or out of the battery at the working electrode. In some applications (e.g., glucose sensing), the working electrode current may be approximately picoamperes (pA), which may be difficult to sense accurately. One reason for this difficulty is that, in order to improve the linearity of the sensor for measuring the working electrode current and allow bidirectional measurement of the working electrode current, an offset current is added to the working electrode current. In the absence of calibration, changes in the offset current may correspond to errors in sensing the working electrode current. Summary of the invention
[0005] In at least one aspect, the present disclosure generally describes a method for measuring a working electrode current. The method includes generating a first output current using a potentiostat coupled to a working electrode. The first output current includes a working electrode current component and an offset current component. The method also includes converting the first output current into a first digital word, and modifying the first digital word using a calibration factor stored in a memory to obtain a measurement result of the working electrode current. The method also includes detecting a calibration event. The method also includes performing a calibration. Performing the calibration includes reconfiguring the potentiostat for calibration. The calibration also includes generating a second output current using the reconfigured potentiostat. The second output current includes an offset current component and does not include the working electrode current. The calibration also includes converting the second output current into a second digital word, and creating / updating the calibration factor stored in the memory based on the second digital word.
[0006] In another aspect, the present disclosure generally describes a bidirectional regulator that can be configured in a normal configuration or a calibration configuration. The bidirectional regulator includes a front end portion that includes a first feedback amplifier coupled to a working electrode and a replica feedback amplifier that is not coupled to the working electrode. In the normal configuration, the first feedback amplifier is coupled to a sensing and digitization portion (i.e., a sensing / digitization portion), and the replica feedback amplifier is decoupled from the sensing / digitization portion. In the calibration configuration, the first feedback amplifier is decoupled from the sensing / digitization portion, and the replica feedback amplifier is coupled to the sensing / digitization portion.
[0007] In a possible embodiment, the bidirectional regulator includes a current delivery section coupled between the front end section and the sensing and digitizing section. The current delivery section may include a first current mirror and a second current mirror. The first current mirror and the second current mirror may be cascode current mirrors, and / or they may each include a chopper.
[0008] On the other hand, the present disclosure generally describes a battery measurement system. The battery measurement includes an electrochemical cell having a working electrode and a bidirectional regulator. The bidirectional regulator is configured as a normal configuration or a calibration configuration. The bidirectional regulator includes a front end portion, which includes a first feedback amplifier coupled to the working electrode and a replica feedback amplifier not coupled to the working electrode. In the normal configuration, the first feedback amplifier of the front end portion is coupled to the sensing / digitization portion, and the replica feedback amplifier of the front end portion is decoupled from the sensing / digitization portion. In the calibration configuration, the first feedback amplifier of the front end portion is decoupled from the sensing / digitization portion, and the replica feedback amplifier of the front end portion is coupled to the sensing / digitization portion. The bidirectional regulator also includes an offset portion, which includes an offset current source and a replica offset current source. In the normal configuration, the offset current source is coupled to the working electrode and the first feedback amplifier, and the replica offset current source is coupled to the replica feedback amplifier. In the calibration configuration, the offset current source is coupled to the replica feedback amplifier, and the replica offset current source is coupled to the working electrode and the first feedback amplifier. The bidirectional regulator also includes a current delivery portion, which is coupled between the front end portion and the sensing / digitization portion. The current transfer section includes a first current mirror and a second current mirror.
[0009] In a possible implementation of the battery measurement system, the sensing / digitizing portion of the bidirectional regulator includes a dual-slope analog-to-digital converter.
[0010] The foregoing illustrative summary, as well as other exemplary objects and / or advantages of the present disclosure, and implementations are further explained in the following detailed description and its accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 is a block diagram of a battery measuring system according to an embodiment of the present disclosure.
[0012] Figure 2A is a schematic diagram of a front end section including a potentiostat according to a possible embodiment of the present disclosure and showing the working electrode current sunk by the battery.
[0013] Figure 2B Yes Figure 2A Schematic diagram of the front end portion of a potentiostat including an offset current source to facilitate measurement of the working electrode current provided by the cell.
[0014] Figure 3A is a schematic block diagram of a voltage regulator in a configuration for normal operation according to an embodiment of the present disclosure.
[0015] Figure 3B is in a configuration for calibration according to an embodiment of the present disclosure Figure 3A Schematic block diagram of a voltage regulator.
[0016] Figure 4 is a schematic block diagram of a clocked dual slope analog-to-digital converter (ADC) according to an embodiment of the present disclosure.
[0017] Figure 5 A portion of the signals associated with a clocked dual slope ADC is shown.
[0018] Figure 6 A bidirectional regulator with offset calibration according to an embodiment of the present disclosure is shown.
[0019] Figure 7 The embodiment according to the present disclosure is shown. Figure 6 Timing diagram of the signals associated with a bidirectional regulator.
[0020] Figure 8 A flow chart of a method for measuring working electrode current according to an embodiment of the present disclosure is shown.
[0021] The components in the drawings are not necessarily drawn to scale relative to each other. Like reference numerals indicate corresponding parts throughout the several views of the drawings. DETAILED DESCRIPTION
[0022] The present invention discloses a potentiostat that accepts a wide range (i.e., rail-to-rail) of set voltages and provides bidirectional working electrode current measurement. The potentiostat includes circuits and methods that provide calibration and elimination of offset current to improve the accuracy of the measured working electrode current without any changes to the battery measurement system during operation. The disclosed circuits and methods can advantageously reduce temperature drift and working electrode voltage dependence in measurements performed by the potentiostat. Calibrating the potentiostat according to the disclosed method may not significantly affect or interrupt the function of the potentiostat. Since the disclosed circuits and methods do not require precision circuits or long calibration times, they can be cost-effective and time-effective.
[0023] Figure 1 is a block diagram of a battery measurement system according to an embodiment of the present disclosure. The battery measurement system 100 includes a potentiostat 110 coupled to a working electrode (WE) of a battery 101. The potentiostat 110 is configured to set the working electrode voltage according to a set voltage (VDAC) received at an input of the potentiostat. In addition, the potentiostat 110 is configured to provide a measurement result of a working electrode current (IWE) at an output of the potentiostat. For example, the measurement result may be a digital signal ([IWE]) corresponding to the working electrode current.
[0024] The voltage regulator 110 may be implemented differently. One possible implementation of the voltage regulator with low power and small die area requirements includes a current delivery section 130. The current delivery section 130 allows the battery 101 to be electrically decoupled from the sensing and digitization circuits of the sensing and digitization section (i.e., the sensing / digitization section 140) so that the working electrode current is not significantly affected by its measurement. The current delivery section 130 may include one or more current mirrors. Each of the one or more current mirrors may be implemented differently to improve performance. For example, one or more current mirrors may be implemented in a common source and common gate topology to reduce the impact of process-induced transistor variations on the accuracy of the replicated current. In addition, one or more current mirrors may include a chopper circuit to reduce noise.
[0025] The voltage regulator 110 may further include a front-end circuit (ie, a front-end portion 120 ) coupled between the battery 101 and the current delivery portion 130 . Figure 2A is a schematic diagram of a front end portion including a potentiostat according to a possible embodiment of the present disclosure. As shown, the front end portion 220 is coupled to a working electrode (we) of a battery 201, which has at least a working electrode (we) and a reference electrode (re). The front end portion 220 may include an amplifier (A1) and a transistor (MPG) configured to set a working electrode voltage (vwe) equal to a set voltage (vdac) and conduct a working electrode current (iwe).
[0026] Figure 1 The voltage regulator 110 also includes a circuit configured to sense the current received from the current delivery section 130 and digitize the sensed current (i.e., the sensing / digitizing section 140). The sensing / digitizing section 140 may be coupled to an offset section. As will be discussed, the offset section may help improve the linearity of the sensing and provide bidirectional operation. While allowing bidirectional measurements, the offset current may affect the sensing / digitizing results and may reduce the temperature stability of the voltage regulator.
[0027] Figure 2A The circuit configuration shown supports working electrode current in the direction into the cell 201 (i.e., out of the potentiostat). In other words, Figure 2A The circuit configuration shown supports the working electrode current drawn by the cell (ie, +iwe). Figure 2A The configuration shown does not support working electrode current in the direction away from the cell (i.e., into the potentiostat). Figure 2A The circuit configuration shown supports a working electrode current (ie, -iwe) provided by the battery.
[0028] Figure 2B Yes Figure 2A Schematic diagram of the front end of a potentiostat including an offset current source (ioff) to facilitate measurement of the working electrode current (i.e., -iwe) provided by the battery. In other words, the offset current can provide a path for the source current to flow in the potentiostat. Therefore, Figure 1 The potentiostat 110 may include an offset section 150 to support bidirectional working electrode current (ie, ±iwe). Figure 1 The illustrated regulator 110 may be bidirectional.
[0029] Figure 3A is a schematic block diagram of a voltage regulator according to an embodiment of the present disclosure. The voltage regulator 300 includes an offset section 150 to provide a bidirectional measurement of a working electrode current (IWE). The front end section 120 is configured by a first feedback amplifier 321 to adjust a set voltage (VDAC) at the working electrode (WE). The first current mirror 331 of the current delivery section 130 is configured to provide a reference current (IR) from an offset current (IBIAS) without consuming (i.e., reducing) a large portion of the upper rail voltage (VDD). Therefore, the input node 335 coupled to the first front end transistor (MPG) may be approximately at the upper rail voltage (VDD). Therefore, the range of the set voltage (VDAC) may substantially span the voltage range from the lower rail of the voltage regulator (e.g., the ground voltage) to the upper rail of the voltage regulator (i.e., VDD). This may be particularly advantageous when the rail-to-rail voltage of the voltage regulator is small, in which case the significant voltage drop of the device may limit the range of working electrode voltages that can be applied by the voltage regulator. Figure 3ARegulators that avoid this limitation in the set voltage range are called rail-to-rail regulators.
[0030] The first current mirror is also configured to generate a cancellation reference current (irc) as shown in the following formula.
[0031] irc=ir (1)
[0032] The current delivery section 130 may include a second current mirror 332. The second current mirror 332 is configured to generate a second current (i2) which is a copy of the first current (i1), wherein the first current (i1) is given by the following formula.
[0033] i2=i1=ir-(ioff±iwe) (2)
[0034] Therefore, at the output node 336, the output current (iout) may be given by the following equation.
[0035] iout=irc–i2=ioff±iwe (3)
[0036] In other words, the output current (iout) is the working electrode current combined (i.e., sum, difference) with the offset current. The output current is received as an input to the sensing / digitizing section 140. The sensing / digitizing section 140 is configured to generate a digital signal ([iwe]) corresponding to the working electrode current.
[0037] In a possible embodiment, the sensing / digitalization section 140 is an analog-to-digital converter (i.e., ADC), such as a dual slope ADC. In the present disclosure, a clocked dual slope ADC will be considered. The clocked dual slope ADC 341 is configured to charge and discharge a capacitor. The capacitor can be charged with an output current (iout) and discharged with a current corresponding to the ADC current and the output current (e.g., iadc-iout). The ADC current can be generated by a current replicator (e.g., a current mirror) 351 included in the offset section 150. The current replicator 351 can be configured to generate an ADC current (and an offset current, ioff) from an ADC reference current (not shown). The generation of the current can be configured so that the ADC current is a replica or scaled version of the offset current (ioff).
[0038] The offset current may change or drift depending on changes in the environment (e.g., temperature) or circuit parameters (e.g., set voltage). In addition, the ADC current generated by the current replicator 351 may not change or drift in exactly the same way as the offset current. Low temperature dependence may require the ADC current to have a very low temperature coefficient. Any mismatch between iadc and ioff may result in a high temperature coefficient associated with the measurement of the working electrode current.
[0039] Generating a digitized version of the working electrode current (i.e., [iwe]) may require removing (e.g., subtracting) an offset current (ioff). However, an accurate value of the offset current (ioff) may be required. For example, the offset current may be much larger than the working electrode current. Therefore, small changes in the offset current may affect the accuracy of the working electrode current. However, because the offset can improve the performance (e.g., linearity) of the clocked dual slope ADC, it may not be desirable to remove the offset current from iout (i.e., before digitization). At least for this reason, it may be desirable to measure ioff as a calibration step in determining the working electrode current, and to remove the calibrated ioff after digitization. Therefore, the regulator 300 includes an offset calibration circuit to measure the offset current.
[0040] The voltage regulator 300 includes a calibration circuit. The calibration circuit may be included in the front end portion 120 and may be included in the offset portion 150. For example, the front end portion 120 may include a replica feedback amplifier 322 for calibration. The replica feedback amplifier 322 may include a replica amplifier (Arep) substantially identical to the first amplifier (A1) of the first feedback amplifier 321. The replica feedback amplifier 322 may also include a replica transistor (MPG_rep) substantially identical to the first transistor (MPG) of the first feedback amplifier 321. The offset portion 150 may include a portion of a current replicator 351 for calibration. For example, the current replicator 351 may include a portion 352 for generating a replica offset current (ioff_rep) substantially equal to the offset current.
[0041] Figure 3A The regulator is in a configuration for normal operation (i.e., iwe measurement). When configured for normal operation (i.e., normal configuration, normal mode), the calibration circuits of the front end 120 and the offset section 150 do not affect the output of the regulator (i.e., vwe, iwe). The replica transistor (MPG_rep) is tied to the upper rail (vdd) of the regulator and the replica offset current source 353. The calibration circuit is not coupled to the current delivery section 130 or the sensing / digitization section 140. In some embodiments, the calibration circuit can be disabled during normal mode to reduce power consumption.
[0042] Figure 3B is a schematic block diagram of a voltage regulator 300 in a configuration for calibration (i.e., calibration configuration, calibration mode) according to an embodiment of the present disclosure. In the calibration configuration, the replica feedback amplifier 322 of the front end portion 120 is tied to the input (node) 335 and the offset current source 354 of the current replicator 351. Therefore, the output current (iout) measured by the sensing / digitizing portion 140 includes only a unique offset current (i.e., iout=ioff).
[0043] In the calibration configuration, the working electrode current (IWE) is maintained by the first feedback amplifier 321, which is tied to the upper rail voltage (VDD) and the replica offset current source 353 of the current replicator 351. Therefore, a digital signal corresponding to IOFF (i.e., [IOFF]) can be generated by the clocked dual slope ADC 341, while the working electrode voltage and the working electrode current are not significantly changed compared to the values in the normal configuration immediately before moving to the calibration configuration. In other words, the working electrode current and voltage are not interrupted by the calibration and are not (significantly) changed.
[0044] Calibration of the offset current may be performed periodically (e.g., on a schedule) or as needed (e.g., user selection, changes in the environment, and / or a signal). Switches and control signals may be used to enable changes between the normal configuration and the calibration configuration (or vice versa). The control signal may be triggered by the user or by an event. For example, a change in the working electrode voltage above a threshold or a temperature change may trigger a switch signal to reconfigure the potentiostat from the normal configuration to the calibration configuration. Calibration may then be performed (e.g., to obtain / store a calibration factor corresponding to the measured offset). After calibration is complete, the switch signal may trigger a switch in the potentiostat to reconfigure the potentiostat from the normal configuration to the calibration configuration. Figure 3B )Reconfigure back to normal configuration( Figure 3A ).
[0045] Figure 4 is a schematic block diagram of a clocked dual slope ADC according to an embodiment of the present disclosure. The clocked dual slope ADC operates by synchronously charging and discharging (e.g., using a clock signal (clk)) a capacitor. The capacitor is charged from an initial voltage using a current conveyor output current iout until the voltage across the capacitor (vcap) crosses a known (e.g., input) reference voltage level (vref). On the next clock cycle, the capacitor is discharged using a known current (i.e., the ADC current, iadc). The charging and discharging process is repeated for a given accumulation time (nt×tclk). Because the voltage across the capacitor is equal to its charge / discharge current integrated over time, and because the charged voltage is equal to the discharged voltage, it can be shown that the current conveyor output current (iout) is related to the known current (iadc), the measured charge time (Tchrg), and the known discharge time (Tdischrg), as shown in the following formula.
[0046] iout=(iadc-iout)·(Tdischrg) / (Tchrg) (4)
[0047] Thus, the clocked dual slope ADC 341 includes a capacitor (C) and may include a plurality of switches (S1, S2) for configuring the capacitor to be charged or discharged. For example, when the second switch (S2) is disconnected (i.e., open), the voltage (vcap) on the capacitor is ramped up using the output current (iout). The first switch (S1) may be configured to be turned on (i.e., closed) when the second switch is disconnected (i.e., open) so as to keep the ADC reference current (iadc) flowing during the transition between the charging event and the discharging event to prevent delays or short-time pulse interference. When the second switch (S2) is turned on (i.e., closed) and the first switch (S1) is disconnected (i.e., open), the voltage (vcap) on the capacitor is linearly reduced (e.g., to a known duration) using the ADC (i.e., reference) current (iadc). The process may then be repeated for a given accumulation time (nt×tclk).
[0048] The transition between charging and discharging may be based on a comparison of the capacitor voltage vcap to a reference voltage vref. Therefore, the clocked dual slope ADC 341 may further include a comparator 410 configured to compare vcap to vref and include digital logic (e.g., latch, flip-flop / trigger switch, logic gate, etc.) to output a switch signal (ph1, ph2) to a corresponding switch to configure discharging after vcap reaches vref.
[0049] The clocked dual slope ADC 341 may also include a counter 430 that may be configured to count clock (clk) cycles while the capacitor (C) is charging in order to determine a digital value (n1) related to the measured charging time.
[0050] In some embodiments, the clocked dual slope ADC 341 may further include a third switch S3. To extract the gain of the regulator during calibration, the switch en_iadc_tp may be turned on (e.g., by the signal en_iadc_tp) to route the ADC reference current (iadc) to the output pad 420. The ADC reference current (iadc) may then be trimmed to adjust (e.g., optimize) the temperature coefficient, at which point the ADC reference current (iadc) may be measured and stored. The measured value of the ADC reference current (iadc) represents the gain of the regulator.
[0051] Figure 5 1 shows a portion of a first signal (vcap) associated with a clocked dual slope ADC. As shown, the voltage on the capacitor (vcap) increases linearly during the charging time. The number of clock cycles (i.e., n2) accumulated during a given charging period (i.e., i) is (i)). Once the voltage on the capacitor (vcap) reaches the reference voltage (vref), the discharge process begins at the next clock edge (e.g., rising edge) after vref is crossed. The number of clock cycles during a given discharge period (i.e., i) is given by n1 (i) The total number of clock cycles during the acquisition time (nt) is n1 for all charging and discharging periods. (i) and n2 (i) The sum of (i.e., nt = ∑n1 (i) +∑n2 (i) =n1+n2). Figure 4 As shown, during the charging period, the current that charges the capacitor is iout, and during the discharging period, the current that discharges the capacitor is the difference between the ADC reference current (iadc) and the output current (iout) (ie, iadc-iout).
[0052] The potentiostat can be configured in a normal configuration or a calibration configuration. In the normal configuration, iout can be equal to the sum of the working electrode current component (iwe) and the offset current component (ioff). In the calibration configuration, iout can be equal to only the offset current component (ioff).
[0053] The ADC reference current can be made larger than the output current (i.e., iadc>iout) and can be adjusted to discharge the capacitor. During the acquisition time, the capacitor is repeatedly charged and discharged. For the acquisition time nt.tclk, the voltage across the capacitor has an average value of vref (i.e., the voltage reference). This can be calculated by the total voltage generated during the charging time (i.e., ) is equal to the total voltage generated during the discharge time (i.e., ) to convert. Based on this, it can be shown that:
[0054] iwe=(n1 / nt)iadc–ioff (5)
[0055] The offset current (ioff) can be used in a clocked dual slope ADC because the offset current provides a comparable conversion rate for the voltage across the capacitor during charging and discharging, which in turn improves linearity. Therefore, although it can be used in a clocked dual slope ADC, the offset current can affect the measurement result (e.g., accuracy) of the working electrode current. For example, if the offset current and the ADC reference current drift differently with temperature (i.e., have different temperature coefficients), the measurement result of the working electrode current can appear to have a very high temperature coefficient. Therefore, calibrating the offset current can allow the clocked dual slope ADC to take advantage of the benefits of the offset current (i.e., linearity) without the disadvantage of reduced measurement accuracy.
[0056] Figure 6A bidirectional regulator according to an embodiment of the present disclosure is shown. The bidirectional regulator 600 includes a built-in offset calibration (i.e., cancellation) circuit. In other words, the bidirectional regulator includes a front end 620 that can be configured for normal (i.e., default) operation or for calibration operation. The front end includes a first feedback amplifier and a second (i.e., replica) feedback amplifier that can be optionally coupled to a current delivery section 630.
[0057] The bidirectional regulator 600 also includes a clocked dual slope ADC 640 configured to convert the current (e.g., current in either direction) flowing through the working electrode (WE) into a digital word (e.g., n1). The bidirectional regulator 600 can also be configured to modify the digital word using a calibration factor stored in the memory to obtain a measurement of the working electrode current.
[0058] The current delivery section 630 of the bidirectional regulator 600 includes a first cascode current mirror formed by transistors MP1, MP2, MP1C, and MP2C. The first cascode current mirror includes a first chopper (i.e., Chop1) coupled between the PMOS transistors MP1 and MP2 of the first cascode current mirror and the PMOS transistors MPC1 and MPC2. The first chopper (Chop1) is configured by a clock signal (f1) to alternatively (i) couple the drain of MP1 to the source of MP1C and to the source of MP2C, and (ii) couple the drain of MP2 to the source of MPC1 and to the source of MP2C. The first chopper (Chop1) is configured to suppress (e.g., eliminate) a mismatch (e.g., a random mismatch) associated with the first cascode current mirror configuration.
[0059] The first cascode current mirror also includes an amplifier (A2) coupled to the source terminal of MPG and the drain terminal of MP1 at an inverting input and coupled to the drain terminal of MP2 at a non-inverting input. The amplifier (A2) is configured to maintain the voltage at the drain of MP1 equal to the voltage at the drain of MP2 regardless of the value of the current (i1) flowing through the transistor MP1C, the value of which depends on the value of the working electrode current (iwe). Therefore, the amplifier (A2) reduces the systematic mismatch of MP1 and MP2 (e.g., due to channel length modulation) by maintaining the source-to-drain voltages of MP1 and MP2 equal.
[0060] The bidirectional regulator 600 further includes a second cascode current mirror formed by transistors MN1, MN2, MNC1, and MNC2. The second cascode current mirror includes a second chopper (Chop2) driven by a second clock signal (f2) that is twice the first clock signal (i.e., 2·f1).
[0061] The bidirectional regulator 600 also includes an offset section 650, which includes a third cascode current mirror (i.e., source), which is formed by MN3, MN4, MN3C and MN4C, and is configured to generate an offset current ioff and an ADC reference current iadc. The third cascode current source includes a third amplifier (A3), which is configured to increase the output impedance of the offset current source (because ioff is connected to WE and the WE voltage can vary) and reduce the system mismatch between ioff and iadc.
[0062] The offset current ioff is intentionally used to allow the regulator to convert the current through the WE in both directions (bidirectional), and also to improve the linearity of the digital conversion (i.e., conversion), and thus reduce gain errors, especially when the WE current (iwe) is low compared to the ADC reference current (iadc). Figure 6 As shown, assuming that the working electrode is flowing from the working electrode to the electrochemical cell, the output current (iout) can be expressed by the following formula.
[0063] iout=ioff+iwe (6)
[0064] The bidirectional regulator 600 includes a clocked dual slope ADC configured to convert an output current (iout) into a digital word (n1). Figure 7 yes Figure 6 6. As shown in the timing diagram, during phase ph2 (i.e., ph2=high), the capacitor is discharged with current iadc-iout, and during phase ph1 (i.e., ph1=high), the capacitor is charged with current iout. For a given acquisition time (i.e., nt·Tclk), the voltage generated during the charging and discharging time is the same, which results in the following formula.
[0065] n1(iadc-iout)·Tclk=n2·iout·Tclk (7)
[0066] Equation (7) and equation (6) can be processed to obtain the formula for the working electrode current as shown in the following formula.
[0067] iwe=(n1 / nt)·iadc–ioff (8)
[0068] As shown in the above formula, the conversion of IWE includes an ADC reference current (IADC) and an offset current (IOFF) corresponding to the gain / slope and offset of the regulator, respectively. In order to achieve accurate measurement of IWE with very low temperature drift, both currents IADC and IOFF must have very low temperature coefficients. The mismatch between IADC and IOFF may cause the currents to have opposite temperature coefficients. Therefore, without calibration, the temperature coefficient of IWE may be quite high. In addition to the mismatch effects, the finite output impedance of IOFF may cause significant current changes and temperature coefficient changes with respect to the applied WE voltage, which is very obvious in the case of rail-to-rail regulators. Figure 6 The regulator includes calibration circuits to mitigate these effects.
[0069] The calibration circuit of the bidirectional regulator includes replicas of the feedback amplifier (Arep and MPG_rep), replicas of the offset current formed by transistors MN3_rep and MNC3_rep, and switches s0, s0b, s1, s1b, s2, s2b, and en_idac_tp.
[0070] To extract (i.e., measure) the gain of the regulator, switch en_iadc_tp is turned on. This routes the ADC reference current (iadc) to output pad 641 to isolate it from the clocked dual slope ADC 640. The ADC reference current iadc can then be trimmed to its optimal temperature coefficient, measured, and stored. The measured value of the ADC reference current (iadc) represents the gain of the regulator (see equation (8)).
[0071] The offset current (ioff) may depend on the temperature of the bidirectional regulator as well as the WE voltage. The bidirectional regulator 600 may be configured to measure (ie, calibrate) and remove the offset current to reduce the effects of these dependencies. Figure 6The implemented calibration circuit can calibrate the offset current while maintaining the main functionality of the regulator (i.e., setting the voltage on the WE and maintaining the current flowing through the WE). In practice, the source of the pass gate transistor (MPG) of the feedback amplifier (A, MPG) can be disconnected from the drain of MP1 via switch s02b (i.e., s02b is disconnected) and connected to the supply voltage through switch s02. The source of the replica feedback amplifier MPG_rep is initially connected to the supply voltage. The replica of the offset current ioff_rep formed by transistors MN3_rep and MN3C_rep and the offset current ioff are switched from the drain of transistor MPG_rep and the drain of MPG via switches s1 and s1b, respectively. Then, the source of MPG_rep is connected to the drain of MP1 via switch s0b. In this case, the output current (iout) is equal to the offset current ioff, and the clocked dual slope ADC is configured to convert only the offset current according to the following formula.
[0072] ioff=(noff / nt)·iadc (9)
[0073] The value noff may be stored and used to eliminate the effect of the offset current on the measured working electrode current.
[0074] Once the offset current is extracted, the source of the pass gate transistor MPG_rep is disconnected from the drain of MP1 via switches s0 and s0b and connected back to the supply voltage. The offset current replica ioff_rep and the offset current ioff are switched from the drain of transistor MPG and the drain of MPG_rep via switches s1 and s1b, respectively. The source of MPG is then disconnected from the supply voltage and then connected to the drain of MP1 via switch s2b. After the current offset extraction, the clocked dual slope ADC conversion is given by the following formula.
[0075] iwe=[(nwe–noff) / (nt)]·iadc (10)
[0076] The disclosed circuits and techniques may have a variety of benefits. One benefit is that built-in self-current offset cancellation may remove the effect of offset current on WE current conversion, thereby significantly reducing temperature drift and WE voltage dependence. Another benefit is that built-in self-current offset cancellation may not affect and / or interrupt the main functionality of the regulator because the offset current is converted (i.e., calibrated) when the WE voltage is set and current flows through the WE. Another benefit is that dedicated circuitry may not be required to generate a high-precision reference current covering the measurement range for calibration. Another benefit may be that the time used for calibration (i.e., calibration time) is reduced compared to another method (e.g., a best fit method).
[0077] Figure 8 A flow chart of a method for measuring a working electrode current according to an embodiment of the present disclosure is shown. In method 800, an output current (iout) (i.e., a first output current) is generated 810 at a first time using a bidirectional regulator (i.e., in a normal configuration). The first output current is a function of the working electrode current (iwe) and the offset current (ioff). Then, the first output current is converted (e.g., by a clocked dual slope ADC conversion) 820 to a first digital word. Then, the digital word is modified 830 using a calibration factor corresponding to the measurement result of the offset current. The modification can remove the offset current from the digital word so that the output 890 (i.e., output from the regulator) is the measurement result of the working electrode current (iwe). However, if a calibration event 840 is detected, a calibration factor 880 can be created or updated. A calibration event can be triggered by a variety of sources. For example, a calibration event can be an event triggered by a change in an operating condition (e.g., temperature, working electrode voltage, etc.), an event triggered by a schedule (e.g., a timer reaches timing after a period of time), or an event triggered by a user (e.g., user input). If a calibration event is detected 840, the bidirectional regulator can be reconfigured 850 for (offset current) calibration without significantly affecting the working electrode voltage or the working electrode current. Then, using the reconfigured regulator (i.e., the regulator in the calibration configuration), a second output current is generated 860, which is a function of the offset current (i.e., excluding the working electrode current component). The second output current is then converted 870 to a second digital word representing a calibration factor corresponding to the offset current (i.e., the calibration factor of the offset current). The second digital word can then be used to update 880 the calibration factor stored in the memory. Alternatively, in the first calibration of the offset current, the calibration factor can be added to the memory. In either case, the calibration factor can be retrieved from the memory and used to modify 830 the first digital word when outputting 890 the measurement result of the working electrode current (without the offset current component).
[0078] In the specification and / or drawings, typical embodiments have been disclosed. The present disclosure is not limited to such exemplary embodiments. The use of the term "and / or" includes any and all combinations of one or more associated listed items. The drawings are schematic representations and are therefore not necessarily drawn to scale. Unless otherwise specified, specific terms have been used in a general and descriptive sense, not for limiting purposes.
[0079] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those of ordinary skill in the art. Methods and materials similar or equivalent to those described herein may be used in the practice or testing of the present disclosure. As used in this specification and in the appended claims, the singular forms "one", "a", "the" include multiple referents unless the context clearly specifies otherwise. The term "comprising" and its variants as used herein are used synonymously with the term "including" and its variants, and are open-ended, non-restrictive terms. The term "optional" or "optionally" used herein refers to the features, events or situations described subsequently that may or may not occur, and the description includes instances where the features, events or situations occur and instances where they do not occur. The range can be expressed herein as from "about" a specific value, and / or to "about" another specific value. When such a range is expressed, one aspect includes from a specific value and / or to another specific value. Similarly, when a value is expressed as an approximation by using the antecedent "about", it should be understood that the specific value forms another aspect. It will be further understood that the endpoints of each of the ranges are significant both relative to the other endpoint, and independently of the other endpoint.
[0080] Some embodiments may be implemented using various semiconductor processing and / or packaging technologies. Some embodiments may be implemented using various types of semiconductor processing technologies associated with semiconductor substrates, including but not limited to, for example, silicon (Si), gallium arsenide (GaAs), gallium nitride (GaN), silicon carbide (SiC), etc.
[0081] Although certain features of the described embodiments have been described as described herein, those skilled in the art will now appreciate that many modifications, alternatives, variations, and equivalents are contemplated. Therefore, it should be understood that the appended claims are intended to cover all such modifications and variations that fall within the scope of the embodiments. It should be understood that these modifications and variations are presented only by way of example and not limitation, and that various changes in form and detail may be made. In addition to mutually exclusive combinations, any portion of the apparatus and / or method described herein may be combined in any combination. The embodiments described herein may include various combinations and / or sub-combinations of the functions, components, and / or features of the different embodiments described.
Claims
1. A method for measuring working electrode current, the method comprising: generating a first output current using a potentiostat coupled to the working electrode, the first output current comprising a working electrode current component and an offset current component; converting the first output current into a first digital word; modifying the first digital word using a calibration factor stored in a memory to obtain a measurement of the working electrode current; detecting calibration events; as well as Perform calibration by: reconfiguring the regulator for calibration; generating a second output current using the reconfigured regulator, the second output current being a measurement of the offset current; converting the second output current into a second digital word; as well as At least one of creating or updating the calibration factor stored in the memory is performed based on the second digital word.
2. The method for measuring working electrode current according to claim 1, wherein: converting the first output current into a first digital word and converting the second output current into a second digital word using a dual slope analog-to-digital converter; the first digital word corresponding to a first number of clock cycles taken to charge a capacitor of the dual slope analog-to-digital converter using the working electrode current component and the offset current component; and The second digital word corresponds to a second number of clock cycles taken to charge a capacitor of the dual slope analog-to-digital converter using the offset current component.
3. The method for measuring the working electrode current of claim 2, wherein modifying the first digital word using a calibration factor stored in a memory to obtain a measurement result of the working electrode current comprises: The second number of clock cycles is subtracted from the first number of clock cycles to obtain a third number of clock cycles taken to charge a capacitor of the dual slope analog-to-digital converter using the working electrode current component.
4. A method for measuring working electrode current according to claim 1, wherein the calibration event corresponds to (i) a change in the operating conditions of the regulator; (ii) a plan; or (iii) a user input.
5. The method for measuring working electrode current according to claim 1, wherein performing the calibration comprises: While performing the calibration, a working electrode voltage and a working electrode current at the working electrode are maintained.
6. A bidirectional regulator capable of being configured in a normal configuration or a calibration configuration, the bidirectional regulator comprising: a working electrode coupled to the cell and configured to conduct a bidirectional current into the cell or conduct the bidirectional current out of the cell; an offset portion coupled to the working electrode and configured to provide a path for the bidirectional current to flow out of the cell; and A front end portion, the front end portion comprising a first feedback amplifier coupled to the working electrode and a replica feedback amplifier not coupled to the working electrode, wherein: In the normal configuration, the first feedback amplifier is coupled to the sensing and digitizing section by the current delivery section, and the replica feedback amplifier is decoupled from the sensing and digitizing section; and In the calibration configuration, the first feedback amplifier is decoupled from the sensing and digitizing section by the current delivery section, and the replica feedback amplifier is coupled to the sensing and digitizing section by the current delivery section.
7. The bidirectional regulator according to claim 6, further comprising: An offset section, the offset section comprising an offset current source and a replica offset current source, wherein: In the normal configuration described: The offset current source is coupled to the working electrode and the first feedback amplifier, The replica offset current source is coupled to the replica feedback amplifier, A working electrode voltage and a working electrode current at the working electrode are maintained by the first feedback amplifier and the offset current source, and The sensing and digitizing section is configured to receive a first output current including a working electrode current component and an offset current component, and to remove the offset current component from the first output current using a calibration factor to generate a measurement of the working electrode current; and In the described calibration configuration: The offset current source is coupled to the replica feedback amplifier, The replica offset current source is coupled to the working electrode and the first feedback amplifier, The working electrode voltage and the working electrode current at the working electrode are maintained by the first feedback amplifier and the offset current source, and The sensing and digitizing section is configured to receive a second output current including the offset current component and create / update a calibration factor corresponding to the offset current component.
8. The bidirectional regulator according to claim 6, further comprising: A current delivery section is coupled between the front end section and the sensing and digitizing section, and includes a first current mirror and a second current mirror.
9. The bidirectional regulator of claim 6, wherein the sensing and digitizing section comprises a dual slope analog-to-digital converter configured to generate a first measurement of a charging period of a capacitor and a second measurement of a discharging period of the capacitor.
10. The bidirectional regulator of claim 6, wherein the configuring into the calibration configuration is triggered by a calibration event, and the configuring into the normal configuration is triggered after a calibration factor is generated or updated.
11. A battery measurement system, comprising: an electrochemical cell having a working electrode; and A bidirectional regulator, the bidirectional regulator being configurable in a normal configuration or a calibration configuration, the bidirectional regulator comprising: A front end portion, the front end portion comprising a first feedback amplifier coupled to the working electrode and a replica feedback amplifier not coupled to the working electrode, wherein: In the normal configuration, the first feedback amplifier is coupled to the sensing and digitizing section, and the replica feedback amplifier is decoupled from the sensing and digitizing section; and In the calibration configuration, the first feedback amplifier is decoupled from the sensing and digitizing section and the replica feedback amplifier is coupled to the sensing and digitizing section; An offset section, the offset section comprising an offset current source and a replica offset current source, wherein: In the normal configuration, the offset current source is coupled to the working electrode and the first feedback amplifier, and the replica offset current source is coupled to the replica feedback amplifier; and In the calibration configuration, the offset current source is coupled to the replica feedback amplifier, and the replica offset current source is coupled to the working electrode and the first feedback amplifier; and A current delivery section is coupled between the front end section and the sensing and digitizing section, and includes a first current mirror and a second current mirror.
12. The battery measurement system of claim 11, wherein the sensing and digitizing section comprises a dual slope analog-to-digital converter.
