The recited claims are directed, in general, to temperature sensors and, more specifically, to improving the accuracy of temperature sensor measurements.
Temperature sensors provide electronic devices with temperature measurements that can be used to signal overheating conditions and allow adjustments to be implemented before the overheating rises to damaging levels. Temperature sensors may also be used as components of industrial process control systems, environmental monitoring systems or in a wide variety of other applications. Temperature sensors may also be used during the development phase of an electronic device in order to measure heat buildup in the device. Based on the information provided by the temperature sensors, engineers can adjust the design of the device in order to maintain device temperatures within certain tolerances. In both production and development scenarios, the accuracy of the temperature sensor is crucial.
Certain temperature sensors may be integrated into a device being monitored by integrating certain components of the sensor within an integrated circuit of the device electronics. In these on-chip temperature sensors, temperature information may be collected by measuring the temperature of the die in which the sensor is integrated. Typically, the die temperature can be determined using sensors that are configured to measure a thermal voltage generated by a component integrated into the die, such as a diode or bipolar junction transistor. This thermal voltage output can then be used to calculate the temperature of the die.
The performance characteristics of temperature sensors that rely on thermal voltage measurements can vary significantly from device to device due to variances in the manufacturing process. In applications such as temperature sensors that require high accuracy and precision, each individual sensor may be adjusted (i.e., trimmed) in order to account for the manufacturing variances and confirm the operating characteristics of the sensor prior to deployment. Prior to trimming a temperature sensor, the accuracy of the sensor must first be determined. There are two principle mechanisms for measuring the accuracy of a temperature sensor.
The first mechanism for determining the accuracy of a temperature sensor involves controlling the ambient temperature of the device while taking measurements with the sensor. Any difference between the ambient temperature and the measured temperature reflect variances in the sensor's accuracy. Once identified, these discrepancies in the sensor's accuracy can be accounted for by trimming the sensor. In this method, the ambient temperature may be controlled by either controlling the air surrounding the device to a desired temperature or by dipping the device into a thermal fluid bath set at the desired temperature. Both of these approaches require specialized hardware that is expensive to purchase, operate and maintain.
In certain scenarios, the accuracy of the testing measurements themselves may be uncertain. For instance, where forced air is used, such as an oven, maintaining a stable temperature is complicated due to temperature gradients that can form within the controlled environment in which the test is being conducted. Such gradients can be partially eliminated by circulating the forced air that is used, but this itself introduces uncertainty to the highly precise testing measurements made using the sensor.
Another disadvantage of this first mechanism is the time required for each individual measurement. Before any measurements can be made with the sensor, this method requires the device to settle to the desired temperature. This settling time can be very slow depending on several factors such as the starting die temperature, the different packaging that may be used with the sensor and the different handling and testing equipment that may be used in this process. The different settling characteristics of thermal fluid versus forced air flow may add further uncertainty that may often be resolved by extending the settling time.
A second mechanism for determining the accuracy of a temperature sensor involves simulating its use. A set of thermal voltages is obtained by forcing a series of discrete currents as inputs to the diodes or other thermal voltage generating component of the temperature sensor. The generated thermal voltage information can then be used to calculate the die temperature. Since this method simulates use of the sensor in a test environment using a sensor that has not yet been trimmed, numerous sources of measurement error are possible. Additionally, this method requires highly calibrated external current sources capable of reliable precision. Numerous disadvantages and a more detailed description of this conventional method are provided below.
A need is present for a mechanism by which the accuracy of temperature sensor can be determined without relying on methods that require controlling ambient temperatures while also avoiding certain of the numerous disadvantage of using conventional simulated forced-current measurements.
According to various aspects of the Application, an integrated circuit and method are provided for accurately measuring the temperature of a die of the integrated circuit. Pairs of diodes are driven with different currents in order to generate a series of thermal voltages. The ADC measures the series of thermal voltages against an external reference voltage. Based on these thermal voltage measurements, the ADC calculates the die temperature. The different currents used to generate the series of thermal voltages are selected at specific ratios to each other in order to promote the ability of the ADC to calculate the die temperature using standard components and logic of an ADC. These thermal voltages are generated and measured using integrated components of the die for which a temperature measurement is being provided, thus reducing several sources of inaccuracies in conventional die temperature measurement techniques. Addition aspects of the Application may be used for detecting defective diodes based on comparisons of the thermal voltage outputs.
According to one aspect of the Application, a temperature sensor integrated circuit comprises a die; a thermal voltage source operable to generate pairs of thermal voltages, wherein each of the pair of thermal voltages varies with the temperature of the die, and wherein the thermal voltage source is a component of the die; and an ADC operable to receive an external reference voltage provided as an input to the temperature sensor integrated circuit and further operable to receive the pairs of thermal voltages, wherein the ADC is further operable to calculate a PTAT voltage based on pairs of thermal voltages and an external reference voltage, and wherein the ADC is a component of the die.
According to another aspect of the Application, the thermal voltage source is comprised of a first pair of diodes configured to generate first pair of thermal voltage outputs. According to another aspect of the Application, the thermal voltage source is further comprised of a second pair diodes configured to generate a second pair of thermal voltage outputs. According to another aspect of the Application, the ADC is further operable to calculate the difference between the first pair of thermal voltages or the difference between the second pair of thermal voltages. According to another aspect of the Application, the pairs of thermal voltages are generated using three currents of three different current levels. According to another aspect of the Application, the ratios between each of the three different currents levels are selected such that the ADC calculates the PTAT voltage using addition and subtraction operations. According to another aspect of the Application, the first pair of diodes comprises two matching diodes of a first type and the second pair of diodes comprise two diodes of a second type. According to another aspect of the Application, a fourth pair of thermal voltage outputs is generated by forcing the same current onto both diodes from the first pair of diodes. According to another aspect of the Application, the first pair of diodes generate a first thermal voltage and the second pair of diodes generate a second thermal voltage, and wherein a discrepancy in the first thermal voltage and the second thermal voltage is used to detect a discrepancy in an ideality factor of a diode from the first pair of diodes or the second pair of diodes. According to another aspect of the Application, the thermal voltage inputs to the ADC are generated using a force sense connection. According to another aspect of the Application, pair diagnostic thermal voltages is generated by forcing the same current onto both diodes from the first pair of diodes, wherein the diagnostic pair of thermal voltages is used to detect defects with the first pair of diodes.
Having thus described the invention general terms, reference will now be made to the accompanying drawings, wherein:
The invention now will be described more fully hereinafter with reference to the accompanying drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. One skilled in the art may be able to use the various embodiments of the invention.
In the temperature sensor 100 of
This measurement of a thermal voltage is repeated three times, generating V1, V2 and V3, each time using a different forced current, I1, I2 and I3, respectively. Combining the equations corresponding to the three measurements results in the equation for die temperature below.
Using the above equations in the conventional process illustrated in
An additional problem faced by the conventional process of
Another shortcoming of the conventional process of
Noise in the inputs to the on-chip diode can provide additional sources of inaccuracies in conventional temperature sensors such as illustrated in
Another problem encountered in the conventional process of
Yet another shortcoming of using conventional forced current measurements is the self-heating that results from forcing currents in the temperature sensor. A diode will typically self-heat to a slightly different temperature when forced with different levels of current. The self-heating of the diode further reduces the accuracy of the die temperature measurement. In a typical diode, the magnitude of the self-heating in the diode may result in a temperature measurement error that is ten times greater than the magnitude of the self-heating.
Another problem in the conventional forced-current measurement process of
In the above equations, the calculation of a thermal voltage relies on a variable, n, representing the ideality factor of the diode. This ideality factor compensates for second-order characteristics of the diode, where these second-order characteristics are not otherwise represented in the die temperature calculations. The above equations assume that the ideality factor, n, is constant for all diodes. In reality, manufacturing variances can cause slight variations from the ideality factor such that the accuracy of the temperature measurements may be further compromised.
Due to accumulation of the above issues, test times for a series of forced current measurements can take a relatively tong time. As described above, the currents used to force the diode must be highly precise, which necessitates providing a significant settling time between measurements. In certain scenarios, additional time may be required to allow for settling of temperatures in the die and/or the diode. As a result, a series of high-accuracy temperature measurements can take a relatively long time to complete. In a mass production manufacturing setting, any amount time that can be saved in generating accurate sensor readings that can be used in trimming the sensor may be multiplied many times over, thus significant improving efficiency.
In order to address the above shortcomings of conventional temperature sensors, embodiments of the claimed invention provide the ability to generate more accurate temperature measurements using an on-chip diode. Many of the shortcomings of conventional sensors are due to the reliance on highly precise external currents and/or as a result of the adverse impact to accuracy that caused by variances in individual diodes. These shortcomings are addressed at least in part, according to various embodiments, by the use of components of the temperature sensor itself to generate and measure a PTAT thermal voltage. Whereas conventional sensors rely on external currents to generate a thermal voltage that is measured externally, embodiments rely on temperature measurements made internal to the sensor using a set of PTAT thermal voltages in a manner that negates or at least mitigates the effects of many of the described disadvantages of conventional sensors.
The voltage source 205 utilizes two pairs of diodes 235a-b, 240a-b to generate pairs of thermal voltages that are differenced to derive a PTAT voltage that can then be used to calculate the die temperature. Each pair of diodes, 235a-b, 240a-b is comprised of two matching diodes of the same technical specifications. As described above, manufacturing variances may preclude the two matching diodes from being exactly identical, but may nonetheless both be provided under the same technical specifications. As will be described further, by using pairs of diodes, the effects of these variances can be significantly reduced with respect to their adverse impact on accuracy in the conventional sensor of
In the temperature sensor of
The thermal voltage source 205 generates discrete pairs of thermal voltage outputs by forcing a series of different currents onto the pairs of diodes 235a-b, 240a-b. The thermal voltage source 205 includes a set of identical current sources 210. Each individual current source from this set 210 of identical current sources may be selected individually or combined into groups in order to create various different ratios of current levels. The identical output currents supported by current source 210 are selected individually or in groups by the current rotation switches 215a, 215b, thus selecting two different currents of a certain ratio to each other. The two selected currents are thus provided as a forced current inputs to a pair of diodes in order to generate a pair of thermal voltage outputs.
The current rotation switches 215a, 215b are configured to select a current using the set of currents provided by the current source 210 and route the selected current to one of the associated diode selection switches 220a, 220b. In the embodiment illustrated in
Once a current level is configured b the selection of one or more currents from the current source 210 by one of the current rotation switches 215a, 215b, the configured current is provided as an input by a diode selection switch 220a, 220b to one diode selected from the two diode pairs 235a-b, 240a-b. In one scenario, diode selection switch 220a routes a configured current as a forced current input to diode 235a and diode selection switch 220b routes a different configured current as forced current input to diode 235b. The thermal voltage outputs generated by diode 235a and 235b are routed as inputs to ADC 255 via configuration of switches 225 and 230. By selecting different current levels as forced current inputs to diode 235a and diode 235b, the difference between the thermal voltage outputs of diode 235a and 235b is proportional to the absolute temperature (PTAT) of the die.
As described above, the accuracy of temperature sensor measurements may be adversely affected be a variety of factors, including the series resistance of the diodes used to generate a thermal voltage. Even if this series resistance is accounted for in the equations used to calculate a die temperature from a generated PTAT voltage, variations in actual series resistance and non-linear series resistance behavior can nonetheless cause certain measurement errors. According to various embodiments, the impact of this series resistance can be eliminated entirely from the determination of die temperature by using a set of three or more different current sources to generate three or more corresponding thermal voltages pairs, from which the PTAT voltage can be calculated without having to account for any series resistance.
In a scenario where three different current sources, I1, I2 and I3, are utilized as forced inputs, three different thermal voltages, V1, V2 and V3, are generated. By using three different current sources, the PTAT voltage, VPTAT, can be calculated according to the equation below. Unlike the equations provided above that govern die temperature calculations in conventional devices, the series resistance, Rs, of the diodes is cancelled out according to various embodiments by differencing pairs of thermal voltage generated using the three different current sources.
The ADC 255 implements the measurement of the PTAT voltage, this measured PTAT voltage then being available for use calculating the die temperature. In order to facilitate this computation of the PTAT voltage by the ADC 255 according to certain embodiments, current rotation switches 215a, 215b are configured to select pairs of input current levels that are in certain ratios to one another. More particularly, the ratio of currents selected by the current rotation switches 215a, 215b may be chosen such that the term, (I3−I2/I2−I1) from the above VPTAT equation is a whole number. Chosen in this manner, this term and the remaining terms in the above VPTAT equation can be calculated using an integrator component of ADC 255 using a series of addition and subtraction operations.
As illustrated
In addition to this pair of thermal voltage inputs 245, the ADC 255 also receives two external reference voltage signals 250 as inputs. Together, the thermal voltage inputs 245 and the reference voltages inputs 250 are used by the ADC 255 to implement a ratio metric measurement system that can be used to measure the difference between the pair of thermal voltage inputs 245. In order to further improve the accuracy of these thermal voltage inputs 245 to the ADC, the illustrated embodiment utilizes a force sense connection implemented by switches 225 and 230. This force sense connection minimizes the impact of the respective resistances of current rotation switches 215a, 215b and diode selection switches 220a, 220b when measuring the thermal voltages of didoes 235a-b and 240a-b.
As described above, a source of measurement errors in conventional temperature sensor is the non-linear series resistance that may be exhibited by a diode or other component used to generate a thermal voltage output. The equations that govern calculation of temperature based on thermal voltage in conventional devices assume that the series resistance of a diode is constant at each forced current level. Due to this assumption, any non-linear series resistance responses to different forced currents results in measurement error. By using the force sense connections illustrated in
The use of a force sense connection to provide inputs to the ADC in certain embodiments provides further advantages with regard to the operation of the ADC itself. In some scenarios, calibration within a few micro volts may be obtained. In addition, the gain error of the ADC may be reduced by rotating through the input sampling capacitors of the ADC. Where the inputs to the ADC form a force sense connection, rotating these capacitors serves to reduce gain error in the ADC by configuring the use of the same input sampling capacitors on both the thermal voltage and reference voltage inputs to the ADC. In some scenarios, gain error of the ADC may be reduced to a level in the order of a few millipercent.
Using the calculated differences between the thermal voltage inputs 245 to the ADC 255, the die temperate is calculated. The above VPTAT calculation can be re-written into the equation below, which can be solved for the die temperature, T. Written in this form, the below equation relies on ratios of currents rather than the magnitude of any individual current. Consequently, unlike the conventional forced current technique described above, embodiments are not reliant on having highly precise currents as forced current inputs. Instead, embodiments rely on calculations that are sensitive to the ratios of current sources, I1, I2 and I3, that are selected by the current rotation switches 215a, 215b.
By choosing input currents that are of specific ratios to each other, the measurement of the PTAT voltage can be calculated by ADC 255. Since the thermal voltage outputs relied upon by ADC 255 in measuring the PTAT voltage are differenced pairs of voltages, the accuracy of the sensor measurements is significantly less dependent on the precision of the external currents used to force the individual thermal voltages. By using three or more source currents, the accuracy and reliability of the calculation of the PTAT voltage can be further improved due to elimination of certain variables from the equations used to calculate the die temperature.
Both the thermal voltage source 205 used to generate thermal voltage outputs and the ADC 255 used to generate measurements of the thermal voltage outputs are integrated components of the temperature sensor circuitry. In certain embodiments, the pairs of diodes 235, 240 are included in an integrated circuit utilized by the temperature sensor and thus operable for generating thermal voltages correlated to the temperature of the die on which the integrated circuit is implemented. The diode selection switches 220a-b, current rotation switches 215a-b, switches 225 and 230, current sources 210 are also components of this same integrated circuit.
By implementing these components on an integrated circuit of the temperature sensor, embodiments are able to avoid or at least mitigate several of the disadvantages and sources of inaccurate measurements that exist in conventional temperature sensors. With the thermal voltage source 205 components used to generate the measured thermal voltages and the ADC 255 component use to measure these thermal voltages all located within the temperature sensor, current leakage is mitigated. In the conventional temperature sensor of
By including the thermal voltage source 205 and the ADC 255 as components of an integrated circuit of the temperature sensor, noise reduction improvement may also be achieved. Internal components and signals generated using these internal components, in particular the ratios of thermal voltage outputs, are better insulated from external noise sources. Additionally, using internal components allows for any noise that is generated in the ratios of the thermal voltage outputs to be minimized by proper layout of these components within the temperature sensor circuitry and using shielding of sensitive traces. Any external noise present in the input currents is mitigated by the use of differencing in thermal voltage between two different diodes. As opposed to the effects of noise in measuring the magnitude of a thermal voltage, differencing two signals subjected to the same noise will result in the noise being cancelled from the resulting signal. With fewer noise effects, accuracy of the temperature sensor measurements is improved according to various embodiments.
Another improvement provided by embodiments such as illustrated in
Another conventional source of temperature measurement errors that is addressed by various embodiments is the inaccuracy caused by internal heating of the diodes. As described, the longer the settling time required to obtain a measurement, the greater the heat that accumulates in the diode itself. Using components that are internal to sensor circuitry, thermal voltages suitable for differencing can be generated much more quickly than the conventional process that requires waiting for external currents sources to settle to a stable output. In some embodiments, thermal voltage signals that can be accurately differenced can be generated by forcing currents into the diodes for approximately two microseconds. By reducing the time necessary to generate the thermal voltage outputs necessary for a measurement, there is less time for internal heating of the diode to impact the accuracy of the measurement.
In addition to the above advantages provided by embodiments resulting from the ability to conduct test measurements more quickly using components internal to the temperature sensor circuitry, taking less time to generate individual temperature measurements also reduces the overall time needed obtain the temperature measurements needed to trim the sensor. In some scenarios, internal measurements may be generated using various embodiments up to ten times more quickly than conventional temperature measurements. In a mass production environment, these saving can result in substantial efficiency improvements.
As described above, conventional temperature measurements assume a diode is operating according to its technical specifications. A certain degree of variance in the operation of a diode are accounted through the use of ideality factors. As described, variances in the diode operation that exceed those accounted for by the ideality factor will result in measurement error by the temperature sensor.
As with the sensor of
In one scenario, the temperature sensor circuit of
By using different diode types for each of the two pairs of diodes, the embodiment of
The identification of defective diodes can be further improved according to the various embodiments by modifying the above to test two diodes of the same type against each other. This mechanism for identifying defective diodes can be implemented in the embodiments of both
Using these techniques for isolating discrepancies in the operation of individual diodes, embodiments can generate information that can be used to identify diodes with defects that appear to impact the measurement accuracy of the diode. By identifying defective diodes at this stage of the manufacturing process, less effort is wasted in attempting to trim a temperature sensor with a defective thermal voltage source. In a mass production environment, any such savings can be substantial. In addition, overall quality of the produced temperature sensors is improved by removing defective components and by confirming that diodes are operating according to their specifications.
Many modifications and other embodiments of the invention will come to mind to one skilled in the art to which this invention pertains having the benefit of the teachings presented in the foregoing descriptions, and the associated drawings. Therefore, it is to be understood that the invention is not to be limited to the specific embodiments disclosed. Although specific terms are employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.
The present application claims the benefit of the filing date of Provisional Application No. 621096,459, filed Dec. 23, 2014.
Number | Date | Country | |
---|---|---|---|
62096459 | Dec 2014 | US |