DETECTOR AND METHOD FOR MEASURING A RESISTANCE OF A VARIABLE RESISTANCE SENSOR WHOSE RESISTANCE VARIES WITH RESPECT TO A TIME-VARYING STIMULUS
20210033654 ยท 2021-02-04
Inventors
- Cory Jay Peterson (Austin, TX)
- Chandra B. Prakash (Austin, TX)
- Anand Ilango (Austin, TX)
- Ramin Zanbaghi (Austin, TX)
- Dejun Wang (Austin, TX)
Cpc classification
H03M1/0617
ELECTRICITY
H03M1/742
ELECTRICITY
G01R27/08
PHYSICS
G01R27/02
PHYSICS
H03M1/447
ELECTRICITY
International classification
G01R27/02
PHYSICS
Abstract
A detector for measuring a resistance of a variable resistance sensor (VRS) that varies with respect to a time-varying stimulus (e.g., temperature) includes a voltage reference having variation with respect to operating conditions and a linearized digital-to-analog converter (LIDAC) having a known transconductance that uses the voltage reference to generate a current for pumping into the VRS to cause the VRS to generate a voltage sensed by the detector. The sensed voltage includes error due to the variation of the voltage reference. The detector also includes a programmable gain amplifier (PGA) that gains up the sensed voltage to generate an output signal, an ADC that converts the output signal to a digital value, and a digital processor that computes the resistance of the VRS using the digital value and the known transconductance. The PGA is non-varying with respect to the time-varying stimulus.
Claims
1. A detector for measuring a resistance of a variable resistance sensor (VRS), wherein the resistance of the VRS varies with respect to a time-varying stimulus, comprising: a voltage reference having variation with respect to operating conditions; a linearized digital-to-analog converter (LIDAC) having a known transconductance that uses the voltage reference to generate a current for pumping into the VRS to cause the VRS to generate a voltage sensed by the detector; wherein the sensed voltage includes error due to the variation of the voltage reference; a programmable gain amplifier (PGA) that gains up the sensed voltage to generate an output signal; an analog-to-digital converter (ADC) that converts the output signal to a digital value; and a digital processor that computes the resistance of the VRS using the digital value and the known transconductance.
2. The detector of claim 1, wherein the PGA is non-varying with respect to the time-varying stimulus.
3. The detector of claim 1, wherein the ADC uses a scaled version of the voltage reference used by the LIDAC to convert the output signal to the digital value.
4. The detector of claim 1, wherein the time-varying stimulus is a temperature of the VRS.
5. The detector of claim 1, wherein the VRS is from the list: a photoresistor whose resistance varies with light intensity; a touchscreen whose resistance varies with a touched coordinate location; a pressure sensor whose resistance varies with pressure; and a sensor whose resistance varies with voltage.
6. The detector of claim 1, wherein the LIDAC: (1) is linearized by using dynamic element matching (DEM) or data-weighted averaging; (2) is calibrated to generate a value of the current to cause the VRS to initially generate a value of the sensed voltage that is close to a target voltage that is a common mode voltage of the PGA; or (3) comprises a non-variable resistance element (NVRE) used to generate the current using the voltage reference, and the NVRE is non-varying with respect to the time-varying stimulus that causes the resistance of the VRS to vary.
7. The detector of claim 1, wherein the LIDAC comprises: a first segment of N equally-weighted binary-controlled current mirrors; a first barrel shifter that receives a first N-bit input value and provides the first N-bit input value in a rotated fashion over a period to respective ones of the first segment of N equally-weighted binary-controlled current mirrors; wherein the N bits of the first input value include at least one zero-valued bit and at least one one-valued bit; a second segment of N equally-weighted binary-controlled current mirrors; a second barrel shifter that receives a second N-bit input value and provides the second N-bit input value in a rotated fashion over the period to respective ones of the second segment of N equally-weighted binary-controlled current mirrors; wherein the current mirrors of the first and second segments are differently weighted; wherein the N bits of the second input value include at least one zero-valued bit and at least one one-valued bit; and wherein outputs of all of the current mirrors of the first and second segments are summed together to generate the current for pumping into the VRS.
8. The detector of claim 1, further comprising: an anti-aliasing filter that reduces noise in the sensed voltage for provision to the PGA.
9. The detector of claim 1, wherein the PGA uses a scaled version of the voltage reference to gain up the sensed voltage to generate the output signal.
10. The detector of claim 1, wherein the PGA selectively receives the sensed voltage and a scaled version of the voltage reference; wherein the ADC also converts the scaled version of the voltage reference to a second digital value; and wherein the digital processor computes the resistance of the VRS using one of: a ratio that includes the first digital value and the second digital value; a known gain of the PGA; or a known digital input value to the LIDAC that controls the current generated by the LIDAC.
11. The detector of claim 10, wherein the digital processor computes the resistance of the VRS as a product of: the ratio that includes the first and second digital values; a reciprocal of the digital input value to the LIDAC; and a ratio of: a one-time measurement of the voltage reference; and a one-time measurement of a unit current of the LIDAC; or: wherein the PGA further generates a zero-input signal output voltage; and wherein the ratio further includes a third digital value that is the zero-input signal output voltage converted by the ADC.
12. A method for measuring a resistance of a variable resistance sensor (VRS), wherein the resistance of the VRS varies with respect to a time-varying stimulus, comprising: generating a voltage reference having variation with respect to operating conditions; using, by a linearized digital-to-analog converter (LIDAC) having a known transconductance, the voltage reference to generate a current; pumping the current into the VRS to cause the VRS to generate a sensed voltage; wherein the sensed voltage includes error due to the variation of the voltage reference; gaining up, by a programmable gain amplifier (PGA), the sensed voltage to generate an output signal; converting, by an analog-to-digital converter (ADC), the output signal to a digital value; and computing the resistance of the VRS using the digital value and the known transconductance.
13. The method of claim 12, wherein the PGA is non-varying with respect to the time-varying stimulus.
14. The method of claim 12, further comprising: wherein the ADC uses a scaled version of the voltage reference used by the LIDAC to convert the output signal to the digital value.
15. The method of claim 12, wherein the time-varying stimulus is a temperature of the VRS.
16. The method of claim 12, wherein the VRS is from the list: a photoresistor whose resistance varies with light intensity; a touchscreen whose resistance varies with a touched coordinate location; a pressure sensor whose resistance varies with pressure; and a sensor whose resistance varies with voltage.
17. The method of claim 12, (1) wherein the LIDAC is linearized by using dynamic element matching (DEM) or data-weighted averaging; (2) the method further comprises calibrating the LIDAC to generate a value of the current to cause the VRS to initially generate a value of the sensed voltage that is close to a target voltage that is a common mode voltage of the PGA; or (3) wherein the LIDAC comprises a non-variable resistance element (NVRE) used to generate the current using the voltage reference, and the NVRE is non-varying with respect to the time-varying stimulus that causes the resistance of the VRS to vary.
18. The method of claim 12, wherein said using, by the LIDAC, the voltage reference to generate the current comprises: receiving, by a first barrel shifter, a first N-bit input value; providing, by the first barrel shifter, the first N-bit input value in a rotated fashion over a period to respective ones of a first segment of N equally-weighted binary-controlled current mirrors; and wherein the N bits of the first input value include at least one zero-valued bit and at least one one-valued bit; and wherein said using, by the LIDAC, the voltage reference to generate the current further comprises: receiving, by a second barrel shifter, a second N-bit input value; providing, by the second barrel shifter, the second N-bit input value in a rotated fashion over the period to respective ones of a second segment of N equally-weighted binary-controlled current mirrors; wherein the current mirrors of the first and second segments are differently weighted; wherein the N bits of the second input value include at least one zero-valued bit and at least one one-valued bit; and summing together outputs of all of the current mirrors of the first and second segments to generate the current for pumping into the VRS.
19. The method of claim 12, further comprising: reducing, by an anti-aliasing filter, noise in the sensed voltage for provision to the PGA.
20. The method of claim 12, further comprising: using, by the PGA, a scaled version of the voltage reference to gain up the sensed voltage to generate the output signal.
21. The method of claim 12, further comprising: selectively receiving, by the PGA, the sensed voltage and a scaled version of the voltage reference; converting, by the ADC, the scaled version of the voltage reference to a second digital value; and computing the resistance of the VRS using one of: a ratio that includes the first digital value and the second digital value; a known gain of the PGA; or a known digital input value to the LIDAC that controls the current generated by the LIDAC.
22. The method of claim 21, further comprising: computing the resistance of the VRS as a product of: the ratio that includes the first and second digital values; a reciprocal of the digital input value to the LIDAC; and a ratio of: a one-time measurement of the voltage reference; and a one-time measurement of a unit current of the LIDAC; or: generating, by the PGA, a zero-input signal output voltage; and wherein the ratio further includes a third digital value that is the zero-input signal output voltage converted by the ADC.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0004]
[0005]
[0006]
[0007]
DETAILED DESCRIPTION
[0008] Embodiments of a resistance detector with ultra-low error are described.
[0009]
[0010] The detector 14 includes a linearized current digital-to-analog converter (LIDAC), an anti-aliasing filter (AAF), a programmable gain amplifier (PGA), an analog-to-digital converter (ADC), an amplifier (AMP), a comparator (COMP), and a digital processor (DP). The LIDAC generates a current I.sub.LIDAC that is pumped into the VRS. The current I.sub.LIDAC through the VRS generates a voltage V.sub.SNS across the VRS that is sensed by the AAF and the comparator COMP. The detector 14 uses the sensed voltage V.sub.SNS to detect the resistance R.sub.VRS of the VRS, which may vary over time with respect to the time-varying stimulus. The detected resistance may be used to calculate other quantities related to the VRS, e.g., temperature, pressure, light intensity, voltage, touch location. Advantageously, the detector 14 employs various aspects to detect the time-varying resistance R.sub.VRS of the VRS with high accuracy, low temperature sensitivity, relatively low chip area and power consumption.
[0011] The detector 14 generates a voltage reference V.sub.REF. In one embodiment, voltage reference V.sub.REF is a bandgap voltage reference. In one embodiment, voltage reference V.sub.REF has a value of approximately 0.7 Volts. Amplifier AMP amplifies voltage reference V.sub.REF to generate an ADC voltage reference V.sub.REFADC used by the ADC to convert an output V.sub.OUT of the PGA to a digital value D.sub.ADC. In one embodiment, the gain L of amplifier AMP is two. Amplifier AMP may have gain error and/or offset error due to operating conditions, e.g., mechanical stress, process, voltage and/or temperature variation. Therefore, amplifier AMP may introduce error in ADC voltage reference V.sub.REFADC, which may introduce error into the digital values generated by the ADC. Advantageously, the error may be minimized by using a ratio of digital values generated by the ADC, as described in more detail below, e.g., with respect to
[0012] Additionally, the LIDAC uses voltage reference V.sub.REF to generate a reference current I.sub.REF (see
[0013] The AAF filters the sensed voltage V.sub.SNS to generate an anti-alias-filtered voltage V.sub.AAF. In one embodiment, the AAF includes a resistor-capacitor network connected to ground at pin P that operates as a low-pass filter on sensed voltage V.sub.SNS. In one embodiment, the LIDAC accomplishes linearity using high-frequency switching, e.g., dynamic element matching (DEM), and the AAF advantageously attenuates the upconverted errors by the DEM and therefore improves accuracy of the sensed voltage V.sub.SNS signal into the desired signal band, e.g., 40 kHz range. The anti-alias-filtered voltage V.sub.AAF is provided as a second input to the multiplexing circuitry MUX. The output of the multiplexing circuitry MUX (i.e., either the scaled voltage reference V.sub.REFSC or the anti-alias-filtered voltage V.sub.AAF) is provided to the PGA. Operation of the multiplexing circuitry MUX is described in more detail below, e.g., with respect to
[0014] The PGA gains up the scaled voltage reference V.sub.REFSC or the anti-alias-filtered voltage V.sub.AAF selected by the multiplexing circuitry MUX to generate an output voltage V.sub.OUT that is sensed by the ADC and converted to the digital value D.sub.ADC using the ADC voltage reference V.sub.REFADC Preferably, the PGA is effectively non-varying with respect to the time-varying stimulus that varies the resistance R.sub.VRS of the VRS. The PGA scales up the sensed voltage V.sub.SNS to near the full scale of the ADC, i.e., to occupy the entire dynamic range of the ADC. This may advantageously enable use of a relatively low resolution, small and low power-consuming ADC while still providing relatively low quantization error.
[0015] The digital processor DP generates a digital current value D.sub.LIDAC provided as an input to the LIDAC that controls the value of the VRS current I.sub.LIDAC that is pumped into the VRS to generate sensed voltage V.sub.SNS. More specifically, the digital current value D.sub.LIDAC is a multiplier of a unit current I.sub.LSB (see
[0016] In one embodiment, the ADC is a successive approximation register (SAR) ADC. The digital processor DP outputs the digital ADC value D.sub.ADC to the SAR ADC. The SAR ADC uses the digital ADC value D.sub.ADC to internally generate an analog voltage using the ADC voltage reference V.sub.REFADC. The SAR ADC responsively generates a match indicator to the digital processor DP. The match indicator indicates whether the internally generated analog voltage matches the output voltage V.sub.OUT, is higher than the output voltage V.sub.OUT, or is lower than the output voltage V.sub.OUT. In response to the match indicator, the digital processor DP successively provides different values of the digital ADC value D.sub.ADC, preferably in a binary search fashion, until a match is indicated. The final digital ADC value D.sub.ADC corresponds to the digital value of the output voltage V.sub.OUT, which is a gained-up version of either scaled voltage reference V.sub.REFSC or anti-alias-filtered voltage V.sub.AAF depending on the selection made by the multiplexing circuitry MUX.
[0017]
[0018] The fact that the LIDAC is linearized means it has de minimis quantization error. Stated alternatively, the fact that the LIDAC is linearized means it effectively has no differential non-linearity (DNL) nor integrated non-linearity (INL). In one embodiment, DEM is used by the LIDAC to linearize the LIDAC and to remove the offset error. Furthermore, offset error and gain error may be removed through calibration (e.g., during post-silicon device-specific product test). In an alternate embodiment, the LIDAC is linearized by using data-weighted averaging.
[0019] In the embodiment of
[0020] Operation of the LIDAC is as follows. When the digital processor DP loads a new value of digital current value D.sub.LIDAC into barrel shifters BS1 and BS18 (more specifically, 18-bit D.sub.LIDAC_1x into BS1 and 18-bit D.sub.LIDAC_18x into BS18), the current mirrors responsively generate a value of VRS current I.sub.LIDAC. Then the value of each of the barrel shifters BS1 and BS18 is rotated by one bit and the current mirrors responsively generate a second value of VRS current I.sub.LIDAC. Then the value of each of the barrel shifters BS1 and BS18 is rotated by one bit and the current mirrors responsively generate a third value of VRS current I.sub.LIDAC. This operation continues at a high frequency until all 18 bits have been rotated through the barrel shifters BS1 and BS18. In this manner, process variations in the current mirrors (e.g., size differences) are mitigated in order to minimize offset error and to provide a highly-linearized DAC with negligible quantization error. Employment of the barrel shifters BS1 and BS18 may have the advantage of reducing the size and power consumption of the LIDAC relative to a current DAC that uses hardware to randomize the inputs to the current mirrors. The AAF operates to remove any aliasing in sensed voltage V.sub.SNS that might be caused by the high-frequency switching operation of the LIDAC.
[0021] In the embodiment of
[0022]
[0023]
[0024] At block 402, first and second voltage references are generated, e.g., voltage reference V.sub.REF and ADC voltage reference V.sub.REFADC. The first and second voltage references include variation with respect to their respective operating conditions, e.g., mechanical stress, process, voltage and/or temperature variation. Consequently, error may be introduced into signals that involve the first and second reference voltages. In one embodiment, the second voltage reference is a scaled version of the first voltage reference, e.g., ADC voltage reference V.sub.REFADC is a scalar multiple of voltage reference V.sub.REF in which the scalar is the gain L of amplifier AMP of
[0025] At block 404, a first sensed voltage is generated that is a product of the first voltage reference and an unknown scalar, e.g., sensed voltage V.sub.SNS, or anti-alias-filtered voltage V.sub.AAF, or the output voltage V.sub.OUT that is the gained-up version of anti-alias-filtered voltage V.sub.AAF. The sensed voltage V.sub.SNS may be understood as the product of voltage reference V.sub.REF and an unknown scalar. The unknown scalar may be the product resistance R.sub.VRS of the VRS, which is unknown, and the transconductance of detector 14. Operation proceeds to block 406.
[0026] At block 406, a second sensed voltage is generated that is a product of the first voltage reference and a known scalar, e.g., scaled voltage reference V.sub.REFSC, or the output voltage V.sub.OUT that is the gained-up version of scaled voltage reference V.sub.REFSC. The scaled voltage reference V.sub.REFSC may be understood as the product of voltage reference V.sub.REF and a known scalar. The known scalar may be, in the embodiment of
[0027] At block 408, the ADC uses the second voltage reference (e.g., scaled voltage reference V.sub.REFSC) to generate a first digital value that represent the first sensed voltage and to generate a second digital value that represent the second sensed voltage. The first and second digital values may contain error as a result of the gain error of the second voltage reference. The first and second digital values may also contain error as a result of the variation of the first and second voltage references. Operation proceeds to block 412.
[0028] At block 412, a ratio based on the first and second digital values is used (e.g., by the digital processor DP) to remove the error from the first digital value. Various ratios based on the first and second digital values and their use are described in more detail below. Operation proceeds to block 414.
[0029] At block 414, the ratio computed at block 412 is used to compute the resistance of the VRS.
[0030] The operation described in
V.sub.SENSE1=U*V.sub.REF1(1)
V.sub.SENSE2=K*V.sub.REF1(2)
[0031] Assume V.sub.REF1 has variation with respect to its operating conditions. In that case, error may be introduced into the two sensed voltages such that equations (1) and (2) may be expressed as equations (3) and (4)
V.sub.SENSE1=U*V.sub.REF1*(1+err1)(3)
V.sub.SENSE2=K*V.sub.REF1*(1+err1)(4)
where err1 is the error introduced by the variation in V.sub.REF1 with respect to its operating conditions.
[0032] An ADC system, such as included in detector 14, uses the second voltage reference V.sub.REF2 that is gained up. The second voltage reference V.sub.REF2 is assumed to have variation with respect to its operating conditions and the second voltage reference V.sub.REF2 is assumed to have gain error, e.g., amplifier AMP of
D.sub.1=U*V.sub.REF1*(1+err1)*(1+err2)*(1+err3)(5)
D.sub.2=K*V.sub.REF1*(1+err1)*(1+err2)*(1+err3)(6)
where err2 is the error introduced by the variation in V.sub.REF2 with respect to its operating conditions, and err3 is the gain error.
[0033] As may be observed, taking the ratio of the two digital values D.sub.1 and D.sub.2 given by equations (5) and (6) cancels the error factors to yield a ratio of the unknown scalar U and the known scalar K, per equation (7).
Because the error is essentially canceled, the ratio of the two digital values may be expressed by equation (8)
where V.sub.SENSE1_IDEAL and V.sub.SENSE2_IDEAL are the respective values of first and second sensed voltages without error caused by variation in V.sub.REF1 or V.sub.REF2 or gain error caused by a circuit element that added gain to generate V.sub.REF2. Furthermore, the unknown scalar U may be solved per equation (9).
[0034] Taking the embodiment of
[0035] Taking scaled voltage reference V.sub.REFSC as V.sub.SENSE2 and voltage reference V.sub.REF as V.sub.REF1 of equation (2), yields the known scalar K per equation (11).
[0036] Take V.sub.SENSE1 of equation (1) as a sensed voltage across a variable-resistance sensor whose resistance varies with respect to a time-varying stimulus, such as V.sub.SNS of detector 14, and take V.sub.REF1 of equation (1) as V.sub.REF of detector 14 such that V.sub.SNS is a product of V.sub.REF and an unknown scalar U per equation (12).
V.sub.SNS=U*V.sub.REF(12)
[0037] Sensed voltage V.sub.SNS is given by equation (13).
V.sub.SNS=R.sub.VRS*I.sub.LIDAC(13)
VRS current I.sub.LIDAC is given by equation (14).
I.sub.LIDAC=D.sub.LIDAC*I.sub.LSB(14)
Reference current I.sub.REF is given by equation (15).
Unit current I.sub.LSB is given by equation (16).
where W is the known ratio of I.sub.REF and the I.sub.LSB according to the sizing of the current mirrors of the LIDAC, which is known (e.g., which is 32 in the embodiment of
[0038] Combining equations (12) through (16) yields an expression for U in equation (17).
[0039] By combining equations (9), (11) and (17), the unknown resistance R.sub.VRS of the VRS may be solved using the ratio of the two digital values D.sub.1 and D.sub.2 by equation (18).
[0040] In the above analysis, it was assumed that the gain M of the PGA is one and the common mode voltage of the PGA is zero. Now take the embodiment of
D.sub.1=[V.sub.REFSC*(1+err1)+M(V.sub.SNS*(1+err1)V.sub.REFSC*(1+err1))]*(1+err2)*(1+err3)(19)
D.sub.2=[V.sub.REFSC*(1+err1)+M(V.sub.REFSC*(1+err1)V.sub.REFSC*(1+err1))]*(1+err2)*(1+err3)(20)
[0041] Taking the ratio of D.sub.1 and D.sub.2 given by equations (19) and (20) and solving for sensed voltage V.sub.SNS yields equation (21) in which the error terms are effectively eliminated.
[0042] Combining equation (21) with equation (14) and solving for resistance R.sub.VRS of the VRS yields equation (22).
[0043] Let the second term of equation (22) be designated as the unit resistance R[1] of the LIDAC per equation (23), e.g., where the value of digital current value D.sub.LIDAC is one.
[0044] Further, let the product of the first and second terms of equation (22) be designated as a non-unit resistance R[D] of the LIDAC per equation (24), where R[D] is the resistance for a given value D of digital current value D.sub.LIDAC.
[0045] Thus, if the resistance R[D] for a given VRS current I.sub.LIDAC stimulated by a digital current value D.sub.LIDAC is known, then the resistance R.sub.VRS of the VRS may be determined according to equation (22), e.g., by digital processor DP. In one embodiment, the unit resistance R[1] and non-unit resistance R[D] may be computed using equations (25) and (26), which are derived from equations (23), (24), (10), (15) and (16).
[0046] However, in an alternate embodiment, the unit resistance R[1] may be determined at calibration time (e.g., during post-silicon device-specific product test) by inputting a unit digital current value D.sub.LIDAC, measuring the VRS current I.sub.LIDAC while simultaneously measuring the scaled voltage reference V.sub.REFSC (e.g., at pins P+ and P), and substituting the measured values into equation (23). Similarly, the non-unit resistance R[D] may be determined at a calibration time by inputting different non-unit D digital current values D.sub.LIDAC, measuring the VRS current I.sub.LIDAC while simultaneously measuring the scaled voltage reference V.sub.REFSC, and substituting the measured values into equation (24). In one embodiment, such a procedure may be performed for each segment of the LIDAC. In one embodiment, measurements may be taken at minimum and maximum values of digital current value D.sub.LIDAC and intermediate values of R[D] may be linearly interpolated from the minimum and maximum values. In one embodiment, a crossbar switch may precede OTA1 of
[0047] Various advantages may be obtained by using the ratio based on the first and second digital values D.sub.1 and D.sub.2. First, the determination of resistance R.sub.VRS of the VRS is independent of variation of scaled voltage reference V.sub.REFSC. The independence may be observed from the second term of equation (22) because it involves a ratio of scaled voltage reference V.sub.REFSC and unit current I.sub.LSB. Unit current I.sub.LSB is generated from reference current I.sub.REF (by the linearized DAC) which is generated from scaled voltage reference V.sub.REFSC. Thus, by knowing the unit resistance R[1], variation in scaled voltage reference V.sub.REFSC is eliminated in the determination of resistance R.sub.VRS of the VRS by using the ratio based on the first and second digital values D.sub.1 and D.sub.2, e.g., the third term of equation (22), as well as equation (18). Second, the determination of resistance R.sub.VRS of the VRS is independent of variation of ADC voltage reference V.sub.REFADC because gain error and offset error of amplifier AMP and error introduced to amplifier AMP by variation in voltage reference V.sub.REF, are eliminated by using the ratio based on the first and second digital values D.sub.1 and D.sub.2, e.g., the third term of equation (22), as described above with respect to equations (19) through (21), as well as equation (18). Third, the determination of resistance R.sub.VRS of the VRS is independent of variation of offset error in the LIDAC which is removed by the DEM. As may be observed from equation (22), variation in the gain M of the PGA may affect accuracy of the determination of resistance R.sub.VRS of the VRS. Preferably, the PGA is calibrated to minimize any gain error it may have. Furthermore, as described above, the embodiment of the PGA of
[0048] Viewing the LIDAC effectively as a transconductor that receives voltage reference V.sub.REF as an input and generates VRS current I.sub.LIDAC as an output, the non-unit transconductance G[D] of the LIDAC may be expressed by equation (27), and the unit transconductance G[1] of the LIDAC may be expressed by equation (28).
[0049] In an embodiment in which the common mode voltage V.sub.CM of the PGA is a different value than the scaled voltage reference V.sub.REFSC, a third digital value D.sub.3 may be measured while the input to the PGA is the common mode voltage V.sub.CM (e.g., the differential input to OTA2 is zero). The three digital values D.sub.1 and D.sub.2 may then be expressed by equations (29), (30) and (31).
D.sub.1=[V.sub.CM*(1+err1)+M(V.sub.SNS*(1+err1)V.sub.CM*(1+err1))]*(1+err2)*(1+err3)(29)
D.sub.2=[V.sub.CM*(1+err1)+M(V.sub.REFSC*(1+err1)V.sub.CM*(1+err1))]*(1+err2)*(1+err3)(30)
D.sub.3=[V.sub.CM*(1+err1)+M(V.sub.CM*(1+err1)V.sub.CM*(1+err1))]*(1+err2)*(1+err3)(31)
[0050] Equations (29) through (31) may be simplified as equations (32) through (34).
D.sub.1=[V.sub.CM*(1+err1)*(1M)+M*V.sub.SNS*(1+err1)]*(1+err2)*(1+err3)(32)
D.sub.2=[V.sub.CM*(1+err1)*(1M)+M*V.sub.REFSC*(1+err1)]*(1+err2)*(1+err3)(33)
D.sub.3=V.sub.CM*(1+err1)*(1+err2)*(1+err3)(34)
[0051] Equations (35) and (36) may be derived from equations (33) and (34).
D.sub.1(1M)*D3=M*V.sub.SNS*(1+err1)*(1+err2)*(1+err3)(35)
D.sub.2(1M)*D3=M*V.sub.REFSC*(1+err1)*(1+err2)*(1+err3)(36)
[0052] Dividing equations (35) and (36) and solving for V.sub.SNS yields equation (37), which is analogous to equation (21) above. Substituting with equations (13) and (14) yields the resistance R.sub.VRS of the VRS, which may be determined per equation (38).
[0053] Again, error introduced by variation in scaled voltage reference V.sub.REFSC is advantageously eliminated by using the ratio based on the first, second and third digital values D.sub.1, D.sub.2, and D.sub.3, i.e., the third term of equation (38).
[0054] It should be understoodespecially by those having ordinary skill in the art with the benefit of this disclosurethat the various operations described herein, particularly in connection with the figures, may be implemented by other circuitry or other hardware components. The order in which each operation of a given method is performed may be changed, unless otherwise indicated, and various elements of the systems illustrated herein may be added, reordered, combined, omitted, modified, etc. It is intended that this disclosure embrace all such modifications and changes and, accordingly, the above description should be regarded in an illustrative rather than a restrictive sense.
[0055] Similarly, although this disclosure refers to specific embodiments, certain modifications and changes can be made to those embodiments without departing from the scope and coverage of this disclosure. Moreover, any benefits, advantages, or solutions to problems that are described herein with regard to specific embodiments are not intended to be construed as a critical, required, or essential feature or element.
[0056] Further embodiments likewise, with the benefit of this disclosure, will be apparent to those having ordinary skill in the art, and such embodiments should be deemed as being encompassed herein. 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.
[0057] 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.