This application claims the benefit of Taiwan application Serial No. 99147342, filed Dec. 31, 2010, the subject matter of which is incorporated herein by reference.
The disclosure relates in general to an apparatus for sensing temperature, and more particularly to a fully on-chip all-digital apparatus for sensing temperature.
Temperature information has a wide range of applications in lives of human beings. In the application of integrated circuits, a temperature sensor circuit is a core circuit responsible for issues such as chip's internal temperature monitoring, efficiency or performance compensation, or overheating protection.
Current temperature sensor circuits use a time-to-digital converter (TDC) to achieve temperature measurement. The TDC is included in some inverter circuits implemented by complementary-metal-oxide semiconductors (CMOS), where a near-linear relationship between temperature variation and signal delay in the inverter circuits is mainly relied on to establish a delay line for temperature measurement. However, in order to achieve sufficient temperature resolution, a large number of inverters are required in TDC to attain sufficient pulse delay. Thus, a temperature sensor circuit using TDC usually occupies large area and consumes high power.
Embodiments are disclosed for an apparatus and method for sensing temperature. Embodiments of the apparatus for sensing temperature use a frequency-to-digital converter (FDC) for temperature measurement, which results in a reduced area in chip. In an embodiment, the apparatus for sensing temperature uses two oscillation circuits which are operated at different operation regions, such as near-threshold and sub-threshold regions, thus becoming less affected by process variation. In an embodiment, an operation voltage could be of a low voltage, so that power consumption could be greatly reduced.
According to an aspect of the present disclosure, embodiments of an apparatus are provided for sensing temperature. The apparatus includes a first oscillation circuit, a pulse width generator, and a comparison circuit. The first oscillation circuit is configured to generate a first signal. The first signal has a first frequency related to a to-be-sensed temperature. An operation voltage of the first oscillation circuit is substantially equal to a threshold voltage of the first oscillation circuit. The pulse width generator is configured to generate a pulse width signal. The pulse width signal has a pulse width related to the to-be-sensed temperature. The comparison circuit is configured to receive the first signal and the pulse width signal, and generate an output signal indicative of the value of the to-be-sensed temperature according to the first signal and the pulse width signal.
According to another aspect of the present disclosure, embodiments of a method are provided for sensing temperature. The method includes a number of steps. A first signal is generated by setting a first oscillation circuit to have an operation voltage which is substantially equal to a threshold voltage of the first oscillation circuit. The first signal has a first frequency related to a to-be-sensed temperature. A pulse width signal is generated at a pulse width generator. The pulse width signal has a pulse width related to the to-be-sensed temperature. An output signal indicative of the value of the to-be-sensed temperature is generated according to the first signal and the pulse width signal.
According to another aspect of the present disclosure, embodiments of a method are provided for sensing temperature. The method includes a number of steps. A first signal is generated by setting a first oscillation circuit to have an operation voltage which is substantially equal to a threshold voltage of the first oscillation circuit. The first signal has a first frequency related to a to-be-sensed temperature. A second signal is generated by setting a second oscillation circuit to have an operation voltage which is substantially twice a threshold voltage of the second oscillation circuit. The second signal has a second frequency related to the to-be-sensed temperature. The first signal is compared with the second signal so as to generate an output signal indicative of the value of the to-be-sensed temperature.
According to some embodiments provided in any aspect aforementioned, the threshold voltage of the first oscillation circuit is substantially twice the threshold voltage of the second oscillation circuit, and the operation voltage of the first oscillation circuit is substantially equal to the operation voltage of the second oscillation circuit. Besides, in some embodiments, the value of the to-be-sensed temperature could be generated according to a ratio between the first frequency of the first signal and the second frequency of the second signal.
The above and other aspects of the disclosure will become better understood with regard to the following detailed description of the preferred but non-limiting embodiment(s). The following description is made with reference to the accompanying drawings.
Reference will now be made in detail to exemplary embodiments of the present disclosure for an apparatus and a method for sensing temperature. In an embodiment, the apparatus for sensing temperature includes a first oscillation circuit, a pulse width generator, and a comparison circuit. The first oscillation circuit is for generating a first signal. The first signal has a first frequency which is related to a to-be-sensed temperature. An operation voltage of the first oscillation circuit is substantially equal to a threshold voltage of the first oscillation circuit. In other words, the first oscillation circuit could be set to have the operation voltage which is substantially equal to its threshold voltage. The pulse width generator is for generating a pulse width signal. The pulse width signal has a pulse width related to the to-be-sensed temperature. The comparison circuit is for receiving the first signal and the pulse width signal, and for generating an output signal indicative of the value of the to-be-sensed temperature according to the first signal and the pulse width signal. In an embodiment, the apparatus for sensing temperature could be implemented as a fully on-chip all-digital process-invariant temperature sensor, which could for example be incorporated in an integrated circuit, such as a micro-processor, a chip for handheld devices, or other kind of integrated circuit.
The first oscillation circuit 100 generates a first signal S1 and provides it for the comparison circuit 140. The first signal S1 has a first frequency of f1 related to a to-be-sensed temperature of T. An operation voltage of the first oscillation circuit 100 is substantially equal to a threshold voltage of the first oscillation circuit 100. In an embodiment, the first oscillation circuit could be set to have an operation voltage which is approximately equal to the threshold voltage of the first oscillation circuit 100, while their difference exemplarily within a range of ±5˜10%. For example, if the threshold voltage of the first oscillation circuit 100 is around 0.4V, the first oscillation circuit 100 is set to have an operation voltage within a range from about 0.36V to about 0.44V, where transistors of the first oscillation circuit 100 are in the sub-threshold voltage region.
The pulse width generator 110 generates a pulse width signal SPW and provides it for the comparison circuit 140. The pulse width signal SPW has a pulse width related to the to-be-sensed temperature of T.
The comparison circuit 140 receives the first signal S1 and the pulse width signal SPW. According to the first signal S1 and the pulse width signal SPW, the comparison circuit 140 generates an output signal S0 indicative of the value T of the to-be-sensed temperature.
The pulse width generator 110 includes a second oscillation circuit 120 and a control unit 130. The second oscillation circuit 120 generates a second signal S2 and provides it for the control unit 130. The second signal S2 has a second frequency of f2 related to the to-be-sensed temperature of T. The control circuit 130 outputs the pulse width signal SPW according to the second signal S2. An operation voltage of the second oscillation circuit 120 is substantially twice a threshold voltage of the second oscillation circuit 120. In an embodiment, the second oscillation circuit could be set to have an operation voltage which is approximately twice as large as the threshold voltage of the second oscillation circuit 120. For example, if the transistors' threshold voltage of the second oscillation circuit 120 is around 0.2V, the second oscillation circuit 120 is set to have an operation voltage approximately equal to 0.4V, so that the operation voltage of the second oscillation circuit 120 is substantially twice as large as the threshold voltage of the second oscillation circuit 120.
The first oscillation circuit 100 and the second oscillation circuit 120 could be for example implemented as ring oscillators where a number of inverters are connected or linked in a chain. In a case that the first oscillation circuit 100, implemented by a number of inverters connected or linked in a chain, has an operation voltage which is substantially equal to transistors' threshold voltage of the first oscillation circuit 100, an equation could be established to describe the relation between the to-be-sensed temperature of T and the first frequency of f1 of the first signal S1 generated by the first oscillation circuit 100, which is as follows
where μ0 is the carrier mobility, Cox is the oxide capacitance per unit area, W is the channel width of a transistor, L is the channel length of a transistor, m is the sub-threshold swing coefficient, VT is the thermal voltage, VGS is the gate-to-source voltage of a transistor, Vth1 is the threshold voltage of the first oscillation circuit 100 at temperature of T, VDD is the operation voltage, CL is the load capacitance.
Moreover, in a case that the second oscillation circuit 120, implemented by a number of inverters connected or linked in a chain, has an operation voltage which is substantially higher than, e.g., twice as large as, a threshold voltage of the second oscillation circuit 120, an equation could be established to describe the relation between the to-be-sensed temperature of T and the second frequency of f2 of the second signal S2 generated by the second oscillation circuit 120, which is as follows
where μ0 is the carrier mobility, Cox is the oxide capacitance per unit area, W is the channel width of a transistor, L is the channel length of a transistor, VDS is the drain-to-source voltage of a transistor, VGS is the gate-to-source voltage of a transistor, Vth2 is the threshold voltage of the second oscillation circuit 120 at temperature of T, VDD is the operation voltage, CL is the load capacitance.
In view of this, in a case that the first frequency of f1 of the first signal S1 generated by the first oscillation circuit 100 is compared with the second frequency of f2 of the second signal S2 generated by the second oscillation circuit 120, where the relation between the thermal voltage (VT) and the temperature and the relations between threshold voltages and the temperature are introduced, an equation could be obtained as follows
Assume VDD×(½VDD−Vth2(0)) is a constant of Kb, the result is given in an equation as follows
Furthermore, when the square of Kb is close to zero, the partial derivative of this equation with respect to the temperature of T could be given in an equation as follows
As could be acknowledged from the aforementioned equation, the apparatus 10 for sensing temperature could generate an output signal which is sensitive and related to the to-be-sensed temperature by comparing the first frequency of f1 with the second frequency of f2. In view of this, there are other cases regarded as practicable and feasible embodiments of the disclosure, where what could found at least includes: generating a first frequency by setting the first oscillation circuit 100 to have an operation voltage which is substantially equal to a threshold voltage of the first oscillation circuit 100; generating a second frequency by setting the second oscillation circuit 120 to have an operation voltage which is substantially twice a threshold voltage of the second oscillation circuit 120; and using the comparison circuit 140 to compare the first frequency with the second frequency, so as to generate an output signal indicative of the value of the to-be-sensed temperature. As shown in
Besides, in the first oscillation circuit 100 and the second oscillation circuit 120, their threshold voltages could be adjusted such that the apparatus 10 for sensing temperature could meet the requirement of being powered at a single voltage level or a single voltage domain. For example, the first oscillation circuit 100 and the second oscillation circuit 120 could both be ring oscillation circuits. A ring oscillation circuit has a threshold voltage which is related to the channel length of its transistor. In view of the relationship between a transistor's channel length and threshold voltage, the first oscillation circuit 100 and the second oscillation circuit 120 could be designed such that the threshold voltage of the first oscillation circuit 100 is twice the threshold voltage of the second oscillation circuit 120. Moreover, the first oscillation circuit 100 and the second oscillation circuit 120 could be connected to a voltage source for receiving an operation voltage which is substantially equal to the threshold voltage of the first oscillation circuit 100, thus meeting the requirement of being powered at a signal voltage level or a single voltage domain.
Refer to both
Refer to
In the meanwhile, the second oscillation circuit 320 of the pulse width generator 310 outputs a second signal S2 having a second frequency of f2 to the first counter 325, where the second frequency of f2 is related to the to-be-sensed temperature of T. When the first counter 325 counts pulses of the second signal S2 up to a predetermined value of n, n being a positive integer, the first counter 325 outputs a high-level reset signal SR to the control circuit 322 at its reset terminal RESET. A second delay time Td2 after the control circuit 322 receives the high-level reset signal SR at its reset terminal RESET, the pulse width signal SPW of the control circuit 322 transits from high to low level, which causes the pulse width signal SPW to have a period Tw of high level. The high-level period Tw of the pulse width signal SPW could be represented by n/f2.
When the pulse width signal SPW of the control circuit 322 transits from low to high level, the second counter 344 starts to count up pulses of the first signal S1. When the pulse width signal SPW of the control circuit 322 transits from high to low level, the second counter 344 represents or characterizes the counted pulses as the to-be-sensed temperature of T, and outputs it by generating the output signal S0. For example, during the high-level period Tw of the pulse width signal SPW, if the counted pulse number of the first signal S1 is a value of m, m being a positive integer, the value of m could be used to represent a measurement of the to-be-sensed temperature of T. The high-level period Tw of the pulse width signal SPW could be represented by m/f1, so that the value of m could be represented by n×f1/f2.
Thus, when the first oscillation circuit 300 is set to have an operation voltage substantially equal to the threshold voltage of the first oscillation circuit 300, its generated first signal S1 will have a first frequency of f1 directly propositional to the square of the to-be-sensed temperature of T. Moreover, when the second oscillation circuit 320 is set to have an operation voltage substantially twice the threshold voltage of the second oscillation circuit 320, its generated second signal S2 will have a second frequency of f2 directly propositional to the to-be-sensed temperature of T to the power of 1. Based on them, the comparison circuit 340 could generate a value of m which is equal to n×f1/f2, i.e., generate an output signal S0 related to the to-be-sensed temperature of T. Moreover, in a practical example where that the first counter circuit 325 uses the predetermined number of n to count pulses of the second signal S2, the predetermined number of n could be adjusted so as to increase or decrease resolution accordingly.
Where the first oscillation circuit 300 is implemented by for example a single-stage enable-pin-based inverter 302 and 12-stage inverters 304, while the second oscillation circuit 320 is implemented by for example a single-stage enable-pin-based inverter and 50-stage inverters, powered at a signal voltage level such as a voltage level around 0.4V, the apparatus 30 for sensing temperature could generate an 11-bit output signal S0, with a data conversion rate of 14 k/s. Besides, where the first oscillation circuit 300 is implemented by for example a single-stage enable-pin-based inverter 302 and 14-stage inverters 304, while the second oscillation circuit 320 is implemented by for example a single-stage enable-pin-based inverter and 30-stage inverters, the apparatus 30 for sensing temperature could generate a 10-bit output signal S0, with a higher data conversion rate of 22 k/s. While the disclosure has been described in aforementioned embodiments in terms of the stages of the oscillations circuits, it, however, is not limited thereto. In view of the content described above, it is practicable and feasible for a person of ordinary skill to realize an oscillation circuit having an appropriate number of stages for use in various ranges of to-be-sensed temperature.
In step S503, a second signal is generated by setting a second oscillation circuit to have an operation voltage which is substantially twice a threshold voltage of the second oscillation circuit. The second signal has a second frequency related to the to-be-sensed temperature. In step S505, the first signal is compared with the second signal so as to generate an output signal indicative of the value of the to-be-sensed temperature.
According to the embodiments of the apparatus for sensing temperature disclosed in the disclosure, a frequency-to-digital converter (FDC) is used to generate the measurement of a to-be-sensed temperature. In this way, as compared with that of using TDC to achieve temperature measurement, the circuit complexity is reduced. Thus, the apparatus for sensing temperature could be realized in smaller size. Besides, according to the embodiments of the apparatus for sensing temperature disclosed in the disclosure, the first oscillation circuit and the pulse width generator could be operated at a sub-threshold voltage region and a near-threshold voltage region, respectively, and could be powered at a relatively low operation voltage, so that power consumption could be greatly reduced.
Besides, according to an embodiment aforementioned, the measurement value of m is equal to n×f1/f2, or equal to n×K/a in view of the partial derivative with respect to the temperature, and is linearly related to the temperature, thus becoming less affected by, or preferably immune to, the process variation. For example, if an embodiment of the apparatus for sensing temperature is implemented from a different production process, the generated signal of the oscillation circuit will have a different frequency in view of a same temperature. In this situation, since the embodiment of the apparatus for sensing temperature could establish a linear relationship between the temperature and the measurement value of m, the digital output signal thereof could remain substantially the same, thus becoming immune to the process variation. For example, in a process of using TSMC standard 65nm CMOS technology, simulation result shows that there is a measurement error ranges between −2.8˜+3.0 in a measurement range of 0˜100, although the process variation causes some apparatuses for sensing temperature to have a different corresponding result between frequency and temperature. Therefore, the embodiments according to the disclosure could realize a fully on-chip all-digital process invariant apparatus for sensing temperature.
While the disclosure has been described by way of example and in terms of the preferred embodiment(s), it is to be understood that the disclosure is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
Number | Date | Country | Kind |
---|---|---|---|
99147342 | Dec 2010 | TW | national |