This disclosure relates generally to programmable temperature sensors, and more particularly to programmable temperature sensors for integrated circuits.
Conventional temperature sensors typically include a pair of fixed current sources and a pair of bipolar junction transistors that operate with different current densities. For instance, a first bipolar junction transistor has a first voltage VBE according when it receives and passes a first current from one of the fixed current sources, while the second bipolar junction transistor has a second voltage VBE according when it receives and passes a second current from the other fixed current source. These conventional temperature sensors will include a subtraction circuit coupled to each of bipolar junction transistors and to determine a voltage difference ΔVBE between the first and second voltages VBE from the bipolar junction transistors. Since a voltage difference ΔVBE is proportional to an Absolute Temperature (PTAT) value, the determination of the voltage difference ΔVBE allows the conventional temperature sensors to determine the temperature of its environment. Although these conventional temperature sensors can determine the temperature of their environment, they occupy a relatively large area on a chip and consume a relatively large amount of power.
The invention may be best understood by reading the disclosure with reference to the drawings.
The analog-to-digital converter 104 may convert the analog base-emitter voltage VBE signals into digital base-emitter voltage VBE signals and provide the digital base-emitter voltage VBE signals to the microcontroller 108. In some embodiments, the analog-to-digital converter 104 may be a passive converter, thus consuming less power and chip area compared with active converters that typically include an amplifier that is not required in the converter using passive elements. Embodiments of the analog-to-digital converter 104 will be described below in greater detail.
The microcontroller 108 may determine a differential base-emitter voltage ΔVBE from the multiple digital representations of base-emitter voltage VBE signals provided by the analog-to-digital converter 104. For instance, when two digital base-emitter voltage VBE signals are provided from the analog-to-digital converter 104, the microcontroller 108 may take the difference between the two digital base-emitter voltage VBE signals to determine the differential base-emitter voltage ΔVBE.
The microcontroller 108 may utilize the differential base-emitter voltage ΔVBE that it determines, and the fact that the differential base-emitter voltage ΔVBE is proportional to an Absolute Temperature (PTAT) value, to sense an environmental temperature value. The microcontroller 108 may use a look-up table (not shown) or other calculation to determine the environmental temperature from the differential base-emitter voltage ΔVBE.
When more than two digital base-emitter voltage VBE signals are provided from the analog-to-digital converter 104, the microcontroller 108 may use any number of methods to determine the differential base-emitter voltage ΔVBE. For instance, the microcontroller 108 may find a difference from any two of the digital base-emitter voltage VBE signals and utilize the difference as the differential base-emitter voltage ΔVBE. In some embodiments, the microcontroller 108 may approximate the differential base-emitter voltage ΔVBE from the digital base-emitter voltage VBE signals by averaging multiple differences of the between the digital base-emitter voltage VBE signals or by selecting one of the differences, such as the median difference, as the differential base-emitter voltage ΔVBE.
The control logic 106 may control operations of the temperature sensor 102 and the analog-to-digital converter 104. For instance, the control logic 106 may select the number of base-emitter voltage VBE signals that are generated by the temperature sensor 12, and the current value utilized to generate the base-emitter voltage VBE signals. The control logic 106 may also control the operation, and/or timing of the analog-to-digital converter 104. In some embodiments, the control logic 106 may control the operations of the temperature sensor 102 and the analog-to-digital converter 104 according to the microcontroller 108.
The variable current source 202 provides current to the transistor 208, which generates an analog base-emitter voltage responsive to the current. This analog base-emitter voltage is then provided to the microcontroller 108 after conversion by analog-to-digital converter 104. The variable current source 202 may then provide another current, with a different magnitude, to the transistor 208, which generates another analog base-emitter voltage responsive to the new current. After receiving the new base-emitter voltage, the microcontroller 108 is capable of determining the differential base-emitter voltage and thus the environmental temperature for the system 100.
The variable current source 202 may generate and provide current to a switch network 204. The switch network 204 may be adapted to selectively couple the transistor 208 to the variable current source 202, or one of the plurality of fixed current sources I0-I7, in response to prompting by a sequencer 206. The sequencer 208 may control the operation of the switch network 204 responsive to input signaling from the microprocessor 108. In some embodiments, a sequencer 206 may indicate to the variable current source the amount of current to provide the switch network 204.
The switch network 204 provides current from the variable current source 202 to the transistor 208, which generates an analog base-emitter voltage VBE. The analog base-emitter voltage VBE may be provided to the analog-to-digital converter 104 for conversion into a digital base-emitter voltage VBE signal. The digital base-emitter voltage VBE signal may be provided to the microcontroller 108 for further processing. This process, of the variable current source 202 generating a current that is provided to the transistor 208 via the network switch 204, is then repeated with at least one different current magnitude.
In some embodiments, the sequencer 206 may cyclically select one or more of the fixed current sources I0 to I7 during the generation of a first base-emitter voltage, and subsequently select one or more of the fixed current sources I0 to I7 during the generation of a second or any other base-emitter voltage. A current ratio larger than 1 may be maintained between the current utilized to generate the first base-emitter voltage and at least one of the second or subsequent base-emitter voltages. This current ratio may ensure the temperature sensing system 100 determines a large ΔVBE, and thus generates a linear variation in temperature.
In some embodiments, the temperature sensor 102 may further include a current trim circuit 210 to trim current from the transistor 208 as it is provided to the analog-to-digital converter 104. In some embodiments, a current reference for the current trim circuit 210 may be about 2.5 μA. Although not shown, the temperature sensor 102 may include a trim register for calibrating the current trim circuit 210.
A comparator 310 may be configured with a pre-amplification stage and a dynamic latch at its output. The comparator 310 can be clocked at variable frequencies, and may be designed to meet 12 MHz. Feedback control signals may be delayed by half cycle, as the feedback sets in during the first phase.
In a block 404, the temperature sensing system 100 generate another analog voltage VBE. This analog voltage VBE may be generated by providing a different current from a variable current source 202 to the transistor 208. This current may be much higher or much lower than the current utilized in block 402, thus allowing increased resolution or precision in any subsequent determination of a differential base-emitter voltage.
In some embodiments, the microcontroller 108 may prompt the generation of the analog voltages in block 404 by causing the sequencer 206 to select five current paths I0 to I7 to be coupled to the transistor 208. The microcontroller 108 may direct the sequencer 206 to cyclically select at least one of the current paths I0 to I7 during the generation of the analog voltages in block 404. A current ratio of about 1:29 may be maintained between the current utilized to generate the analog voltage in block 402 and at least one of the analog voltages generated in block 404. This current ratio may ensure the temperature sensing system 100 determines a large ΔVBE, and thus generates a linear variation in temperature.
In a decision block 406, the temperature sensing system 100 determines whether to generate at least one more analog voltage VBE. When the temperature sensing system 100 determines to generate at least one more analog voltage VBE, execution returns to block 404, where the temperature sensing system 100 generate another analog voltage VBE. Otherwise, execution proceeds to a block 408, where the temperature sensing system 100 converts the analog voltages VBE into digital voltages VBE. In some embodiments, the temperature sensing system 100 may convert the analog voltages VBE into digital voltages VBE prior to decision block 406.
In a block 410, the temperature sensing system 100 determines a differential voltage ΔVBE according to the digital voltages VBE. As discussed above, there are many techniques for the microprocessor 108 to determine the differential voltage ΔVBE from the digital voltages. For instance, when two digital base-emitter voltage VBE signals are provided from the analog-to-digital converter 104, the microcontroller 108 may take the difference between the two digital base-emitter voltage VBE signals to determine the differential base-emitter voltage ΔVBE. When more than two digital base-emitter voltage VBE signals are provided from the analog-to-digital converter 104, the microcontroller 108 may use any number of methods to determine the differential base-emitter voltage ΔVBE. For instance, the microcontroller 108 may find a difference from any two of the digital base-emitter voltage VBE signals and utilize the difference as the differential base-emitter voltage ΔVBE. In some embodiments, the microcontroller 108 may approximate the differential base-emitter voltage ΔVBE from the digital base-emitter voltage VBE signals by averaging multiple differences of the between the digital base-emitter voltage VBE signals or by selecting one of the differences, such as the median difference, as the differential base-emitter voltage ΔVBE.
In a block 412, the temperature sensing system 100 determines a temperature according to the differential voltage ΔVBE. As discussed above, the microcontroller 108 may utilize the differential base-emitter voltage ΔVBE that it determines, and the fact that the differential base-emitter voltage ΔVBE is proportional to an Absolute Temperature (PTAT) value, to sense an environmental temperature value. The microcontroller 108 may use a look-up table (not shown) or other calculation to determine the environmental temperature from the differential base-emitter voltage ΔVBE.
One of skill in the art will recognize that the concepts taught herein can be tailored to a particular application in many other advantageous ways. In particular, those skilled in the art will recognize that the illustrated embodiments are but one of many alternative implementations that will become apparent upon reading this disclosure.
The preceding embodiments are exemplary. Although the specification may refer to “an”, “one”, “another”, or “some” embodiment(s) in several locations, this does not necessarily mean that each such reference is to the same embodiment(s), or that the feature only applies to a single embodiment.
This application claims the benefit of U.S. Provisional Application No. 60/912,399, filed Apr. 17, 2007, which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60912399 | Apr 2007 | US |