This application claims priority to India Patent Application No. 3413/MUM/2013, filed Oct. 29, 2013, entitled, “Systems and Methods for On-Chip Temperature Sensor,” which application is hereby incorporated herein by reference in its entirety.
A. Technical Field
The present invention relates to low power temperature sensors and, more particularly, to systems, devices, and methods of accurately measuring on-chip temperature with solid-state junction temperature sensors.
B. Background of the Invention
Embedded on-chip temperature sensors are becoming increasingly critical in today's electronic devices. Security and medical device applications, in particular, have stringent requirements for accurate, low-power on-chip temperature monitoring. BJT-based temperature sensors provide extreme low-power solutions. Some existing BJT-based sensors take advantage of the fact that the quantity VBE/ΔVBE of a set of bipolar transistors can be used to measure temperature as the ratio contains all necessary information to extract die temperature.
In these sensors, the ADC is implemented as a two-step converter where a successive-approximation ADC determines the integer portion of VBE/ΔVBE and a sigma-delta ADC determines the fractional portion by digitizing the residue with ΔVBE as its range. Typically, a sigma-delta modulator is used to perform averaging processes that aid in mitigating the effects of non-idealities by techniques such as chopper stabilization and dynamic element matching that reduce offsets and ratio errors, respectively.
However, when compensating error amplifier offset, current mirroring ratio error, and finite beta effects in the analog domain, additional non-idealities are associated with temperature sensing, including but may not be limited to mismatch in the reverse saturation currents of the two BJT's and process-dependent injection factor errors. The mismatch in the reverse saturation currents of the BJT's is oftentimes compensated using continuous switching of the BJT's which may not be power efficient, while process-dependent injection factor errors are corrected incompletely using a batch calibration method that results in a rather non-optimal accuracy. Batch calibration additionally requires a precision temperature sensor of known accuracy, which not only increases cost but also testing time due to the additional time required for the junction temperature to settle.
What is needed are tools to overcome the above-described limitations.
The disclosed systems and methods allow to reduce temperature measurement errors in a class of on-chip temperature sensors that are primarily caused by two BJT non-idealities; first, mismatch in the reverse saturation current and, second, process-dependent injection factor error.
In particular, certain embodiments of the invention allow to reduce the effects of mismatch in the reverse saturation currents of BJT's at the time of testing by using a circuit that digitally processes VBE signals generated in the analog domain. In certain embodiments, the circuit reverses the inputs of the BJTs, e.g., via a cross-connecting switch in order to perform an averaging technique.
In certain embodiment a spread in VBE is made predominantly dependent on the spread in the reverse saturation current by trimming the spread in the collector current generating resistor. In some embodiments, a βF-compensation resistor is adjusted proportionally to a biasing resistor in order to avoid introducing new errors or increasing existing errors.
Various embodiments allow to reduce the effects of a process-dependent injection factor by individually calibrating a biasing resistor. In some embodiments, calibration parameters of samples are individually computed at particular test temperatures, thereby, eliminating the need to accurately measure temperature with a precision temperature sensor. The computed parameters are used to de-embed the effects of the non-idealities while taking advantage of known variations in the injection factor with process.
Certain features and advantages of the present invention have been generally described here; however, additional features, advantages, and embodiments presented herein will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims hereof. Accordingly, it should be understood that the scope of the invention is not limited by the particular embodiments disclosed in this summary section.
Reference will be made to embodiments of the invention, examples of which may be illustrated in the accompanying figures. These figures are intended to be illustrative, not limiting. Although the invention is generally described in the context of these embodiments, it should be understood that this is not intended to limit the scope of the invention to these particular embodiments.
In the following description, for the purpose of explanation, specific details are set forth in order to provide an understanding of the invention. It will be apparent, however, to one skilled in the art that the invention can be practiced without these details. One skilled in the art will recognize that embodiments of the present invention, described below, may be performed in a variety of ways and using a variety of means. Those skilled in the art will also recognize that additional modifications, applications, and embodiments are within the scope thereof, as are additional fields in which the invention may provide utility. Accordingly, the embodiments described below are illustrative of specific embodiments of the invention and are meant to avoid obscuring the invention.
Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, characteristic, or function described in connection with the embodiment is included in at least one embodiment of the invention. The appearance of the phrase “in one embodiment,” “in an embodiment,” or the like in various places in the specification are not necessarily referring to the same embodiment.
Furthermore, connections between components or between method steps in the figures are not restricted to connections that are affected directly. Instead, connections illustrated in the figures between components or method steps may be modified or otherwise changed through the addition thereto of intermediary components or method steps, without departing from the teachings of the present invention.
The emitter of auxiliary transistor QBL 120 is coupled to a voltage supply (not shown) via transistor 115, while the emitter of transistor QBR 122 is coupled to the voltage supply via transistor 117 and biasing resistor 128. The base of QBR 122 is directly coupled to ground, while the base of QBL 120 is coupled to ground via βF-compensation resistor 126. Auxiliary transistor QBL 120 and QBR 122 in
Bipolar core 130 comprises current sources 132, transistors QR 136 and QL 138, and summer element 134. Transistors QR 136 and QL 138 are identical substrate bipolar transistors that are biased at a 1:5 current ratio. The emitter of transistor QR 136 and QL 138 is coupled to the voltage supply via transistor 132. The emitter of transistor QR 136 and QL 138 is further coupled to summer element 134. Summer 134 generates difference voltage ΔVBE 162 from the base-emitter voltages of QR 136 and QL 138 and outputs this difference voltage to ADC stage 106 for further processing.
ADC stage 106 comprises chop system 163, 164, 166 and ADC 108. ADC 108 is an on-chip ADC that receives voltage ΔVBE 162 and, selectively, voltage VBE 160 or voltage VEXT 168 from chop system 164 and 166, respectively. ADC 108 generates digitized signal 412 that is proportional to the ratio of VBE/ΔVBE, which is output form ADC stage 106 as a digital output signal. In this example, auxiliary transistor QBL 120 and QBR 122 are BJT devices with a fixed current ratio of 5, as is determined by a corresponding drain current ratio of MOSFET transistors 115 and 117.
In operation, bias circuit 110 generates, via operational amplifier 118, a PTAT current I 113 and a relatively higher current 112, here 5·I. Since the emitters of QBL 120 and QBR 122, which are inputs to amplifier 114, 122, are at the same potential, current 113, 115 is controlled by the difference ΔVBE between the base-emitter voltages of QBL 120 and QBR 122. Typically, biasing resistor 126 has a value of R/p, where p is the ratio of currents 113 and 112. Biasing resistor 126 serves to eliminate the forward current gain dependency of the collector currents and VBE. As a result of this βF-compensation, the presence of biasing resistor 126 ensures that process spread dependent gain does not affect collector currents 112 and 113 of QR 136 and QL 138, such that VBE 160 is not affected by process spread either.
Current sources 132 and bipolar transistors QR 136 and QL 138 are dynamically matched to maintain an average 1:5 current ratio to generate an accurate value ΔVBE 162, such that the difference between the bias-emitter voltages are proportional-to-absolute temperature, PTAT, while VBE 160 is complementary-to-absolute temperature (CTAT). Since the dominant source of sensor inaccuracy, i.e., the spread in ΔVBE 162, is PTAT in nature, a digital PTAT trim is carried out within digital backend 178.
By applying DEM to current sources 132 and QL 136 and QR 138, the collector current ratio p and, thus, ΔVBE 162 are made robust to mismatch. The process-dependent non-ideality factor n is extracted by a batch calibration method. The die temperature can then be determined by the following procedure. First, VBE 160 is replaced by external voltage VEXT 168. ADC 108 then digitizes the ratio XEXT=VEXT/ΔVBE from which the actual die temperature TD can be calculated using the following equations:
where k is the Boltzmann constant, q is the electron charge, TD is the temperature in Kelvin, and p is the collector current ratio. In a second step, VEXT is replaced by the on-chip VBE 160 and a conversion is performed to determine X=VBE/ΔVBE and, hence, the sensor's untrimmed output.
However, the process-dependent non-ideality factor n that is extracted by the batch calibration method is affected by variations caused by the manufacturing process of the device, such as lot-to-lot variations resulting in variations in area, doping level, etc. despite tight process specifications. This causes a systematic error that is much larger than the error resulting from random variations at the microscopic level. In particular, the injection factor, n, appears as a coefficient of the temperature, TD, and is proportional-to-absolute temperature (PTAT) quantity:
which, if uncompensated modifies the measured temperature, as will be explained with reference to
The collector current, IC, in a bipolar transistor is typically modeled as:
wherein n is the emitter-current injection factor. For an ideal BJT, this quantity is equal to one. Typically, as long as the transistor is biased in an appropriate region of operation, the value of the injection factor remains relatively close to one and does not significantly affect the accuracy of the measured temperature. Even if the value is not equal to one, it is known for a particular point of operation and technology. Some known methods employ a calibration process that first measures the actual die temperature for one part out of a batch of parts with the aid of a precision temperature sensor of known accuracy in order to determine a value for n. Once the actual die temperature is known, on-chip VBE 160 is replaced by known external voltage VEXT 168 and ΔVBE 162 for the part is computed from:
where the X is output of ADC 108. Knowing ΔVBE 162, the die temperature, and design parameter p, the value of n can be computed using the following expression:
ΔVBE=nVt ln(p)
In practice, the determination of n is a rather complex and time-consuming undertaking. Therefore, typically n is measured only for a single sample within a batch and it is assumed that all other parts in the batch have the same n value, based on the assumption that all other parents have suffered the same level of process variations as the sample. As a result, the accuracy of existing methods is limited by the extent of process variations within any given batch.
In addition, existing calibration approaches either fail to take into consideration the mismatch in the reverse saturation currents of QR 136 and QL 138 or adopt a rather power-inefficient dynamic element matching method. Any ignored mismatch negatively impacts accuracy since a variation in p is equivalent to a variation in n according to the following expression:
where p′ is defined as p·(IS1/IS2), and where p is set at 5 by the dynamic element matched current mirror.
As shown in
Therefore, in order to increase the accuracy, it would be desirable to eliminate the effect of the collector current in a manner such that the reverse saturation current spread is the only source of the spread in VBE values.
ADC 408 within ADC stage 406 may be an offset compensated ADC, such that chopping system 163, 164, and 166 may be eliminated. Digital back-end 490 comprises m-extract module 410, post-processor 420, divider module 430, data module 440, and trimming module 450. Data module 440 represents data or functions that may be obtained cost-effectively, for example, by characterizing a number of devices in a lab environment using a reference temperature sensor. Post-processor 420 receives signal 412 from ADC 108, signal 416 from m-extract module 410, and signal 418 from temperature trimming module 450 and generates modified die temperature signal 454, which is divided by divider 430 to output die temperature 432. Trimming module 450 receives modified die temperature signals 452 and 454 to generate signal 418.
In example in
In one embodiment, in order to avoid that adjustments of resistor 402 introduce or increase errors (e.g., related to finite current gain), resistor 404 is adjusted proportionally to biasing resistor Rb 402. Resistor 404 may be independently measured and then adjusted based on adjustments made to resistor Rb 402, thereby, taking advantage of the fact that both resistors are matched. It is noted that βF-compensation may be performed by any other method known in the art or not be performed at all in instances, for example, where QBL 120 and QBR 122 already have sufficiently high current gain. Note that Rb is not adjusted (during operation) to adjust bias current (but rather as a pre-calibration and for a different purpose). This step corrects for variations in the collector currents of transistors 120 and 122.
In operation, reference voltage VEXT 168 is supplied to ADC 408 via multiplexer 164 to generate an output signal X. Then, in one embodiment, the inputs of QBL 136 and QBR 138 are reversed, for example with a cross switch, to generate an output signal X′ (not shown in
From this estimate, m-extract module 410 generates mismatch signal m according to the expression:
m=ΔV
BE
/ΔV
BE,ideal,estimated
wherein m represents the mismatch in the reverse saturation currents of QL 136 and QR 138. In one embodiment, knowing the value of m, the value of p′ is computed from p′=exp(m·ln(p)), and the value of p is updated to p′, such that the effect of mismatch in the reverse saturation currents is corrected.
Returning to
where X is given by the output of ADC 408.
Then signal VBE 160 is input to ADC 408 and the value α is adjusted in a manner such that the measured modified die temperature n·TMEAS is set to the modified die temperature n·TKNOWN, where the measured modified die temperature is n·TMEAS=A·μ and where A and μ can be obtained from the following expressions:
Rewriting the expression for the measured die temperature yields:
In other words, the denominator is adjusted to match VBG, ideal. Therefore, by knowing the modified die temperature, the value of coefficient α can be adjusted so as to make match the measured modified die temperature n·TMEAS to the modified die temperature nTknown. As a result, the temperature reported by the sensor is now affected primarily by the quantity n.
In order to compensate for the effect of n, in one embodiment, the value of the adjusted constant coefficient α is used to determine the value of n based on n vs. α data 440. The value of n may be plotted against α for a number of samples during characterization by employing a reference temperature sensor, and the obtained information can be used on the production floor. This is made possible due to the relationship between coefficient α and the injection factor n as a result of the set-up.
In one embodiment, the values for α and n are iteratively refined by using the available value of n to calculate a weighing factor αnew=α·n, wherein the factor αnew represents the spread in VBE, in order to select a new n from n vs. α data 440. The iterations effectively de-embed the injection factor n from the coefficient α.
After the process is complete, divider 430 divides n·TMEAS by n (i.e., TMEAS=A·μ/n) in order to measure the actual die temperature.
As shown in
In a manner similar to
In operation, biasing resistor 572 is adjusted to compensate for variations in its resistance value, and βF-compensation resistor 574 may be adjusted accordingly. Operational amplifier 518 ensures that transistors 520 and 522 together with 572 and 574 generate PTAT current 113. By using a Brokaw architecture for the bias in
At step 704, an external supply voltage is applied to the input terminals of an ADC.
At step 706, the output of the ADC is read out.
At step 708, the position of BJTs is switched, and the output of the ADC is read out again.
At step 710, ideal difference voltage is, created, for example, from the expression ΔVBE, ideal=VBE, ext/(2X)+VBE, ext/(2X′).
At step 712, m is determined, for example, from the expression m=ΔVBE/ΔVBE, ideal.
At step 714, the value of p is updated to the value of p′ to correct the effect of mismatch.
At step 752, the modified die temperature, nTknown, is determined, for example, from the expression nTknown=VBE, ext/(X·(K/q) ln(p)).
At step 754, an internal voltage, VBE, is applied to the input terminals of the ADC.
At step 756, a value α is adjusted, for example, such that the modified die temperature nTMEAS can be set to the modified die temperature nTknown.
At step 758, the modified die temperature is determined.
At this point, the process may return to step 756 to continue with adjusting the value of α in order to refine the modified die temperature TMEAS.
Alternatively, the process may continue, at step 760, with determining n, for example, by using the value of α form a known BJT characteristic.
At this point, the process may continue either at step 762 with the determining a new a, for example as αnew=α·n, where αnew better represents the spread in VBE, or at step 764 to directly determine the die temperature, for example, as TMEAS=A·μ/n, which is a quantity that is no longer affected by n.
It will be appreciated by those skilled in the art that fewer or additional steps may be incorporated with the steps illustrated herein without departing from the scope of the invention. No particular order is implied by the arrangement of blocks within the flowchart or the description herein.
It will be further appreciated that the preceding examples and embodiments are exemplary and are for the purposes of clarity and understanding and not limiting to the scope of the present invention. It is intended that all permutations, enhancements, equivalents, combinations, and improvements thereto that are apparent to those skilled in the art, upon a reading of the specification and a study of the drawings, are included within the scope of the present invention. It is therefore intended that the claims include all such modifications, permutations, and equivalents as fall within the true spirit and scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
3413MUM2013 | Oct 2013 | IN | national |