Integrated circuit (IC) chips can include circuitry for detecting temperature of the IC die. A typical thermal sensing circuit utilizes a comparator to ascertain whether temperature at a given site exceeds a predetermined threshold. This determination can be made, for example, by comparing voltage across an integrated diode relative to a temperature independent threshold voltage.
The remote sensors 14 provide information indicative of temperature on the die. In the example, of
An aggregator 18 samples or aggregates the temperature signals from the respective reference generators 16. The aggregator 18 provides an output signal to an analog-to-digital converter (ADC) 20. For example, the aggregator 18 can sample each of the signals from the reference generators 16 sequentially over a predetermined time period. The sampled reference signal (indicative of temperature at the sensor location) can be provided to the ADC 20. The ADC 20 converts the analog signal sampled by the aggregator into a corresponding digital value (e.g., any number of bits), which is provided to a control system 22.
The control system 22 can be operative to determine relative temperature based on the signals provided by the reference generators 16. The control system 22 can be hardware, such as a microcontroller, processor, or state machine configured to operate as described herein. For instance, the control system 22 determines relative temperature at each of the respective remote sensor locations based on the digital values provided by the ADC 20. The control system 22 can employ memory (e.g., registers or programmable read only memory or random access memory) to store the digital values to facilitate the determination. The control system 22 also is operative to control circuitry (depicted as OUT) 24 according to the relative temperatures determined at the respective sensor locations. The control system 22 can independently control the circuitry 24, such as by activating the circuitry at a selected one of the respective remote sensor locations. The activation of the circuitry 24 provides a corresponding signal to an output 26. The output 26 can be utilized by, for example, an off-chip sensor or other circuitry external to the IC 12 that can perform predetermined functions based on the signal provided at the output 26.
As an example, an off-chip sensor can employ the signal provided at the output 26 to determine an indication of temperature for the remote sensor location at which the circuitry 24 has been activated (e.g., corresponding to a “hot spot”). In response to the indication of temperature determined for the respective location, appropriate action may be taken, such as including controlling a cooling device (e.g., a fan). Other appropriate action can also be taken to reduce the temperature at the respective hot spot location as deemed appropriate based on the indication of temperature provided at the output 26. The control system 22 can also provide an indication of temperature, indicated at 28, based upon the digital temperature values for each respective location for the remote sensors. The digital indication of temperature 28 can be employed by other circuitry in the IC 12 to perform power management or take other action as may be appropriate. The digital indication of temperature 28 can be a temperature value or a digital value representing the analog signal generated by one or more of the reference generators 16.
The aggregator 18, the ADC 20 and control system 22 can be co-located on the IC 12. Stated differently, the aggregator 18, the ADC 20 and control system 22 define a central system that samples and performs functions, as described herein, based on the analog signals routed from the reference generators 16 of the remote sensors 14. Since the remote sensors 14 feed their respective signals to central system, the amount of circuitry required to implement each remote sensor can be reduced relative many existing thermal sensing topologies. For sake of efficiency, the ADC 20 can form part of the central system, although separate remote ADCs could be implemented for each remote sensor 14. Additionally to thermal sensing system 10 affords the ability to ascertain a more precise indication of temperature for each sensor location. For example, the control system 22 can determine a temperature value (e.g., by use of an associated look-up table) for each based on the digital information provided by the ADC 20.
Each remote sensor 52 includes a thermal reference 54 and associated circuitry. The thermal references provide respective analog signals T1, T2. T3 and T4, each having a level that varies as a function of temperature of a respective region of the IC die where each respective remote sensor is located. For example, the signals T1, T2. T3 and T4 can correspond to voltage signals based on which a corresponding temperature can be determined.
The associated circuitry for each remote sensor 52 can include a diode 56 connected in series with a switch device, such as an N-channel metal oxide semiconductor field effect transistor (NMOSFET), indicated at M0. The diode 56 can have similar temperature characteristics to the thermal reference 54. As a result, when a respective device M0 is activated to a conductive state, the voltage drop across the diode 56 will vary as a function of temperature in a manner that is substantially proportional to the signal generated by the associated thermal reference 54.
A multiplexer 60 samples the temperature signals T1, T2. T3 and T4 received from each of the thermal references 54. Each thermal reference 54 can feed the multiplexer via wire or other connections in the IC. The multiplexer 60 is controlled by a SELECT signal to provide an output signal to an analog digital converter 62 corresponding to the sampled signal. For example, the SELECT signal can operate the multiplexer 60 to switch in each of the input reference signals in a sequence defined by the SELECT signal. For example, the SELECT signal can control the multiplexer 60 to route the signal from each thermal reference 54 over a time period, which may be fixed or variable.
An analog-to-digital converter 62 in turn converts the analog signal from each thermal reference 54 to a corresponding digital value. The ADC 62 inputs each corresponding digital value to one or more registers 64. For example, the digital value can be implemented as any number of bits (e.g., an eight bit value) sufficient to encode the raw temperature information at a desired accuracy. The digital for each thermal reference 54 can be written to corresponding address locations (or to separate registers) of the register 64. The address location can be set based on the SELECT signal. The temperature value stored in the register for each thermal reference 54 can be an instantaneous value based on the sample provided during a given sample time period. Alternatively, a controller 66 may determine a time-averaged value over a plurality of samples, which value can be stored in the register 64. The controller 66, for example, may be implemented as a microcontroller, processor or state machine configured to implement the functionality described herein. The controller 66 can determine a temperature at each remote sensor location based on the digital temperature values stored in the register 64 signals. For instance, the controller 66 determines the temperature of the die at each sensor location based on the digital values stored in the register 64.
Due to process variations and other factors, each thermal reference 54 may provide the thermal reference signal with a substantially fixed offset (e.g., corresponding to parasitic resistance). The amount of offset associated with the thermal reference 54 can be measured during a testing phase and compensated. For example, in
A temperature correction component 70 can be programmed with offset correction information to adjust each thermal reference signal appropriately. The offset correction block 68 employs the correction values to adjust the digital value stored in the registers 64. As an example, the temperature correction component 70 can be implemented as a fuse bank or register that is set during a calibration mode to establish digital correction values to compensate for the offset associated with each thermal reference. The offset may be the same or different at each of the respective thermal references 54 and the temperature correction component 70 can be configured to accommodate such variations.
The system 50 can be implemented with or without temperature compensation. The controller 66 can obtain uncorrected temperature information from the registers 64, such as when the system 50 does not implement offset correction. The raw temperature values could be provided from the registers 64 to the controller directly (indicated by a dashed line) or propagate through the intervening offset correction circuitry 68 (if implemented).
The controller 66 is also operative to control the transistors M0 according to the relative temperature at the respective sensor locations. The controller 66 activates one of the transistor devices at the selected one of the respective sensor locations to a conductive state according to the relative temperature at the sensor location. The controller 66 includes a comparator 72 that compares the offset corrected temperatures based on the digital values stored in the register 64 for each of the sensing systems 52. The compare block 72 can perform a binary comparison between the offset. Corrected digital values to determine which sensor location has the greatest temperature. For example, the comparator 72 can be configured to identify a lowest digital value, corresponding to the analog signal from the thermal references 54. The lowest digital value defines which location on the die is at a maximum temperature relative to the other sensor locations. Various schemes and circuitry can be employed to determine which remote sensor location has the greatest temperature.
Memory 74 also can be associated with the controller 66. The memory 74, for example, can be programmed to include a look up table that can be employed to convert the stored offset corrected digital value to a corresponding temperature value (e.g., in ° C. or ° F.). For example, the memory 74 can be a read only memory (ROM), programmable ROM (PROM) or the like. The corresponding temperature value can be provided to the register 64 or to another register (not shown) for use by other components in the integrated circuit implementing the sensing system 50. As an alternative, the controller 66 can be programmed to compute a temperature value based on the corrected digital values of temperature stored in the register 64.
The controller 66 also includes a selector 76 that is operative to control the transistor devices M0 based on the comparison performed by the comparator 72. The selector 76, for example, can include driver circuitry coupled to drive a selected one of the transistors M0 to a conductive state according to which sensor location has determined to have the greatest temperature. The anode of each diode 56 is connected to a corresponding output terminal or pin 78 that can be utilized to feed an indication of temperature for the determined hot region to an off chip sensor or other circuitry. In the example of
The controller 66 can also implement calibration via a calibration block 80. The calibration block 80 can be implemented (e.g., as circuitry) to configure the temperature correction component 70. The temperature correction component 70 may be implemented on the IC or off chip, depending on design requirements. As an example, the calibration block 80 can cause a substantial uniform temperature to be provided across the IC such that each of the thermal references 54, being similarly configured, should provide the thermal reference signal at the same analog level. Differences between the thermal references signal (either relative to each other or a known reference) as detected and stored in the register 64 correspond to an amount of offset associated with each of the thermal references 54. The calibration block 80 can in turn program the temperature correction component 70 to implement offset correction during the calibration phase so that uniform temperature sensing is achieved.
Operation of the thermal sensing system 50 of
The SELECT signal provided to the multiplexer 60 is represented as a combination of signals indicated at SEL_1, SEL_2, SEL_3 and SEL_4. Each of these signals is utilized as an input to sample one of the given thermal reference signals T1, T2, T3 and T4. As a result, the output of the multiplexer, indicated MUX OUT corresponds to a sample of each of the respective thermal reference signals T1, T2, T3 and T4 over a sample time period. The ADC converts the analog signal levels associated with the MUX OUT signal to corresponding digital values according to the analog levels at their respective sample time periods. The digital values for a first sample time period are represented as A, B, C, and D. Based on reference signals T1, T2, T3 and T4 for the first illustrated sample time period, A>B>C>D. For the example where the thermal reference signals T1, T2, T3 and T4 correspond to analog voltage drop across respective diodes, the lowest digital value D thus corresponds to a highest relative temperature region for the IC die.
In response to the digital values A, B, C, and D of the associated temperature signals for a first sample time period depicted in
An overlap, indicated at 90, between control signals CONTROL 4 and CONTROL 3 can be provided to mitigate the occurrence of an open condition being detected by external circuitry. During an open condition, for example, no current conducts at the output 78 due to absence of a control signal to cause current to conduct through any of the associated diodes 56. Thus, an open condition might erroneously indicate the absence of a “hot spot” on the IC to the external circuitry.
The voltage across the diode 104 varies as a function of temperature when it is forward biased by the substantially constant current flowing through the diode. Because the current through the diode 104 is constant, changes in the voltage across the diode 104 can be utilized to provide an indication of the temperature in the region of the IC die in which the diode 104 is implemented.
As described herein, the diode 104 may have a finite amount of parasitic resistance that is essentially nulled by feeding a constant current through the diode 104. Accordingly, offset associated with the diode 104 appears as a fixed offset during operation. The fixed offset through the diode 104 can be measured and compensated as described herein.
It is to be understood and appreciated that the thermal reference circuit 100 depicted in
In view of the foregoing structural and functional features described above, certain methods will be better appreciated with reference to
What have been described above are examples of the present invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the present invention, but one of ordinary skill in the art will recognize that many further combinations and permutations of the present invention are possible. For example, while certain embodiments of the thermal sensing system have been described with respect to MOSFET transistors, the thermal sensing system is not limited to any type of transistor topology. Accordingly, the present invention is intended to embrace all such alterations, modifications, and variations that fall within the spirit and scope of the appended claims.