TEMPERATURE MEASUREMENT USING A THERMISTOR
20230366747 · 2023-11-16
Assignee
Inventors
- Vamsikrishna Parupalli (Austin, TX, US)
- Zhong You (Austin, TX, US)
- Johann G. Gaboriau (Austin, TX, US)
- Amar Vellanki (Cedar Park, TX, US)
- Vikrant ARUMUGAM (Cedar Park, TX, US)
Cpc classification
H03M1/1014
ELECTRICITY
International classification
Abstract
A current digital-to-analog converter may be used in a system for measuring temperature of a thermistor, with mismatch reduction techniques applied to digital-to-analog converter elements of the digital-to-analog converter in order to maximize accuracy and precisions of the temperature measurement.
Claims
1. A system comprising: a digital-to-analog converter (DAC) comprising a plurality of DAC elements; an analog-to-digital converter (ADC) path; a thermistor coupled between an output of the DAC and an input of the ADC path; a reference impedance coupled in parallel with the thermistor between the output of the DAC and the input of the ADC path; and a digital controller coupled between an output of the ADC path and an input of the DAC and configured to: cause the DAC to drive a test current into the thermistor; measure a test voltage across the thermistor responsive to the test current via the ADC path; determine a first current for maximizing an input signal to the ADC based on the test voltage; enable a first number of the DAC elements of the DAC in order to generate the first current and drive the first current into the thermistor; measure a first voltage across the thermistor responsive to the first current via the ADC path; while measuring the first voltage, cause the plurality of DAC elements to be equally engaged via a mismatch reduction technique; determine a second current based on an impedance of the reference impedance; enable a second number of the DAC elements of the DAC in order to generate the second current and drive the second current into the reference impedance; measure a second voltage across the reference impedance responsive to the second current via the ADC path; while measuring the second voltage, cause the plurality of DAC elements to be equally engaged via the mismatch reduction technique; and determine an impedance of the thermistor based on the first voltage and the second voltage.
2. The system of claim 1, wherein the mismatch reduction technique comprises a circular shifting of DAC elements.
3. The system of claim 1, wherein the DAC is a current DAC.
4. The system of claim 1, wherein determining the first current comprises determining the first current such that the first voltage is approximately the maximum full scale value of the ADC path.
5. The system of claim 4, wherein determining the first current comprises determining the first current such that the first voltage is approximately 90% of the maximum full scale value of the ADC path.
6. The system of claim 1, wherein determining the second current comprises determining the second current such that the second voltage is approximately the maximum full scale value of the ADC path.
7. The system of claim 6, wherein determining the second current comprises determining the second current such that the second voltage is approximately 90% or more of the maximum full scale value of the ADC path.
8. The system of claim 1, wherein the digital controller is further configured to determine the impedance of the thermistor as equal to an impedance of the reference impedance multiplied by a first ratio of the first voltage to the second voltage further multiplied by a second ratio of the second current to the first current.
9. The system of claim 1, wherein the digital controller is further configured to determine a temperature associated with the thermistor based on the impedance of the thermistor.
10. A system comprising: a digital-to-analog converter (DAC) comprising a plurality of DAC elements; an analog-to-digital converter (ADC) path; a thermistor coupled between an output of the DAC and an input of the ADC path; a reference impedance coupled in parallel with the thermistor between the output of the DAC and the input of the ADC path; and a digital controller coupled between an output of the ADC path and an input of the DAC and configured to: enable a first number of the plurality of DAC elements to generate a reference current to the reference impedance; enable a second number of the plurality of DAC elements to generate a test current to the thermistor; measure a voltage difference between a test voltage across the thermistor responsive to the test current and a reference voltage across the reference impedance responsive to the reference current; determine a first value of the first number and a second value of the second number at which a magnitude of a voltage measured by the ADC path is minimized; while measuring the voltage, cause the plurality of DAC elements to be equally engaged via a mismatch reduction technique; determine a current for minimizing an input signal to the ADC based on the voltage; and determine an impedance of the thermistor based on the voltage measured by the ADC path responsive to the current for minimizing the input signal to the ADC, the first value, and the second value.
11. The system of claim 10, wherein the first number and the second number together comprise all of the plurality of DAC elements.
12. The system of claim 10, wherein the mismatch reduction technique comprises a circular shifting of DAC elements.
13. The system of claim 10, wherein the DAC is a current DAC.
14. The system of claim 10, wherein the digital controller is further configured to determine a temperature associated with the thermistor based on the impedance of the thermistor.
15. A method comprising, in a system having a digital-to-analog converter (DAC) comprising a plurality of DAC elements, an analog-to-digital converter (ADC) path, a thermistor coupled between an output of the DAC and an input of the ADC path, and a reference impedance coupled in parallel with the thermistor between the output of the DAC and the input of the ADC path: controlling the system with a digital controller coupled between an output of the ADC path and an input of the DAC and configured to: cause the DAC to drive a test current into the thermistor; measure a test voltage across the thermistor responsive to the test current via the ADC path; determine a first current for maximizing an input signal to the ADC based on the test voltage; enable a first number of the DAC elements of the DAC in order to generate the first current and drive the first current into the thermistor; measure a first voltage across the thermistor responsive to the first current via the ADC path; while measuring the first voltage, cause the plurality of DAC elements to be equally engaged via a mismatch reduction technique; determine a second current based on an impedance of the reference impedance; enable a second number of the DAC elements of the DAC in order to generate the second current and drive the second current into the reference impedance; measure a second voltage across the reference impedance responsive to the second current via the ADC path; while measuring the second voltage, cause the plurality of DAC elements to be equally engaged via the mismatch reduction technique; and determine an impedance of the thermistor based on the first voltage and the second voltage.
16. The method of claim 15, wherein the mismatch reduction technique comprises a circular shifting of DAC elements.
17. The method of claim 15, wherein the DAC is a current DAC.
18. The method of claim 15, wherein determining the first current comprises determining the first current such that the first voltage is approximately the maximum full scale value of the ADC path.
19. The method of claim 18, wherein determining the first current comprises determining the first current such that the first voltage is approximately 90% of the maximum full scale value of the ADC path.
20. The method of claim 15, wherein determining the second current comprises determining the second current such that the second voltage is approximately the maximum full scale value of the ADC path.
21. The method of claim 20, wherein determining the second current comprises determining the second current such that the second voltage is approximately 90% or more of the maximum full scale value of the ADC path.
22. The method of claim 15, wherein the digital controller is further configured to determine the impedance of the thermistor as equal to an impedance of the reference impedance multiplied by a first ratio of the first voltage to the second voltage further multiplied by a second ratio of the second current to the first current.
23. The method of claim 15, wherein the digital controller is further configured to determine a temperature associated with the thermistor based on the impedance of the thermistor.
24. A method comprising, in a system having a digital-to-analog converter (DAC) comprising a plurality of DAC elements, an analog-to-digital converter (ADC) path, a thermistor coupled between an output of the DAC and an input of the ADC path, and a reference impedance coupled in parallel with the thermistor between the output of the DAC and the input of the ADC path: controlling the system with a digital controller coupled between an output of the ADC path and an input of the DAC and configured to: enable a first number of the plurality of DAC elements to generate a reference current to the reference impedance; enable a second number of the plurality of DAC elements to generate a test current to the thermistor; measure a voltage difference between a test voltage across the thermistor responsive to the test current and a reference voltage across the reference impedance responsive to the reference current; determine a first value of the first number and a second value of the second number at which a magnitude of a voltage measured by the ADC path is minimized; while measuring the voltage, cause the plurality of DAC elements to be equally engaged via a mismatch reduction technique; determine a current for minimizing an input signal to the ADC based on the voltage; and determine an impedance of the thermistor based on the voltage measured by the ADC path responsive to the current for minimizing the input signal to the ADC, the first value, and the second value.
25. The method of claim 24, wherein the first number and the second number together comprise all of the plurality of DAC elements.
26. The method of claim 24, wherein the mismatch reduction technique comprises a circular shifting of DAC elements.
27. The method of claim 24, wherein the DAC is a current DAC.
28. The method of claim 24, wherein the digital controller is further configured to determine a temperature associated with the thermistor based on the impedance of the thermistor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0014] A more complete understanding of the present embodiments and advantages thereof may be acquired by referring to the following description taken in conjunction with the accompanying drawings, in which like reference numbers indicate like features, and wherein:
[0015]
[0016]
[0017]
DETAILED DESCRIPTION
[0018]
[0019] Thermistor 102 may comprise any suitable system, device, or apparatus having an impedance R which is a function of a temperature of or proximate to the thermistor. In some embodiments, thermistor 102 may comprise an NTC thermistor, such as that described in the Background section above.
[0020] As shown in
[0021] System 100 may also include an ADC path comprising an analog front end (AFE) 108 implementing a fixed-gain (e.g., a multiplicative gain of 7) non-inverting amplifier, anti-aliasing filter (AAF) 110, and ADC 112. ADC 112 may be implemented as a successive-approximation register (SAR) ADC in the embodiments represented by
[0022] System 100 may further include a digital controller 114 coupled to the output ADC 112 and configured to control a circular shift register 116 and DAC 104 based on the output of ADC 112, as described in more detail below. Digital controller 114 may comprise a processor, digital signal processor, application-specific integrated circuit, and/or other processing circuit. In some embodiments, all or part of the functionality of digital controller 114 may be implemented using firmware and/or software. Although digital controller 114, circular shift register 116, and DAC 104 are depicted in
[0023] In addition, a reference impedance 118 having a known impedance R.sub.REF may be in parallel with thermistor 102 and coupled, along with thermistor 102, between DAC 104 and the ADC path.
[0024]
[0025] At step 202, digital controller 114 may control DAC 104 to drive a small test current into thermistor 102, and the ADC path including ADC 112 may measure a test voltage across thermistor 102 and convert such measurement into a digital equivalent signal. At step 204, digital controller 114 may analyze the voltage to determine a first current I.sub.THERM required to drive thermistor 102 in order to maximize a signal at the input of ADC 112. For example, in some embodiments, first current I.sub.THERM may be selected as the current needed to generate a voltage at the input of ADC 112 which is approximately at the full-scale resolution (e.g., approximately 90% of full-scale resolution or more) of ADC 112. At step 206, digital controller 114 may enable a number of DAC elements 106 of DAC 104 in order to drive first current I.sub.THERM.
[0026] After DAC elements 106 are enabled to drive first current I.sub.THERM, at step 208, ADC 112 may measure a voltage V.sub.THERM across thermistor 102. In some embodiments, digital controller 114 and ADC 112 may be configured to collect several samples of voltage V.sub.THERM and average the samples to filter out noise in system 100. At step 210, while ADC 112 measures voltage V.sub.THERM across thermistor 102, digital controller 114 may employ mismatch reduction techniques to minimize mismatch among DAC elements 106. For example, as shown in
[0027] During steps 202 through 210, digital controller 114 or another component of system 100 may cause switch 120 to close and switch 122 to open.
[0028] At step 212, digital controller 114 may control DAC 104 to drive a second current I.sub.REF into reference impedance 118. The magnitude of second current I.sub.REF, and thus the number of DAC elements 106 enabled to drive second current I.sub.REF, may be based on impedance R.sub.REF of reference impedance 118. For example, in some embodiments, second current I.sub.REF may be selected as an estimated current needed to generate a voltage at the input of ADC 112 which is approximately at the full-scale resolution (e.g., approximately 90% of full-scale resolution or more) of ADC 112. At step 214, ADC 112 may measure a voltage V.sub.REF across reference impedance 118. In some embodiments, digital controller 114 and ADC 112 may be configured to collect several samples of voltage V.sub.THERM and average the samples to filter out noise in system 100. At step 216, while ADC 112 measures voltage V.sub.REF across reference impedance 118, digital controller 114 may employ mismatch reduction techniques to minimize mismatch among DAC elements 106. As a specific example, DAC elements 106 may be shifted at a rate of 4 MHz, which may ensure that within a 32-μs sampling period, all 128 DAC elements 106 may be engaged.
[0029] During steps 212 through 216, digital controller 114 or another component of system 100 may cause switch 122 to close and switch 120 to open.
[0030] At step 218, digital controller 114 may determine impedance R of thermistor 102 based on voltage V.sub.THERM and voltage V.sub.REF, and may also solve for temperature T of or proximate to thermistor 102 based on determined impedance R. For example, impedance R may be calculated by:
[0031] Although
[0032] Method 200 may be implemented using system 100, components thereof, or any other system such as that shown in
[0033] Because voltages measured for wide ranges of temperature are biased to about 90% of full scale ADC resolution or more, the integral nonlinearity error of ADC 112 may not contribute to significant error in the measurement of impedance and temperature. However, scaling DAC 104 based on initial estimation of load impedance can introduce new errors, because the current drive may not be the same across measurements of voltage V.sub.THERM and voltage V.sub.REF. Due to mismatch of DAC elements 106, current I.sub.THERM and current I.sub.REF may not be perfectly scaled.
[0034] System 100 may solve this mismatch issue, as all DAC elements 106 may be equally engaged during a voltage measurement phase of voltage V.sub.THERM and voltage V.sub.REF (e.g., by circular shifting of DAC elements 106 using circular shift register 116).
[0035]
[0036] At step 302, digital controller 114 may control DAC 104 to enable a first number of the plurality of DAC elements 106 to generate a reference current I.sub.REF to reference impedance 118. At step 304, digital controller 114 may control DAC 104 to enable a second number of the plurality of DAC elements 106 (which may be all of the plurality of DAC elements other than the first number of DAC elements) to generate a test current I.sub.THERM to thermistor 102. At step 306, the ADC path may measure a voltage difference between a test voltage V.sub.THERM across thermistor 102 responsive to test current I.sub.THERM and a reference voltage V.sub.REF across reference impedance 118 responsive to reference current I.sub.REF.
[0037] At step 308, digital controller 114 may determine a first value of the first number and a second value of the second number at which a magnitude of a voltage measured by the ADC path is minimized. At step 310, while ADC 112 measures the voltage at the input of the ADC path, digital controller 114 may employ mismatch reduction techniques to minimize mismatch among DAC elements 106. For example, as shown in
[0038] At step 312, digital controller 114 may determine a current for minimizing an input signal to the ADC based on the voltage. At step 314, digital controller 114 may determine impedance R of thermistor 102 based on the voltage measured by the ADC path responsive to the current for minimizing the input signal to the ADC, the first value, and the second value, and may also solve for temperature T of or proximate to thermistor 102 based on determined impedance R.
[0039] Although
[0040] Method 300 may be implemented using system 100, components thereof, or any other system such as that shown in
[0041] As used herein, when two or more elements are referred to as “coupled” to one another, such term indicates that such two or more elements are in electronic communication or mechanical communication, as applicable, whether connected indirectly or directly, with or without intervening elements.
[0042] This disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, or component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative. Accordingly, modifications, additions, or omissions may be made to the systems, apparatuses, and methods described herein without departing from the scope of the disclosure. For example, the components of the systems and apparatuses may be integrated or separated. Moreover, the operations of the systems and apparatuses disclosed herein may be performed by more, fewer, or other components and the methods described may include more, fewer, or other steps. Additionally, steps may be performed in any suitable order. As used in this document, “each” refers to each member of a set or each member of a subset of a set.
[0043] Although exemplary embodiments are illustrated in
[0044] Unless otherwise specifically noted, articles depicted in the drawings are not necessarily drawn to scale.
[0045] All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the disclosure and the concepts contributed by the inventor to furthering the art, and are construed as being without limitation to such specifically recited examples and conditions. Although embodiments of the present disclosure have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the disclosure.
[0046] Although specific advantages have been enumerated above, various embodiments may include some, none, or all of the enumerated advantages. Additionally, other technical advantages may become readily apparent to one of ordinary skill in the art after review of the foregoing figures and description.
[0047] To aid the Patent Office and any readers of any patent issued on this application in interpreting the claims appended hereto, applicants wish to note that they do not intend any of the appended claims or claim elements to invoke 35 U.S.C. § 112(f) unless the words “means for” or “step for” are explicitly used in the particular claim.