Remote temperature sensing
09772231 · 2017-09-26
Assignee
Inventors
Cpc classification
International classification
G01K7/00
PHYSICS
Abstract
In one example, a method includes determining, by a device, a plurality of voltage values that each correspond to a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at different respective current levels, wherein each of the plurality of voltage values is a function of at least: one of the different respective current levels, a temperature of the remote p-n junction, and a series resistance between the device and the remote p-n junction. In this example, the method also includes, determining, by the device, an intermediate value based on a difference between at least three voltage values of the plurality of voltage values, wherein the intermediate value is not a function of the series resistance, and determining the temperature of the remote p-n junction based on the intermediate value such that the temperature is not a function of the series resistance.
Claims
1. A method comprising: determining, by a device, a plurality of voltage values that each correspond to a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at different respective current levels, wherein each of the plurality of voltage values is a function of at least: one of the different respective current levels, a temperature of the remote p-n junction, and a series resistance between the device and the remote p-n junction; determining, by the device, an intermediate value based on a difference between at least three voltage values of the plurality of voltage values, wherein the intermediate value is not a function of the series resistance; and determining, by the device, the temperature of the remote p-n junction based on the intermediate value such that the temperature is not a function of the series resistance.
2. The method of claim 1, wherein the temperature is determined approximately according to the following equation: is a property of the remote p-n junction, K is the Boltzmann's constant, T is the temperature of the remote p-n junction, q is the elementary charge constant, I.sub.D1 is the current level at which the remote p-n junction was biased while the first voltage value was determined, I.sub.D2 is the current level at which the remote p-n junction was biased while the second voltage value was determined, I.sub.D3 is the current level at which the remote p-n junction was biased while the third voltage value was determined, and I.sub.D4 is the current level at which the remote p-n junction was biased while the fourth voltage value was determined.
3. The method of claim 1, wherein the temperature is determined approximately according to the following equation: is a property of the remote p-n junction, K is the Boltzmann's constant, T is the temperature of the remote p-n junction, q is the elementary charge constant, and N is a scaling factor that indicates a relationship between the respective current levels at which the remote p-n junction was biased while the at least three voltage values were determined.
4. The method of claim 1, wherein the p-n junction is configured to measure a temperature of a battery, the method further comprising: adjusting a charging current of the battery based on the determined temperature of the p-n junction.
5. The method of claim 1, wherein determining the intermediate value comprises: determining a first delta voltage value as a difference between a first pair of voltage values of the at least three voltage values; determining a second delta voltage value as a difference between a second pair of voltage values of the at least three voltage values; and determining the intermediate value as a difference between the second delta voltage value and the first delta voltage value, wherein the intermediate value is not a function of the series resistance.
6. The method of claim 5, wherein a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the first pair of voltage values were determined is the same as a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the second pair of voltage values were determined.
7. The method of claim 5, wherein a particular voltage value of the first pair of respective voltage values is included in the second pair of respective voltage values.
8. The method of claim 5, wherein the voltage value included in the first pair of voltage values are not the same as the voltage values included in the second pair of voltage values such that the intermediate value is determined based on at least four voltage values of the plurality of voltage values.
9. A device comprising: an analog-to-digital converter configured to determine a plurality of voltage values that each correspond to a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at different respective current levels, wherein each of the plurality of voltage values is a function of at least: one of the different respective current levels, a temperature of the remote p-n junction, and a series resistance between the device and the remote p-n junction; and one or more processors configured to determine an intermediate value based on a difference between at least three voltage values of the plurality of voltage values, wherein the intermediate value is not a function of the series resistance, wherein the one or more processors are further configured to determine, by the device, the temperature of the remote p-n junction based on the intermediate value such that the temperature is not a function of the series resistance.
10. The device of claim 9, wherein the one or more processors are configured to determine the intermediate value by at least: determining a first delta voltage value as a difference between a first pair of voltage values of the at least three voltage values; determining a second delta voltage value as a difference between a second pair of voltage values of the at least three voltage values; and determining the intermediate value as a difference between the second delta voltage value and the first delta voltage value, wherein the intermediate value is not a function of the series resistance.
11. The device of claim 10, wherein a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the first pair of voltage values were determined is the same as a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the second pair of voltage values were determined.
12. The device of claim 10, wherein a particular voltage value of the first pair of respective voltage values is included in the second pair of respective voltage values.
13. The device of claim 10, wherein the voltage value included in the first pair of voltage values are not the same as the voltage values included in the second pair of voltage values such that the intermediate value is determined based on at least four voltage values of the plurality of voltage values.
14. A device comprising: means for determining a plurality of voltage values that each correspond to a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at different respective current levels, wherein each of the plurality of voltage values is a function of at least: one of the respective current levels, a temperature of the remote p-n junction, and a series resistance between the device and the remote p-n junction; means for determining an intermediate value based on a difference between at least three voltage values of the plurality of voltage values, wherein the intermediate value is not a function of the series resistance; and means for determining the temperature of the remote p-n junction based on the intermediate value such that the temperature is not a function of the series resistance.
15. The device of claim 14, wherein determining the intermediate value comprises: determining a first delta voltage value as a difference between a first pair of voltage values of the at least three voltage values; determining a second delta voltage value as a difference between a second pair of voltage values of the at least three voltage values; and determining the intermediate value as a difference between the second delta voltage value and the first delta voltage value, wherein the intermediate value is not a function of the series resistance.
16. The device of claim 15, wherein a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the first pair of voltage values were determined is the same as a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the second pair of voltage values were determined.
17. The device of claim 15, wherein a particular voltage value of the first pair of respective voltage values is included in the second pair of respective voltage values.
18. The device of claim 15, wherein the voltage value included in the first pair of voltage values are not the same as the voltage values included in the second pair of voltage values such that the intermediate value is determined based on at least four voltage values of the plurality of voltage values.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) In general, this disclosure is directed to techniques for reducing the error introduced by connective elements (e.g., a series resistance) between a remote p-n junction and a device that determines a temperature of the remote p-n junction. As one example, the device may perform one or more operations to cancel out the error such that the determined temperature is not a function of the error introduced by the connective elements. As another example, the device may perform one or more operations to determine the error introduced by connective elements error such that the error is a known quantity used to determine the temperature.
(9) In accordance with one or more techniques of this disclosure, a device may determine the temperature of the remote p-n junction based on a difference between a plurality of voltage values that each correspond to a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at a different respective current level for measuring each respective voltage drop. In this way, the device may cancel out the error introduced by the series resistance in order to reduce the effects of the error on the temperature determination.
(10) In some examples, analog means may be used to eliminate the series resistance. For instance, two pairs of sourcing currents may be selected such that the difference between the first pair of sourcing currents and the second pair of sourcing currents is the same. With the first pair of current sources, a first voltage difference that corresponds to the difference between a first voltage drop across a remote p-n junction biased with a first current of the first pair of sourcing currents and a second voltage drop across the remote p-n junction biased with a second current of the first pair of sourcing currents may be generated. Similarly, a second voltage difference may be generated with the second current pair. By subtracting the first and second voltage differences, the voltage drop across the series resistance may be automatically eliminated.
(11) In some examples, digital means may be used to eliminate the series resistance. For instance, a first voltage difference may generated with a first current pair with a desired current ratio. A first digitization may be performed and the result may be stored. A second voltage difference may be generated with a second current pair having different absolute values but the exact same current ratio as the first current pair. A second digitization may then be performed and the result may be stored. The difference between the two digitally stored results may yield the information on the voltage drop across the series resistance and may be compensated for via digital means.
(12) In accordance with one or more techniques of this disclosure, a device may determine a value of the series resistance introduced by the connective elements based on a plurality of values that each correspond to a respective duty ratio of an analog-to-digital converter that is measuring respective voltage drops across a remote p-n junction while the remote p-n junction is biased at different respective current levels, and use the determined value of the series resistance when determining the temperature of the remote p-n junction. In this way, the device may reduce the effects of the error on the temperature determination.
(13)
(14) In some examples, device 4 may include current source 12 which may be configured to output current at a plurality of levels. For instance, current source 12 may output current onto connective elements 8 to bias p-n junction 6. In some examples, current source 12 may be configured to output at least three different current levels. In some examples, current source 12 may be configured to output current at a particular current level in response to receiving a signal from another component of system 2, such as temperature module 14. In examples, current source 12 may be integrated into device 4. In some examples, current source 12 may be external from device 4.
(15) In some examples, device 4 may include temperature module 14 which may be configured to determine a temperature of a p-n junction, such as p-n junction 6. In some examples, temperature module 14 may be configured to determine the temperature of p-n junction 6 by measuring a voltage drop across p-n junction 6. In some examples, temperature module 14 may be configured to reduce the effects of an error introduced by connective elements 8. As one example, temperature module 6 may be configured to cancel out the effects of series resistance 10 introduced by connective elements 8 when determining the temperature of p-n junction 6. As another example, temperature module 6 may be configured to determine a value of series resistance 10 and use the determined value when determining the temperature of p-n junction 6. In some examples, temperature module 14 and/or connective elements 8 may include a low pass filter configured to eliminate coupled noise. For instance, one or both of temperature module 14 and connective elements 8 may include a RC low pass filter (e.g., a capacitor in parallel to p-n junction 6 and a resistor between the capacitor and temperature module 14).
(16) In some examples, system 2 may include p-n junction 6 which may be configured to measure a temperature. For instance, due to one or more physical properties of p-n junction 6, the voltage drop across p-n junction 6 may be related to the temperature of p-n junction 6 through equation (1), above. In some examples, such as where p-n junction 6 is not included in device 4, p-n junction 6 may be considered to be a remote p-n junction. Examples of p-n junction 6 include, but are not limited to, diodes, transistors, and the like.
(17) In some examples, system 2 may include connective elements 8 which may be configured to electrically couple device 4 to p-n junction 6. Examples of connective elements 8 include, but are not limited to, wires, solder connections, printed circuit board (PCB) traces, plugs, receptacles, and the like. In some examples, connective elements 8 may exhibit one or more non-ideal characteristics. For instance, connective elements 8 may exhibit parasitic resistance which may be included in series resistance 10. As illustrated in
(18) In some examples, the resistance value of series resistance 10 may be non-predetermined. For instance, the resistance value of series resistance 10 may not be available to device 4, e.g., while temperature module 14 determines the temperature of the p-n junction. In other words, in some examples, the resistance value of series resistance 10 may be unknown. In some examples, the resistance value of series resistance 10 may include one or more known resistances in addition to the non-predetermined resistances. For instance, the resistance value of series resistance 10 may include a resistance from the resistor of the RC low pass filter discussed above.
(19) In accordance with one or more techniques of this disclosure, device 4 may reduce the error introduced by connective elements 8 when determining the temperature of p-n junction 6. As discussed above, temperature module 14 of device 4 may reduce the error introduced by connective elements 8 when determining the temperature of p-n junction 6 by canceling out the effects of the error introduced by connective elements 8. In some examples, temperature module 14 may cancel out the error introduced by connective elements 8 when determining the temperature of p-n junction 6 by determining a difference between a plurality of voltage values that each correspond to a respective voltage drop across p-n junction 6 while current source 12 biases p-n junction 6 at a different respective current level.
(20) For instance, at a first time T.sub.1, temperature module 14 may send a signal to current source 12 that causes current source 12 to bias p-n junction 6 with a first current (I.sub.1). While p-n junction 6 is biased with the first current, temperature module 14 may determine a first voltage value (V.sub.1) as the voltage drop across connective elements 8 (i.e., V.sub.A) that corresponds to the voltage drop across p-n junction 6 (i.e., V.sub.B). In some examples, temperature module 14 may store the first voltage value for later use. In some examples, the first voltage value may be representative of equation (2a), below, where V.sub.1 is the first voltage value, is the ideality factor of p-n junction 6, K is the Boltzmann's constant, T is the temperature of p-n junction 6, q is the elementary charge constant, I.sub.s is the saturation current of p-n junction 6, I.sub.1 is the first current output by current source 12, and R.sub.p is the value of series resistance 10.
(21)
(22) In some examples, a ratio of the first current output by current source 12 and the saturation current of p-n junction 6 may be selected to be greater than one. In such examples, the first voltage value may be representative of equation (3a), below.
(23)
(24) At a second time T.sub.2, temperature module 14 may send a signal to current source 12 that causes current source 12 to bias p-n junction 6 with a second current (I.sub.2). While p-n junction 6 is biased with the second current, temperature module 14 may determine a second voltage value (V.sub.2) as the voltage drop across connective elements 8 (i.e., V.sub.A) that corresponds to the voltage drop across p-n junction 6 (i.e., V.sub.B). In some examples, temperature module 14 may store the second voltage value for later use. In some examples, the second voltage value may be representative of equation (2b), below, where V.sub.2 is the second voltage value, is the ideality factor of p-n junction 6, K is the Boltzmann's constant, T is the temperature of p-n junction 6, q is the elementary charge constant, I.sub.s is the saturation current of p-n junction 6, I.sub.2 is the second current output by current source 12, and R.sub.p is the value of series resistance 10.
(25)
(26) In some examples, a ratio of the second current output by current source 12 and the saturation current of p-n junction 6 may be selected to be greater than one. In such examples, the second voltage value may be representative of equation (3b), below.
(27)
(28) At a third time T.sub.3, temperature module 14 may send a signal to current source 12 that causes current source 12 to bias p-n junction 6 with a third current (I.sub.3). While p-n junction 6 is biased with the third current, temperature module 14 may determine a third voltage value (V.sub.3) as the voltage drop across connective elements 8 (i.e., V.sub.A) that corresponds to the voltage drop across p-n junction 6 (i.e., V.sub.B). In some examples, temperature module 14 may store the third voltage value for later use. In some examples, the third voltage value may be representative of equation (2c), below, where V.sub.3 is the third voltage value, is the ideality factor of p-n junction 6, K is the Boltzmann's constant, T is the temperature of p-n junction 6, q is the elementary charge constant, I.sub.s is the saturation current of p-n junction 6, I.sub.3 is the third current output by current source 12, and R.sub.p is the value of series resistance 10.
(29)
(30) In some examples, a ratio of the third current output by current source 12 and the saturation current of p-n junction 6 may be selected to be greater than one. In such examples, the third voltage value may be representative of equation (3b), below.
(31)
(32) At a fourth time T.sub.4, temperature module 14 may send a signal to current source 12 that causes current source 12 to bias p-n junction 6 with a fourth current (I.sub.4). While p-n junction 6 is biased with the fourth current, temperature module 14 may determine a fourth voltage value (V.sub.4) as the voltage drop across connective elements 8 (i.e., V.sub.A) that corresponds to the voltage drop across p-n junction 6 (i.e., V.sub.B). In some examples, temperature module 14 may store the fourth voltage value for later use. In some examples, the fourth voltage value may be representative of equation (2d), below, where V.sub.4 is the fourth voltage value, is the ideality factor of p-n junction 6, K is the Boltzmann's constant, T is the temperature of p-n junction 6, q is the elementary charge constant, I.sub.s is the saturation current of p-n junction 6, I.sub.4 is the fourth current output by current source 12, and R.sub.p is the value of series resistance 10.
(33)
(34) In some examples, a ratio of the fourth current output by current source 12 and the saturation current of p-n junction 6 may be selected to be greater than one. In such examples, the fourth voltage value may be representative of equation (3b), below.
(35)
(36) In some examples, temperature module 14 may cause current source 12 to output the currents such that the currents satisfy a relationship. For instance, temperature module 14 may cause current source 12 to output the currents such that the currents satisfy the relationship illustrated by equation (4), below.
I.sub.1−I.sub.2=I.sub.3−I.sub.4 (4)
(37) In some examples, temperature module 14 may determine an intermediate value based on a difference between at least three voltage values that each corresponds to a respective voltage drop across p-n junction 6 while p-n junction 6 is biased with a different respective current level. In some examples, temperature module 14 may determine the intermediate value by determining a difference between at least two delta voltage values that each correspond to a difference between a pair of the determined voltage values. In some examples, temperature module 14 may determine a first delta voltage value as the difference between the first voltage value determined by temperature module 14 while p-n junction 6 was biased with the first current (i.e., V.sub.1) and the second voltage value determined by temperature module 14 while p-n junction 6 was biased with the second current (i.e., V.sub.2). In some examples, the first delta voltage value may be representative of equation (5a), below.
(38)
(39) In some examples, temperature module 14 may determine a second delta voltage value as the difference between the third voltage value determined by temperature module 14 while p-n junction 6 was biased with the third current (i.e., V.sub.3) and the fourth voltage value determined by temperature module 14 while p-n junction 6 was biased with the fourth current (i.e., V.sub.4). In some examples, the first delta voltage value may be representative of equation (5b), below.
(40)
(41) In order to cancel out the effects of series resistance 10, temperature module 14 may determine the intermediate value as a difference between the first delta voltage value and the second delta voltage value. In some examples, the intermediate value may be representative of equations (6a)-(6c), below.
(42)
(43) As shown above in equations (6a)-(6c), by determining the difference between the two delta voltage values, the resulting intermediate value is no longer a function of series resistance 10. When solved for the temperature of p-n junction 6 (i.e., T), equation (6c) may be transformed into equation (7), below. Using equation (7), temperature module 14 may determine the temperature of p-n junction 6 based on the intermediate value.
(44)
(45) In this way, temperature module 14 may determine the temperature of p-n junction 6 such that the determined temperature is not a function of series resistance 10. As such, temperature module 14 may reduce the error introduced by connective elements 8 into the determined temperature.
(46) In some examples, as opposed to determining the temperature of p-n junction 6 based on four voltage values that each corresponds to a respective voltage drop across p-n junction 6 while p-n junction 6 is biased with a different respective current level, temperature module 14 may determine the temperature of p-n junction 6 based on only three voltage values that each corresponds to a respective voltage drop across p-n junction 6 while p-n junction 6 is biased with a different respective current level. In some examples, temperature module 14 may determine the temperature based on three voltage values by reusing the first voltage value and the first current level. In other words, temperature module 14 may determine the second delta voltage value in accordance with equation (8), below.
(47)
(48) In such examples, temperature module 14 may still satisfy the current relationship of equation (4) by selecting the second current value and the second current value in accordance with equation (9).
I.sub.2=2.Math.I.sub.1−I.sub.3 (9)
(49) By re-using one of the voltage values and its corresponding current level, temperature module 14 may reduce the complexity of the calculations needed to determine the temperature of p-n junction 6.
(50) In some examples, temperature module 14 may include an analog-to-digital converter (ADC) that may be configured to determine the voltage values. In some of such examples, the first voltage value determined by temperature module 14 while p-n junction 6 is biased at a first current I.sub.1 may be representative of equation (10), below, where V.sub.1 is the first voltage value, is the ideality factor of the p-n junction 6, K is the Boltzmann's constant, T is the temperature of p-n junction 6, q is the elementary charge constant, I.sub.s is the saturation current of p-n junction 6, I.sub.1 is the first current output by current source 12, R.sub.p is the value of series resistance 10, and V.sub.os is the input offset voltage of the ADC.
(51)
(52) In some examples, the second voltage value determined by temperature module 14 while p-n junction 6 is biased at a second current I.sub.2 may be representative of equation (11), below, where V.sub.2 is the second voltage value, is the ideality factor of the p-n junction 6, K is the Boltzmann's constant, T is the temperature of p-n junction 6, q is the elementary charge constant, I.sub.s is the saturation current of the p-n junction 6, I.sub.2 is the second current output by current source 12, R.sub.p is the value of series resistance 10, and V.sub.os is the input offset voltage of the ADC.
(53)
(54) In some examples, temperature module 14 may cause current source 12 to output the second current such that the second current satisfies equation (12), below, where N is an arbitrary multiplier.
I.sub.1=N.Math.I.sub.2 (12)
(55) In some examples, the third voltage value determined by temperature module 14 while p-n junction 6 is biased at a third current I.sub.3 may be representative of equation (13), below, where V.sub.3 is the third voltage value, is the ideality factor of the p-n junction 6, K is the Boltzmann's constant, T is the temperature of p-n junction 6, q is the elementary charge constant, I.sub.s is the saturation current of the p-n junction 6, I.sub.2 is the second current output by current source 12, R.sub.p is the value of series resistance 10, and V.sub.os is the input offset voltage of the ADC.
(56)
(57) In some examples, temperature module 14 may cause current source 12 to output the second current such that the second current satisfies equation (14), below, where N is the same arbitrary multiplier used by temperature 14 when selecting the second current.
I.sub.3=(2N−1).Math.I.sub.1 (14)
(58) In some examples, temperature module 14 may determine an intermediate value in accordance with equation (15), below, where ΔV.sub.BE is the intermediate value.
(59)
(60) By determining the difference between the three voltage values as shown in equation (15), the resulting intermediate value is no longer a function of both the value of series resistance 10 (i.e., R.sub.p) and the input offset voltage of the ADC (i.e., V.sub.os). In other words, the effects of series resistance 10 and the input offset voltage of the ADC are canceled out. When solved for the temperature of p-n junction 6 (i.e., T), equation (15) may be transformed into equation (16), below. Using equation (16), temperature module 14 may determine the temperature of p-n junction 6 based on the intermediate value.
(61)
(62) In this way, temperature module 14 may determine the temperature of p-n junction 6 such that the determined temperature is not a function of series resistance 10. As such, temperature module 14 may reduce the error introduced by connective elements 8 into the determined temperature.
(63) In some examples, temperature module 14 may reduce the error introduced by connective elements 8 when determining the temperature of p-n junction 6 by determining a value of series resistance 10. For instance, temperature module 14 may determining a plurality of values that each correspond to a respective duty ratio of an ADC, such as an ADC included in device 4, that is measuring a respective voltage drop across p-n junction (i.e., V.sub.A) while current source 12 biases p-n junction 6 at a different respective current level. In some examples, each of the plurality of values may be a function of at least: the respective current level, a temperature of the remote p-n junction, and an unknown resistance between the analog-to-digital converter and the remote p-n junction.
(64) For instance, at a first time T.sub.1, temperature module 14 may send a signal to current source 12 that causes current source 12 to bias p-n junction 6 with a first current (I.sub.1). While p-n junction 6 is biased with the first current, temperature module 14 may determine a first value that corresponds to a duty ratio of the ADC. In some examples, the first value may be representative of equation (17), below, where DR1 is the first value, is the ideality factor of p-n junction 6, K is the Boltzmann's constant, T is the temperature of p-n junction 6, q is the elementary charge constant, V.sub.ref is the reference voltage used by the ADC, N is an arbitrary integer multiplier, I.sub.unit is a current level of which current source 12 is capable of generating integer multiples, and R.sub.p is the value of series resistance 10. In some examples, temperature module 14 may cause current source 12 to output I.sub.1 such that equation (18) is satisfied for generation different I.sub.unit at different time instants
(65)
(66) At a first time T.sub.1, temperature module 14 may send a signal to current source 12 that causes current source 12 to bias p-n junction 6 with a second current (I.sub.2). While p-n junction 6 is biased with the second current, temperature module 14 may determine a second value that corresponds to a duty ratio of the ADC. In some examples, the second value may be representative of equation (19), below, where DR2 is the second value, is the ideality factor of p-n junction 6, K is the Boltzmann's constant, T is the temperature of p-n junction 6, q is the elementary charge constant, V.sub.ref is the reference voltage used by the ADC, N is an arbitrary integer multiplier, I.sub.unit is a current level of which current source 12 is capable of generating integer multiples, and R.sub.p is the value of series resistance 10. In some examples, temperature module 14 may cause current source 12 to output I.sub.2 such that equation (20) is satisfied for generation different I.sub.unit at different time instants, where M is an arbitrary integer multiplier.
(67)
(68) Temperature module 14 may then determine the value of series resistance 10 based on the difference between the first value and the second value. For instance, temperature module 14 may determine the value of series resistance 10 in accordance with equations (21a) and (21b), below.
(69)
(70) Temperature module 14 may then use the determined value of series resistance 10 to determine the temperature of p-n junction 6. For instance, temperature module 14 may determine the temperature of p-n junction 6 in accordance with equation 22.
(71)
(72) In this way, temperature module 14 may determine the temperature of p-n junction 6 such that the determined temperature based on a determined value of series resistance 10. As such, temperature module 14 may reduce the error introduced by connective elements 8 into the determined temperature.
(73) Furthermore, by canceling out or determining series resistance 10, the effects of aging of application board or any effects attributed to conduction imperfections (e.g. chronologic changes of wire resistance, solder aging or chemical changes due to metallic oxidation) can be detected and/or compensated for in accordance with the techniques of this disclosure.
(74)
(75) Battery 32 may be configured to provide power to one or more components of device 100. In some examples, battery 32 may be a rechargeable battery. Examples of battery 32 include, but are not limited to, nickel-cadmium, lead-acid, nickel-metal hydride, nickel-zinc, silver-oxide, lithium-ion, or any other type of rechargeable battery. In some examples, during one or both of the charging/discharging process, battery 32 may be exothermic (i.e., increase in temperature). In some examples, the amount of the temperature increase may be related to an amount of current flowing through battery 32.
(76) As described above with reference to
(77) As described above with reference to
(78) As illustrated in the example of
(79) Processors 18, in one example, are configured to implement functionality and/or process instructions for execution within device 4. For example, processors 18 may be capable of processing instructions stored in one or more of storage devices 26. Examples of processors 18 may include any one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuitry, as well as any combinations of such components.
(80) One or more storage devices 26 may be configured to store information within device 4 during operation. One or more of storage devices 26, in some examples, may comprise a computer-readable storage medium. In some examples, one or more of storage devices 26 may comprise a temporary memory, meaning that a primary purpose of storage devices 26 is not long-term storage. One or more of storage devices 26, in some examples, may comprise a volatile memory, meaning that one or more of storage devices 26 does not maintain stored contents when the system is turned off. Example of volatile memories include random access memories (RAM), dynamic random access memories (DRAM), static random access memories (SRAM), and other forms of volatile memories known in the art. In some examples, one or more of storage devices 26 is used to store program instructions for execution by processors 18. One or more of storage devices 26, in one example, may be used by software or modules running on device 4 (e.g., modules 14, and 30) to temporarily store information during program execution.
(81) One or more of storage devices 26, in some examples, may also include one or more computer-readable storage media. One or more of storage devices 26 may be configured to store larger amounts of information that volatile memory. One or more of storage devices 26 may further be configured for long-term storage of information. In some examples, one or more of storage devices 26 may include non-volatile storage elements. Examples of such non-volatile storage elements include magnetic hard discs, optical discs, floppy discs, flash memories, or forms of electrically programmable memories (EPROM) or electrically erasable and programmable (EEPROM) memories.
(82) Device 4, in some examples, also includes one or more analog to digital converters (ADC) 20A-N (collectively ADC 20). ADC 20 is configured to convert a received analog signal into a digital value. Examples of ADC 20 include a direct conversion ADC, a flash ADC, a successive-approximation ADC, a ramp-compare ADC, a Wilkinson, integrating ADC, a delta-encoded ADC, a pipeline ADC, a sigma-delta ADC, a time-interleaved ADC, or another device capable of converting an analog signal into a digital signal.
(83) As described above with reference to
(84) In some examples, device 4 may include battery control module 30 which may be configured to control one or more aspect of battery 32. As one example, battery control module 30 may control an amount of current provided to battery 32 when charging battery 32. As another example, battery control module 30 may control an amount of current drawn from battery 32 when discharging battery 32.
(85) In accordance with one or more techniques of this disclosure, device 4 may reduce the error introduced by connective elements 8 when determining the temperature of p-n junction 6. As discussed above, temperature module 14 of device 4 may reduce the error introduced by connective elements 8 when determining the temperature of p-n junction 6 by canceling out the effects of the error introduced by connective elements 8. In some examples, temperature module 14 may cancel out the error introduced by connective elements 8 when determining the temperature of p-n junction 6 by determining a difference between a plurality of voltage values that each correspond to a respective voltage drop across p-n junction 6 while current source 12 biases p-n junction 6 at a different respective current level. For instance, temperature module 14 may cancel out series resistance 10 introduced by connective elements 8 in accordance with equations (2a)-(7) and/or equations (8)-(16), above.
(86) As discussed above, temperature module 14 may reduce the error introduced by connective elements 8 when determining the temperature of p-n junction 6 by determining a value of series resistance 10. For instance, temperature module 14 may determining a plurality of values that each correspond to a respective duty ratio of an ADC of ADCs 20, that is measuring a respective voltage drop across p-n junction (i.e., V.sub.A) while current source 12 biases p-n junction 6 at a different respective current level. In some examples, each of the plurality of values may be a function of at least: the respective current level, a temperature of the remote p-n junction, and an unknown resistance between the analog-to-digital converter and the remote p-n junction. In some examples, temperature module 14 may determine a value of series resistance 10 in accordance with equations (17)-(21b), above. Using the determined value of series resistance 10, temperature module 14 may determine the temperature of p-n junction 6 in accordance with equation (22), above. In some examples, temperature module 14 may output the determined temperature of p-n junction to battery control module 30.
(87) Battery control module 30 may receive the determined temperature from temperature module 14 and determine whether or not it satisfies one or more thresholds. For instance, where battery 32 is being charged, battery control module 30 may determine that the temperature satisfies a threshold where the determined temperature is less than a maximum charging temperature of battery 32. In some examples, responsive to determining that the determined temperature does not satisfy one or more thresholds, battery control module 30 may adjust an amount of current being supplied to (or drawn from) battery 32.
(88)
(89) In the example of
(90) Device 4 may then determine an intermediate value based on a difference between at least three of the plurality of voltage values (304). As discussed above, device 4 may determine the intermediate value as a difference between two delta voltage values that are each determined based on a difference between a respective pair of the determined voltage values. In some examples, device 4 may determine the intermediate value in accordance with one or more of above equations (6a)-(6c), and (15).
(91) Device 4 may then determine the temperature of the remote p-n junction based on the intermediate value such that the determined temperature is not a function of the unknown resistance between device 4 and the p-n junction (306). In some examples, device 4 may determine the temperature of the remote p-n junction in accordance with one or more of above equations (7), and (16).
(92)
(93) In the example of
(94) Device 4 may then determine a value of the unknown resistance based on a difference between at least two values of the plurality of values (404). In some examples, device 4 may determine the value of the unknown resistance in accordance with one or more of above equations (21a)-(21b).
(95) Device 4 may then determine the temperature of the remote p-n junction based on the determined value of the unknown resistance (406). In some examples, device 4 may determine the temperature in accordance with above equation (22).
(96)
(97) As discussed above, a device (e.g., device 4 of
(98)
(99)
Example 1
(100) A method comprising: determining, by a device, a plurality of voltage values that each correspond to a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at different respective current levels, wherein each of the plurality of voltage values is a function of at least: one of the different respective current levels, a temperature of the remote p-n junction, and a series resistance between the device and the remote p-n junction; determining, by the device, an intermediate value based on a difference between at least three voltage values of the plurality of voltage values, wherein the intermediate value is not a function of the series resistance; and determining, by the device, the temperature of the remote p-n junction based on the intermediate value such that the temperature is not a function of the series resistance.
Example 2
(101) The method of example 1, wherein determining the intermediate value comprises: determining a first delta voltage value as a difference between a first pair of voltage values of the at least three voltage values; determining a second delta voltage value as a difference between a second pair of voltage values of the at least three voltage values; and determining the intermediate value as a difference between the second delta voltage value and the first delta voltage value, wherein the intermediate value is not a function of the series resistance.
Example 3
(102) The method of any combination of examples 1-2, wherein a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the first pair of voltage values were determined is the same as a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the second pair of voltage values were determined.
Example 4
(103) The method of any combination of examples 1-3, wherein a particular voltage value of the first pair of respective voltage values is included in the second pair of respective voltage values.
Example 5
(104) The method of any combination of examples 1-4, wherein the voltage value included in the first pair of voltage values are not the same as the voltage values included in the second pair of voltage values such that the intermediate value is determined based on at least four voltage values of the plurality of voltage values.
Example 6
(105) The method of any combination of examples 1-5, wherein the temperature is determined approximately according to the following equation:
(106)
wherein V.sub.be1 is a first voltage value of the at least three voltage values, V.sub.be2 is a second voltage value of the at least three voltage values, V.sub.be3 is a third voltage value of the at least three voltage values, V.sub.be4 is a fourth voltage value of the at least three voltage values, is a property of the remote p-n junction, K is the Boltzmann's constant, T is the temperature of the remote p-n junction, q is the elementary charge constant, I.sub.D1 is the current level at which the remote p-n junction was biased while the first voltage value was determined, I.sub.D2 is the current level at which the remote p-n junction was biased while the second voltage value was determined, I.sub.D3 is the current level at which the remote p-n junction was biased while the third voltage value was determined, and I.sub.D4 is the current level at which the remote p-n junction was biased while the fourth voltage value was determined.
Example 7
(107) The method of any combination of examples 1-6, wherein the temperature is determined approximately according to the following equation:
(108)
wherein V.sub.be1 is a first voltage value of the at least three voltage values, V.sub.be2 is a second voltage value of the at least three voltage values, V.sub.be3 is a third voltage value of the at least three voltage values, is a property of the remote p-n junction, K is the Boltzmann's constant, T is the temperature of the remote p-n junction, q is the elementary charge constant, and N is a scaling factor that indicates a relationship between the respective current levels at which the remote p-n junction was biased while the at least three voltage values were determined.
Example 8
(109) The method of any combination of examples 1-7, wherein the p-n junction is configured to measure a temperature of a battery, the method further comprising: adjusting a charging current of the battery based on the determined temperature of the p-n junction.
Example 9
(110) A device comprising: an analog-to-digital converter configured to determine a plurality of voltage values that each correspond to a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at different respective current levels, wherein each of the plurality of voltage values is a function of at least: one of the different respective current levels, a temperature of the remote p-n junction, and a series resistance between the device and the remote p-n junction; and one or more processors configured to determine an intermediate value based on a difference between at least three voltage values of the plurality of voltage values, wherein the intermediate value is not a function of the series resistance, wherein the one or more processors are further configured to determine, by the device, the temperature of the remote p-n junction based on the intermediate value such that the temperature is not a function of the series resistance.
Example 10
(111) The device of example 9, wherein the one or more processors are configured to determine the intermediate value by at least: determining a first delta voltage value as a difference between a first pair of voltage values of the at least three voltage values; determining a second delta voltage value as a difference between a second pair of voltage values of the at least three voltage values; and determining the intermediate value as a difference between the second delta voltage value and the first delta voltage value, wherein the intermediate value is not a function of the series resistance.
Example 11
(112) The device of any combination of examples 9-10, wherein a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the first pair of voltage values were determined is the same as a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the second pair of voltage values were determined.
Example 12
(113) The device of any combination of examples 9-11, wherein a particular voltage value of the first pair of respective voltage values is included in the second pair of respective voltage values.
Example 13
(114) The device of any combination of examples 9-12, wherein the voltage value included in the first pair of voltage values are not the same as the voltage values included in the second pair of voltage values such that the intermediate value is determined based on at least four voltage values of the plurality of voltage values.
Example 14
(115) A device comprising: means for determining a plurality of voltage values that each correspond to a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at different respective current levels, wherein each of the plurality of voltage values is a function of at least: one of the respective current levels, a temperature of the remote p-n junction, and a series resistance between the device and the remote p-n junction; means for determining an intermediate value based on a difference between at least three voltage values of the plurality of voltage values, wherein the intermediate value is not a function of the series resistance; and means for determining the temperature of the remote p-n junction based on the intermediate value such that the temperature is not a function of the series resistance.
Example 15
(116) The device of example 14, wherein determining the intermediate value comprises: determining a first delta voltage value as a difference between a first pair of voltage values of the at least three voltage values; determining a second delta voltage value as a difference between a second pair of voltage values of the at least three voltage values; and determining the intermediate value as a difference between the second delta voltage value and the first delta voltage value, wherein the intermediate value is not a function of the series resistance.
Example 16
(117) The device of any combination of examples 14-15, wherein a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the first pair of voltage values were determined is the same as a difference between the respective current levels at which the remote p-n junction was biased while the respective voltage values of the second pair of voltage values were determined.
Example 17
(118) The device of any combination of examples 14-16, wherein a particular voltage value of the first pair of respective voltage values is included in the second pair of respective voltage values.
Example 18
(119) The device of example 14, further comprising means for performing any combination of the method of examples 1-8.
Example 19
(120) A computer-readable storage medium storing instructions that, when executed, cause one or more processors of a device to perform any combination of the method of examples 1-8.
Example 20
(121) A method comprising: determining, by a device, a plurality of values that each correspond to a respective duty ratio of an analog-to-digital converter (ADC) that is measuring a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at different respective current levels, wherein each of the plurality of values is a function of at least: one of the different respective current levels, a temperature of the remote p-n junction, and a series resistance between the analog-to-digital converter and the remote p-n junction; determining, by the device, the series resistance between the ADC and the remote p-n junction based on a difference between at least two values of the plurality of values; and determining, by the device, the temperature of the remote p-n junction as a function of the determined series resistance.
Example 21
(122) The method of example 20, wherein the ADC is a sigma-delta ADC, wherein the temperature is determined approximately according to the following equation:
(123)
wherein M is a first arbitrary integer multiplier, N is a second arbitrary integer multiplier, I.sub.unit is a current level of which current source is capable of generating integer multiples, and R.sub.p is the value of the series resistance, is a property of the remote p-n junction, K is the Boltzmann's constant, T is the temperature of the remote p-n junction, q is the elementary charge constant, and V.sub.ref is the reference voltage used by the ADC.
Example 22
(124) A device comprising: an analog-to-digital converter (ADC) configured to determine a plurality of values that each correspond to a respective duty ratio of the ADC while the ADC is measuring a respective voltage drop across a remote p-n junction while the remote p-n junction is biased at different respective current levels, wherein each of the plurality of values is a function of at least: one of the different respective current levels, a temperature of the remote p-n junction, and a series resistance between the analog-to-digital converter and the remote p-n junction; and one or more processors configured to determine the unknown resistance between the ADC and the remote p-n junction based on a difference between at least two values of the plurality of values, wherein the one or more processors are further configured to determine the temperature of the remote p-n junction as a function of the determined series resistance.
Example 23
(125) The device of example 22, wherein the ADC is a sigma-delta ADC, wherein the one or more processors are configured to determine the temperature approximately according to the following equation:
(126)
wherein M is a first arbitrary integer multiplier, N is a second arbitrary integer multiplier, I.sub.unit is a current level of which current source is capable of generating integer multiples, and R.sub.p is the value of the series resistance, is a property of the remote p-n junction, K is the Boltzmann's constant, T is the temperature of the remote p-n junction, q is the elementary charge constant, and V.sub.ref is the reference voltage used by the ADC.
Example 24
(127) A device comprising means for performing any combination of the method of examples 20-21.
Example 25
(128) A computer-readable storage medium storing instructions that, when executed, cause one or more processors of a device to perform any combination of the method of examples 20-21.
(129) The techniques described in this disclosure may be implemented, at least in part, in hardware, software, firmware, or any combination thereof. For example, various aspects of the described techniques may be implemented within one or more processors, including one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuitry, as well as any combinations of such components. The term “processor” or “processing circuitry” may generally refer to any of the foregoing logic circuitry, alone or in combination with other logic circuitry, or any other equivalent circuitry. A control unit including hardware may also perform one or more of the techniques of this disclosure.
(130) Such hardware, software, and firmware may be implemented within the same device or within separate devices to support the various techniques described in this disclosure. In addition, any of the described units, modules or components may be implemented together or separately as discrete but interoperable logic devices. Depiction of different features as modules or units is intended to highlight different functional aspects and does not necessarily imply that such modules or units must be realized by separate hardware, firmware, or software components. Rather, functionality associated with one or more modules or units may be performed by separate hardware, firmware, or software components, or integrated within common or separate hardware, firmware, or software components.
(131) The techniques described in this disclosure may also be embodied or encoded in an article of manufacture including a computer-readable storage medium encoded with instructions. Instructions embedded or encoded in an article of manufacture including a computer-readable storage medium encoded, may cause one or more programmable processors, or other processors, to implement one or more of the techniques described herein, such as when instructions included or encoded in the computer-readable storage medium are executed by the one or more processors. Computer readable storage media may include random access memory (RAM), read only memory (ROM), programmable read only memory (PROM), erasable programmable read only memory (EPROM), electronically erasable programmable read only memory (EEPROM), flash memory, a hard disk, a compact disc ROM (CD-ROM), a floppy disk, a cassette, magnetic media, optical media, or other computer readable media. In some examples, an article of manufacture may include one or more computer-readable storage media.
(132) In some examples, a computer-readable storage medium may include a non-transitory medium. The term “non-transitory” may indicate that the storage medium is not embodied in a carrier wave or a propagated signal. In certain examples, a non-transitory storage medium may store data that can, over time, change (e.g., in RAM or cache).
(133) Various aspects have been described in this disclosure. These and other aspects are within the scope of the following claims.