Embodiments disclosed herein relate generally to temperature sensing circuits.
Temperature sensor circuits are commonly used in a variety of applications including temperature monitoring in a chip. (As used herein, the term “chip” (or die) refers to a piece of a material, such as a semiconductor material, that includes a circuit such as an integrated circuit or a part of an integrated circuit.) A temperature sensing circuit typically generates a signal that is indicative of the circuit's temperature and thus the temperature around the circuit (e.g., in a region of a chip around the circuit). For example, such a circuit may be used to prevent device destruction due to over-heating when the temperature within a device becomes excessive. On the other hand, it might be used to know when it is okay to fully drive a device (e.g., operate a microprocessor at maximum power and/or frequency).
Unfortunately, conventional temperature sensing circuits may be inaccurate or impractical to utilize because they generally do not provide a linear temperature response signal over a reasonable range of temperatures. For example, so called bandgap temperature sensor circuits are commonly used to monitor internal chip temperature, but they generate a non-linear temperature response signal. Thus, their use is normally limited to narrow temperature ranges where the response sufficiently approximates a linear response. Other types of sensor circuits are more linear but can be impractical. For example, sensors using resistors made from different metals with varying resistivities can generate fairly linear temperature response signals but may not be feasible in certain applications.
Embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements.
As indicated, D1 and Mp1 are connected in series between VDD and VSS and have an associated current I1. Likewise, D2 and Mp2 are connected in series between VDD and VSS and have an associated current 12. Transistors Mp1 and Mp2 are connected together in a current mirror configuration with I1 following I2. Transistor Mp1 has a transconductance parameter, β, that is s times greater (s is a scale factor) than that of Mp2. For example, it could have a channel width s times larger than the channel width of Mp2. Accordingly, I1=sI2. On the other hand, diode D2 has a saturation current parameter, Is, that is σ times greater than the 1 of D1, e.g., D2 has a PN junction cross-sectional area that is a times larger than that of D1.
This circuit generates a differential voltage, VTD(Vd+−Vd−), that has a linear response with respect to the temperature of the diodes (which are assumed to be substantially at the same temperature). The equation for this temperature signal is given by:
where Is is the diode's saturation current parameter, VT is its thermal voltage parameter, and n is a physical semiconductor material parameter (generally ranging between 1 and 2). The current in a PMOS transistor when it is operated in the saturation region (as it typically is with a current mirror) is given by:
where β is the transistor's transconductance parameter, VSG is the voltage drop between its source and gate, and VTh is its threshold voltage parameter. With the depicted circuit, I1 is equal to the D1 current, which is equal to the source-to-drain current in MP1. Thus,
Similarly, I2 is equal to the D2 current, which is equal to the source-to-drain current in MP2. Thus,
(Note, it is assumed that VTh is substantially the same for both transistors and VT is substantially the same for both diodes. In different applications, depending on needed accuracy, these assumptions may be achieved to varying degrees.) The equations can be algebraically combine as follows:
Since VT (the thermal voltage parameter for the diodes) is equal to KT/q, where K is the Boltzmann constant, q is the charge of an electron, and T is the temperature (in degrees Kelvin), this equation can be expressed as
where Tc is the temperature in degrees Celsius.
As the equation for VTD shows, the output voltage has a very linear relationship to temperature. The nonlinearities of the semiconductor devices are canceled out in the differential voltage (VTD) function. When the scale factors, s and σ, are kept relatively large, a robust, substantially linear voltage to temperature signal can be attained over a relatively wide temperature range. for example, in one embodiment, scale factors of s=20 and σ=35 are used resulting in a temperatures sensing range of −5° C. to 130° C. with the measured temperature being accurate to within 1°. (With this embodiment, a 0.16 μm process is used; PMOS transistors having channel lengths of 0.64 μm and widths of 800 [Mp1] and 40 μm [Mp2] are used; and the diodes are formed from PN junctions with cross-sectional areas of approximately 267 μm2 [D1] and 9356 μm2 [D2].)
Another benefit of having a relatively high sa scale product is that a large amount of amplification can occur in the temperature sensing circuit itself thereby reducing the amount of needed downstream amplification, which can be temperature sensitive.
In combination with inverters U1 and U2, transistors Mn3, Mn4, and Mn5 are employed to enable and disable the temperature sensing circuit by way of an “Enable” signal, which is input at U1. When the Enable signal is asserted (High), Mn5 turns off (which allows Mn1 and Mn2 to freely operate) and Mn3 and Mn4 turn on. This will engage the current mirror between Mn1 and Mn2 thereby enabling the temperature sensing circuit. Conversely, when the Enable signal is de-asserted (Low), Mn3 and Mn4 turn off and Mn5 turns on thereby disabling it.
The differential amplifier circuit 202 comprises operational amplifier (“op amp”) U3 and resistors R1, RL, RH, and RF, connected in a conventional differential amplifier configuration including a level shifting function. When RF/RI is equal to RHRL/RI(RH+RL), the amplifier has a gain factor of RF/RL and a level shifting component of
Thus, the amplified temperature sensing voltage VTAmp is equal to
In some embodiments, the op amp U3 has a relatively large common mode rejection ratio to reduce error in the amplified temperature signal. Likewise, in some embodiments, one or more noise decoupling capacitors connected across the op amp's power supply rails may be employed to filter out noise, e.g., from a downstream A-to-D converter. (It should be appreciated that while a differential amplifier circuit is shown for amplifying the temperature sensing voltage (VTD), any other suitable amplifier such as a chopper stabilizer circuit could be used.)
The complementary differential amplifier circuit 302 comprises multiplexers Mux 1 to Mux 3, op. amp. U3, and resistors R1, RS, and RF. With this configuration, complementary outputs of the amplified VTD are provided at the output of the op amp U3. (Negative feedback is provided with respect to each output since the “+” output is fed back to the “−” input, and the “−” output is fed back to the “+” input.) for each output, gain is RF/RS, and is shifted by an offset of −(RF/RS)VDD. thus, the output voltage (VTAmp) for each output is given by:
In operation, the multiplexers may be periodically switched causing the polarity of the input VTD signal to be switched, along with the polarity of the selected output (which normalizes the output signal polarity regardless of the multiplexer states). The dual outputs (within a reasonable amount of time) can then be averaged resulting in noise (e.g., common mode noise) being cancelled out of the output signal. (Such averaging can be performed at any suitable place such as downstream on the digitized temperature signal.)
With reference to
A processor/memory component is a component such as a processor, controller, memory array, or combinations of the same contained in a chip or in several chips mounted to the interface system or in a module or circuit board coupled to the interface system. Included within the depicted processor/memory components is microprocessor chip 402A, which has a core 403 with a current mirrored temperature sensing circuit 405, as disclosed herein. The one or more depicted other components 412 could include any component of use in a computer system such as a sound card, network card, Super I/O chip, or the like. In the depicted embodiment, the other components 412 include a wireless interface component 412A, which serves to establish a wireless link between the microprocessor 402A and another device such as a wireless network interface device or a computer. It should be noted that the system 400 could be implemented in different forms. That is, it could be implemented in a single chip module, a circuit board, or a chassis having multiple circuit boards. Similarly, it could constitute one or more complete computers or alternatively, it could constitute a component useful within a computing system.
The invention is not limited to the embodiments described, but can be practiced with modification and alteration within the spirit and scope of the appended claims. For example, it should be appreciated that the present invention is applicable for use with all types of semiconductor integrated circuit (“IC”) chips. Examples of these IC chips include but are not limited to processors, controllers, chip set components, programmable logic arrays (PLA), memory chips, network chips, and the like. In addition, while in the depicted embodiment, diodes D1 and D2 are formed out of basic PN junctions, it should be appreciated that any suitable semiconductor device such as a transistor or diode-connected transistor could be used.
Moreover, it should be appreciated that example sizes/models/values/ranges may have been given, although the present invention is not limited to the same. As manufacturing techniques (e.g., photolithography) mature over time, it is expected that devices of smaller size could be manufactured. With regard to description of any timing or programming signals, the terms “assertion” and “negation” are used in an intended generic sense. More particularly, such terms are used to avoid confusion when working with a mixture of “active-low” and “active-high” signals, and to represent the fact that the invention is not limited to the illustrated/described signals, but can be implemented with a total/partial reversal of any of the “active-low” and “active-high” signals by a simple change in logic. More specifically, the terms “assert” or “assertion” indicate that a signal is active independent of whether that level is represented by a high or low voltage, while the terms “negate” or “negation” indicate that a signal is inactive. In addition, well known power/ground connections to IC chips and other components may or may not be shown within the FIGS. for simplicity of illustration and discussion, and so as not to obscure the invention. Further, arrangements may be shown in block diagram form in order to avoid obscuring the invention, and also in view of the fact that specifics with respect to implementation of such block diagram arrangements are highly dependent upon the platform within which the present invention is to be implemented, i.e., such specifics should be well within purview of one skilled in the art. Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that the invention can be practiced without, or with variation of, these specific details. The description is thus to be regarded as illustrative instead of limiting.