Abstract:
An on-chip temperature sensor for a semiconductor device. A temperature sensing mechanism includes a first current generator producing a first current that is proportional to absolute temperature of the semiconductor device. A second current generator produces a second current that is inversely proportional to absolute temperature of the semiconductor device. A current mode amplifier is coupled to amplifying the difference between the first current and the second current to produce a temperature signal.

Description:
BACKGROUND OF THE INVENTION  
       [0001]     1. Field of the Invention  
         [0002]     The present invention relates, in general, to low voltage integrated circuits, and, more particularly, to systems and methods and circuits for implementing an on-chip temperature sensor in low voltage integrated circuits and semiconductor devices.  
         [0003]     2. Relevant Background  
         [0004]     Thermal performance is becoming an increasingly important characteristic of semiconductor devices such as integrated circuits (ICs). Solid state devices behave differently at different temperatures. Hence, the effects of temperature on integrated circuits and systems can significantly affect the operational characteristics of these circuits and systems. For example, when the on-chip temperature changes the electrical characteristics of the solid state devices change significantly, such as threshold voltage, wiring/contact resistance, electron mobility, and the like. ICs are typically designed to operate in worst-case temperature extremes. Such designs often sacrifice performance at normal operating conditions in order to ensure functionality under the extreme conditions.  
         [0005]     A number of circuits and/or functional units in today&#39;s electronic devices are temperature sensitive and require accurate and reliable temperature information in order to compensate for temperature variations. For example, the system frequency may be reduced when a certain temperature threshold is reached in order to cause the temperature to be reduced below the critical point. Further, systems, such as portable electronic devices (games, laptops, notebook computers, personal digital assistants), and the like are sensitive to power consumption and may need to shut down all or part of their operations when the power, which is function of temperature, reaches a certain level. Additionally, some individual circuits may need to be disconnected or shut down when the temperature reaches a predetermined level. Self-protection mechanisms, for example, can engage to reduce power consumption and thereby keep the device within safe operating parameters. In other devices it may be desirable to increase or decrease operating frequency to compensate for changes in operating temperature. Also, internally generated voltages used by various subsystems in an IC are sensitive to temperature changes such that performance of those systems can be compromised unless there is some mechanism for compensating for the temperature variation. Accordingly, operating temperature of a semiconductor device such as an integrated circuit (IC) can be measured and used to control operation of the device according to the operating temperature.  
         [0006]     As a specific example, the refresh period of a dynamic random access memory (DRAM) device is determined by the leakage current of the memory cells. The leakage current tends to increase as operating temperature increases. Hence, a warm memory device should be refreshed more frequently than a cool memory device. Conversely, the refresh frequency of a cool device can be reduced to save power without compromising data storage integrity.  
         [0007]     As the feature sizes of integrated circuits are reduced, the maximum supply voltage these circuits can handle also goes down. While an older 0.7 μm CMOS process could operate at around 5V, a circuit fabricated in 0.18 μm CMOS, for instance, has a typical supply voltage of 1.8V or lower. These lower operating voltage makes the design of analog components, such as a temperature sensor components, more challenging. At lower operating voltages the characteristics of semiconductor devices that are used to fabricate temperature sensing circuits may become more inconsistent. While techniques are known to compensate for this increased variability in digital circuits, temperature sensing relies on analog properties of the semiconductor devices. Accordingly, fabricating stable temperature sensing circuits using low voltages remains problematic.  
         [0008]     Hence, a need exists for a temperature sensor, methods for sensing temperature, and systems that incorporate such sensors and implement such methods that provides greater consistency and stability in low-voltage circuits.  
       SUMMARY OF THE INVENTION  
       [0009]     Briefly stated, the present invention involves an on-chip temperature sensor for a semiconductor device. A temperature sensing mechanism includes a first current generator producing a first current that is proportional to absolute temperature of the semiconductor device. A second current generator produces a second current that is inversely proportional to absolute temperature of the semiconductor device. A current mode amplifier is coupled to amplifying the difference between the first current and the second current to produce a temperature signal.  
         [0010]     In another aspect, the present invention relates to a method of detecting operating temperature in a semiconductor device. A first current on the semiconductor device is generated that is proportional to absolute temperature of the semiconductor device. A second current is generated on the semiconductor device that is inversely proportional to absolute temperature of the semiconductor device. A difference between the first current and the second current is amplified to produce a temperature signal.  
         [0011]     In yet another aspect the present invention involves integrated circuits and electronic systems incorporating an on-chip temperature sensor an implementing a method of detecting operating temperature and operating the integrated circuit and/or electronic system differently in response to the detected operating temperature. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0012]      FIG. 1  shows a block diagram of a system in which the present invention is implemented;  
         [0013]      FIG. 2  shows components of  FIG. 1  schematically;  
         [0014]      FIG. 3 . illustrates an output stage shown in  FIG. 1  in greater detail;  
         [0015]      FIG. 4  illustrates an amplifier used in an exemplary embodiment of the present invention;  
         [0016]      FIG. 5  shows a amplifier used in an implementation of the output stage shown in  FIG. 3 ;  
         [0017]      FIG. 6  shows a modeled output curve from intermediate signals generated in accordance with an embodiment of the present invention; and  
         [0018]      FIG. 7  shows a modeled binary temperature detection signal consistent with the output shown in  FIG. 6 . 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0019]     The present invention is illustrated and described in terms of a temperature sensing system implemented as a component of an integrated circuit, although other implementations are contemplated. In particular examples, the temperature sensing device in accordance with the present invention is implemented as a component of an integrated circuit memory such as a DRAM, which allows the DRAM refresh circuitry to alter its operating mode based on temperature. Other applications of the temperature sensing circuitry, methods and systems will be apparent.  
         [0020]     In  FIG. 1 , bias generator  130  provides a bias current to current generator  131 , current generator  132 , and output stage  135 . Bias generator  130  may be implemented using any available circuitry. In operation, current generator  131  generates a current at node VO 1  that is proportional to absolute temperature (PAT) whereas current generator  132  generates a current at node VO 2  that is inversely proportional to absolute temperature (IPAT). The output of PAT current generator  131  and the output of IPAT current generator  132  are mirrored to current mode amplifier  133 . Current mode amplifier  133  comprises one or more current amplification legs that each produces one or more temperature signals (e.g., VTP 0 , VTP 1  and VTP 2 ). Each temperature signal is a function of a difference between the output currents of current generators  130  and  132 . One or more binary output signals (e.g., TDET 0 , TDET 1  and TDET 2 ) are generated by comparing the various trip point voltages to a reference voltage VREF that is generated by reference voltage generator  134 .  
         [0021]     As shown in  FIG. 2 , PAT current generator  131  comprises two current legs driven by an amplifier  205 . Each current leg is designed to carry a current that varies with temperature as a result of temperature sensitivity of diode-connected bipolar transistors  201  and  202 . In a particular example, the area of bipolar transistor  202  is n-times wider than the area of bipolar transistor  201 . The voltage at node VD 1  will decrease as temperature increases where the rate of decrease in VD  1  is determined by the relative base width of diode-connected transistors  201  and  202 . VD 1  and VD 12  are coupled as two inputs to differential amplifier and so will be held to substantially the same voltage by operation of feedback. As a result, the current through PMOS devices P 0  and P 1  increases as temperature increases. PMOS devices P 2 , P 3 , P 4  and P 5  have the same gate-source voltages as devices P 0  and P 1 , therefore have the same temperature dependency as PMOS devices P 0  and P 1 .  
         [0022]     IPAT current generator  132  includes a differential amplifier  215  having an inverting input coupled to the VD 1  node of PAT current generator  131 . The voltage VD 1  decreases as temperature increases while the voltage at node VDF 1  is held to substantially the same value as VD 1  by operation of amplifier  215 . Accordingly, the current through resistor  203  decreases as temperature increases. As a result, the currents through PMOS devices P 6  and P 7  decreases as temperature increases as well as the current through NMOS device N 0 , which is the same as the current through PMOS device P 7 . Accordingly, the current in NMOS device N 0  also decreases as temperature increases. N 0  is mirror-coupled to NMOS devices N 1 , N 2  and N 3  in differential amplifier  133 .  
         [0023]     PMOS devices P 2 , P 3 , and P 4  of current mode amplifier  133  provide currents that increase as temperature increases while NMOS devices N 1 , N 2  and N 3  provide current that decrease as temperature increases. Another way of describing this relationship is that PMOS devices P 2 , P 3  and P 4  become more conductive as temperature increases whereas NMOS devices N 1 , N 2  and N 3  become less conductive as temperature increases. NMOS devices N 1 , N 2  and N 3  have different sizes from each other so that the magnitude at which the current/conductivity of the devices changes differs in each leg of current mode amplifier  133 . The differential sizing between N 1 , N 2  and N 3  is selected to provide the desired “trigger point” temperature (i.e., a particular temperature at which the temperature signal (i.e., VTP 0 , VTP 1 , and VTP 2 ) transitions to a state that can be detected by output stage  135 . While the implementation shown in  FIG. 2  includes three legs which each produce a separate temperature signal VTP 0 , VTP 1  or VTP 2 , any number of legs may be provided.  
         [0024]     Reference voltage generator  134  comprises a PMOS device P 5  that is driven by V 01  from PAT current generator  131 , and PMOS device P 8  that is driven by PAT current generator  132 . Current through resistor  204  comprises a sum of the currents through devices P 5  and P 8  and so is substantially constant over a range of temperatures because of the offsetting effects of the positive and negative temperature coefficients of the currents in P 5  and P 8 , respectively. Hence, VREF, which is the voltage developed across resistor  204 , remains substantially constant over a range of temperature.  
         [0025]     Referring to  FIG. 3 , output section  135  comprises a plurality of current-mode amplifiers  301  where each amplifier has an inverting input coupled to VREF and a non-inverting input coupled to a particular temperature signal (i.e., VTP 0 , VTP 1 , VTP 2  . . . VTPn). As the magnitude of the temperature signal VTP becomes greater than the magnitude of the reference VREF, an output (e.g., TDET 0 , TDET 1 , TDET 2  . . . TDETn) changes state to indicate a particular temperature trigger point has been crossed.  FIG. 6  illustrates how the temperature signals will vary with temperature as voltage is shown on the vertical axis and temperature shown on the horizontal axis. It can be seen that VREF, which remains constant across a range of temperatures, is crossed at particular temperatures T 0 , T 1 , T 2 . Referring to  FIG. 7 , the output signals TDET 0 , TDET 1  and TDET 2  transition more abruptly between logic states to when the temperature signal VTP traverses VREF.  
         [0026]     While the temperature is lower than a pre-selected temperature T 0 , the amount of current through PMOS device P 3  is smaller than that of NMOS device N 1 . In this condition, the VTP 0  signal is lower than reference voltage VREF. While the temperature is higher than a preselected temperature T 0 , the amount of current throuhg PMOS device P 3  is larger than that of NMOS device N 1 . In this condition VTP 0  is higher than VREF indicating that the temperature is higher than the pre-selected temperature T 0 . In the same manner, VTP  1  is lower than VREF when the temperature is lower than a preselected temperature T 1 , and higher than VREF when the temperature is higher than the preselected temperature T 1 .  
         [0027]      FIG. 4  shows an implementation of a current mode amplifier suitable for use in amplifiers  205  and  215 . The implementation shown in  FIG. 3  is a somewhat typical differential amplifier component that is readily implemented in a variety of processes and so is compatible with a variety of integrated circuit designs.  FIG. 5  shows an implementation of a comparator suitable for use in comparators  301 . In  FIG. 5 , a current mode amplifier similar to that shown in  FIG. 4  is coupled to an inverter formed by a PMOS device coupled in series with an NMOS device. The inverter output is followed by an inverting buffer to produce the binary temperature detection signal TDET 0 , TDET 1 , TDET 2  . . . TDETn.  
         [0028]     The present invention provides a temperature sensing circuit and system that can be readily integrated with a variety of integrated circuits and systems. It is contemplated that the temperature sense signal can be used to improve or optimize the operation of an integrated circuit by controlling device operation differently depending on the temperature or temperature range of the device. For example, a refresh period of a memory device is determined by the leakage current of a memory cell. Usually, this leakage current is larger at high temperatures than it is at lower temperatures. In the past, the refresh period of a memory device must be adjusted to guarantee operation at a worst case condition, i.e., high temperature. In accordance with the present invention, one or more outputs TDET 0  . . . TDETn can be used to adjust the refresh rate based on the actual operating temperature or operating temperature range, thereby reducing power loss associated with performing a refresh operation.  
         [0029]     Although the invention has been described and illustrated with a certain degree of particularity, it is understood that the present disclosure has been made only by way of example, and that numerous changes in the combination and arrangement of parts can be resorted to by those skilled in the art without departing from the spirit and scope of the invention, as hereinafter claimed.