- freely available
Sensors 2013, 13(9), 11439-11452; doi:10.3390/s130911439
Abstract: This paper presents an area-efficient time-domain CMOS smart temperature sensor using a curvature compensation oscillator for linearity enhancement with a −40 to 120 °C temperature range operability. The inverter-based smart temperature sensors can substantially reduce the cost and circuit complexity of integrated temperature sensors. However, a large curvature exists on the temperature-to-time transfer curve of the inverter-based delay line and results in poor linearity of the sensor output. For cost reduction and error improvement, a temperature-to-pulse generator composed of a ring oscillator and a time amplifier was used to generate a thermal sensing pulse with a sufficient width proportional to the absolute temperature (PTAT). Then, a simple but effective on-chip curvature compensation oscillator is proposed to simultaneously count and compensate the PTAT pulse with curvature for linearization. With such a simple structure, the proposed sensor possesses an extremely small area of 0.07 mm2 in a TSMC 0.35-μm CMOS 2P4M digital process. By using an oscillator-based scheme design, the proposed sensor achieves a fine resolution of 0.045 °C without significantly increasing the circuit area. With the curvature compensation, the inaccuracy of −1.2 to 0.2 °C is achieved in an operation range of −40 to 120 °C after two-point calibration for 14 packaged chips. The power consumption is measured as 23 μW at a sample rate of 10 samples/s.
Temperature sensors are commonly used for temperature sensing and are widely applied in measurements, instrumentation, and control systems. With the tremendous growth of the industry, the requirements of most modern automatic control systems cannot be fulfilled by using resistance temperature detectors (RTDs), thermistors, or thermocouples. By contrast, semiconductor temperature sensors offer many advantages reflecting the changing trends of the mainstream market. They not only provide better noise immunity through a higher-level output signal, but also generate logic outputs that can communicate directly with digital systems, thus playing an important role in thermal or power management systems. Based on the demand for small size and high performance, integrated temperature sensors made with CMOS technology are more competitive and attractive when compared to others of their type.
For further integration with digital VLSI systems and to reduce the tasks of the microcontroller, analogue-to-digital converters (ADCs) were gradually integrated into thermal sensors to compose the so-called “intelligent or smart temperature sensors” [1–4]. The test temperature is usually converted first into a voltage signal by a temperature sensor, and then a corresponding ADC is used for subsequent digital output coding. Usually, an ADC with more than 10 output bits is required to obtain the necessary resolution at the expense of large chip area and power consumption. Furthermore, to be fully compatible with the standard digital CMOS technology and reduce measurement errors, sophisticated circuits accompanied by additional on-chip elaborated calibration techniques that increase the circuit complexity and consume more chip area and power are generally adopted.
In recent years, an innovative time-domain smart temperature sensor was proposed to substantially reduce the cost and circuit complexity of smart sensors for VLSI systems, as shown in Figure 1 . The inverter-based temperature-to-pulse generator as a temperature sensor was used to convert the test temperature into a pulse with a width PTAT. The generated pulse was then fed into a time-to-digital converter (TDC) rather than an ADC to produce the corresponding digital output. In a TSMC 0.35-μm CMOS digital process, the chip size was only 0.09 mm2, and the measured error was ±0.6 °C after two-point calibration within a −40 to 60 °C temperature range. The power consumption is 9 μW@5 samples/s. For facile VLSI or system-on-chip (SOC) integration, a fully digital smart temperature sensor realizable with field programmable gate array (FPGA) logic was proposed . The FPGA chips were measured to have an error of −1.5–0.8 °C after two-point calibration over a temperature range of 0–75 °C. With two current-starved oscillators controlled by reference current and PTAT current respectively, the temperature sensor in a 0.18-μm CMOS process has an area of 0.05 mm2 and an inaccuracy of −1.6–3.0 °C within a 0–100 °C range after two-point calibration. It consumed only 220 nW@100 samples/s . Based on a linear MOS operation, another ultra-low power of 405 nW@1 k samples/s CMOS smart sensor with a differential temperature sensing delay generator was proposed . The chip size is 0.03 mm2 in a 0.18-μm CMOS, and the inaccuracy is −0.8–1.0 °C from 0 °C to 100 °C after two-point calibration. Furthermore, to reduce the high-volume production cost, an all-digital inverter-based temperature sensor was proposed to perform self-calibration by using a reference clock to remove the effect of process variation for one-point calibration . The inaccuracy of −5.1–3.4 °C for three test chips was measured in the range of 0–60 °C. The core area is 0.01 mm2 in a 65-nm CMOS, and the power consumption is 150 μW@10 k samples/s. Later, another FPGA-based version for one-point calibration support and circuit size reduction was proposed . By adopting an additional off-chip second order master curve for curvature correction, the measurement errors for 20 test chips were successful reduced to −0.7–0.6 °C over 0–100 °C range. Only 48 logic elements were realized, and 175 μW@1 k samples/s was consumed. Also with one-point calibration, a frequency-to-digital-converter-based smart sensor that involves using a multiphase clock was proposed to achieve an inaccuracy of −2.7–2.9 °C within a range of −40 °C to 110 °C . The circuit featured the fastest conversion rate of 366 kHz and a small size of 0.0066 mm2 in a 65-nm CMOS technology.
Compared with voltage-domain sensors [1–4], time-domain inverter-based sensors possess the advantages of low cost and simple structure, but exhibit the disadvantage of poorer linearity because a large curvature exists on the temperature-to-delay transfer curves of the inverter-based delay line. To enhance linearity, the on-chip curvature compensation technique between two linear delay lines was invented to achieve the highest accuracy among the related time-domain sensors . The architecture of the successive approximation algorithm (SAR) smart temperature sensor is redrawn in Figure 2. For temperature sensing, the temperature-dependent delay line (TDDL), similar to that in , is used to generate a PTAT delay. An offset time cancellation circuit composed of two D-type flip-flops (DFFs) replacing a large number of offset-compensation delay cells, was used to reduce the time offset faced at the lower test temperature bound. The SAR control logic, adjustable reference delay line (ARDL) and time comparator can be viewed as an equivalent TDC to convert the TDDL delay into the corresponding digital output. Consequently, more chip area was consumed. With a 10-bit output design, the size in the 0.35-μm CMOS was increased to 0.6 mm2, which is much larger than the original versions . The curvature of the ARDL curve was designed to compensate that of TDDL curve for curvature compensated operation and its inaccuracy of −0.25–0.35 °C is the best in the operation range of 0–90 °C. However, the error is not decreased significantly for a wider operation range of −40 to 120 °C by using its curvature compensation technique . Additionally, because this kind of sensor [5–12] is much more sensitive to the supply voltage quality , the inaccuracy with voltage variation is rather poor. The supply voltage can be regulated to reduce the voltage sensitivity to stabilize the performance of the sensors when necessary.
To keep the main advantages of time-domain sensors with simple structure for low-cost VLSI systems, a cost-efficient CMOS smart temperature sensor is presented. To enhance accuracy and extend the operation temperature range, a simple but effective on-chip curvature compensation oscillator is adopted for linearization of the sensor output. The rest of the paper is organized as follows: the characteristic curvature of the transfer curve of the inverter-based sensor is described in Section 2. Section 3 introduces the circuit of the proposed sensor and the curvature compensation. The experimental results are illustrated and discussed in Section 4. Finally, Section 5 provides the conclusions of this study.
2. Curvature Characteristic of Inverter-Based Smart Temperature Sensors
The block diagram of the smart temperature sensor with a reference clock is shown in Figure 3 . Its structure may be simplest among the various proposed time-domain smart temperature sensors. An oscillator composed of a NAND gate and an inverter-based delay chain is used to generate the period width td,osc.
For adequate resolution and cost reduction, the time amplifier realizable with a circulation counter and a comparator is used to amplify the oscillatory period according to a preset circulation number . The succeeding XOR gate is then used to obtain an adequately wide output pulse tp. Finally, an off-chip reference clock is used to count the tp width with an output counter for time-to-digital conversion. The reference clock and the output counter can be regarded as the simplest TDC. The period width td,osc can be written as in Equation (1):
To improve resolution, the thermal period width td,osc(T) is amplified to generate an adequately wider delay by using the time amplifier with a preset value n. With the XOR gate, the mask signal tp is generated and can be simply calculated as tp(T) = n · td,osc(T). The delay of the time amplifier is ignored because its amount is greatly smaller than the amount of n · td,osc. Width tp is then counted with a reference clock tREF to obtain the following output code Dout. Hence, Dout can be estimated as:
Because the value n and the reference clock tREF are constant and ideally temperature-insensitive, the linearity of the sensor digital output inevitably resembles that of the thermal oscillator. As mentioned, because a curvature exists on the oscillator output curve, the curve of the sensor output will show the same curvature. Based on the simple structure shown in Figure 3, a small area, easy design, but poor linearity can be expected.
To further determine the effect of the exponent of T versus the temperature error, the temperature-to-time (period width) transfer curve of the inverter-based oscillator (one NAND and ten NOT gates in series) in Figure 3 was simulated with five process corner variations in a 0.35-μm TSMC CMOS digital process, as illustrated in Figure 4a.
The curves of td,osc(T) with some curvature are slightly convex. The corresponding inaccuracies of −4.1–2.1 °C within a range of −40–120 °C and of −0.9–0.7 °C within a range of 0–80 °C both generated from the transfer curves in Figure 4a are shown in Figure 4b. Because the parameter km varies slowly with the doping level, it can be regarded as a constant with process variation for a given fabrication process . Consequently, the error curves with five process corner present nearly the same curvature. Obviously, according to Equation (5), the convex curve does not match the value of −km of T, 1.2–2.0. This means that, although the mobility dominates the term T, the threshold voltage also affects it slightly to make the transfer curves show a convex curvature rather than a concave curvature. Therefore, Equation (5) and Equation (6) can be simply modified as:
3. Circuit Description and Curvature Compensation
Figure 5 shows the block diagram of the proposed smart temperature sensor with an on-chip curvature compensation oscillator. The circuit of the temperature-to-pulse generator is composed of a retriggerable ring oscillator (one NAND and sixteen NOT gates), a time amplifier, and an XOR gate. The generator is used to generate pulse tp with a PTAT width. Furthermore, an end-of-conversion (EOC) signal is issued to shut down the two oscillators to save power, with the help of two AND gates. To ensure correct counts, a delay buffer is inserted to delay the EOC. The time amplifier, shown in Figure 6, is used for time amplification to obtain a sufficient temperature resolution. A fixed value of n = 1,024 (amplification factor) in the time amplifier was adopted to amplify the period width. The additional DFF1 was inserted for deglitching. A larger preset input value results in higher output circulation times of the oscillatory period and a longer thermal delay tD.
As mentioned, the td,osc generated by the inverter-based oscillator shows a curvature, and thus the corresponding errors increase non-linearly as the temperature ranges increase. To enhance the accuracy and broaden the temperature operation range, the on-chip curvature compensation oscillator is adopted to compensate and simultaneously quantize the PTAT pulse tp into a linearization digital output through the help of the output counter. Compared with the former smart sensor , the proposed sensor is designed to lessen both unreasonable delay line length requirements by replacing the linear delay-line-based structure with the oscillators-based structure. Without the use of a large number of the logic gates, the temperature resolution can be improved without significantly increasing the chip area. Furthermore, the SAR control logic, time comparator, and offset time cancelation circuit in  are removed. The proposed structure is much simpler than that of the former version. This greatly reduces the circuit complexities, and the chip area reduction can be expected.
By using the curvature compensation oscillator to replace the reference clock, and assuming that the sensor output is ideally linear after the hypothetically perfect compensation, the exponent of T on the sensor output should be predicted as 1. In this situation, we have:
This roughly provides the desired curve characteristic of the oscillator for linearization. If the value of km′ is determined in a given process, then the temperature dependence of the curvature compensation oscillator can be predictable by using (10). As previously mentioned, −km′ is less than 1 in the TSMC 0.35-μm CMOS process, and the exponent of T on tc,osc(T) would be less than 0 for linearity improvement, meaning that the pulse width of the desired oscillator should be slightly decreased with increasing temperature. In , the curve characteristic on the compensation delay line was slightly increased with increasing temperature, which does not conform to the curve characteristic as Equation (10), and the simulated error of the sensor is as high as −2.0–2.5 °C for a −40 to 120 °C range.
The proposed curvature compensation oscillator consists of a NAND gate and a buffer-based delay chain (ten NOT gates), both under thermal-compensation conditions for curvature compensation, as shown in Figure 7a. The thermal-compensation circuit also adopted in  was used to reduce the thermal-sensitivity of the buffer (or NAND gate) in the oscillator, as shown in Figure 7b. The diode-connected transistors P1, N1, and P3 serve as the core of the thermal compensation circuit. The P1, P3, and N1 will operate in the saturation region because they are all diode connected. If an optimal bias voltage is designed for transistor P3 as:
When km equals −2, the conduction current becomes completely temperature-independent. Although the actual value of km expands within a range of −1.2–−2.0, the temperature dependence of the delay element is still reduced greatly. Using Equation (11) and (12) one can provide the first cut design to generate the period width of the oscillator with low thermal sensitivity. For simplification of the circuit design, the proposed curvature compensation circuit is developed based on the compensation circuit in . With the help of HSPICE, the size of the thermal-compensation transistors P3, P1, and N1 can be further adjusted properly to match the curvature of the desired curve to be as close to that predicted by Equation (10) as possible. To save power again, the operation of the compensated circuit can be turned off by the EOC. With HSPICE simulation, Figure 8 shows the temperature-to-time transfer curves of the proposed oscillator with curvature compensation. With a supply voltage of 3.0 V and process corners (3.0 V SS, 3.0 V TT, 3.0 V FF), the thermal-compensated widths are decreased as temperature increases, which conforms to the desired characteristic as stated previously. The corresponding INL errors of the proposed circuit are simulated in Figure 9. With the curvature compensation under the voltage of 3.0 V, the error is successfully reduced from −4.1–2.1 °C to −1.0–0.8 °C better than −2.0–2.5 °C in  for −40–120 °C range. The linearity was greatly improved with the utilization of the proposed oscillator. With only proper sizing of the compensation transistors in the compensated circuit, the curve characteristic on the compensated oscillator was determined and the significant inaccuracy improvement can be achieved with only slightly increasing circuit complexity and area. However, with the simulation results under the voltage and process variations, the worst inaccuracy (occurring in 2.8 V SS) is −1.1–2.1 °C because the curvature compensation circuit does not perform well.
4. Measurement Results
Figure 10 shows a microphotograph of the proposed sensor with a chip area of merely 0.07 mm2 in a TSMC 0.35-μm CMOS process. Compared with the former version , this achieved a nearly ten-fold improvement in chip size. With such a simple structure, the chip size of the proposed circuit is the smallest among the related inverter-based sensors when taking CMOS process into consideration [5–12].
To demonstrate the performance of curvature compensation, the measurements were performed in 10 °C steps from −40 °C to 120 °C in the programmable temperature and humidity chamber MHG-120AF which was recalibrated by PT-100 before the measurement to figure out the actual performance of the test chips. The FPGA control board issued the test input signal, and a logic analyzer collected the digital output codes. An Agilent DSO7054A digital oscilloscope was also used to verify the timing of the measurement system. Due to the curvature compensation with 3.0 V supply voltage, the measurement errors for 14 test chips were within −1.2–0.2 °C after two-point calibration and the corresponding 3 σ error is −1.9–0.7 °C, as shown in Figure 11. Two-point calibration was fulfilled by performing linear curve fitting with the digital outputs of −40 °C and 80 °C, which were chosen to minimize error. A nearly five-fold improvement in accuracy is achieved when compared with the simulation inaccuracy without curvature compensation. This demonstrates that the proposed curvature compensation technique for linearity enhancement functions.
To explore the effect of process variation, all of the effective resolutions of the test chips are calculated to be approximately 0.045 °C; the corresponding histogram is plotted in Figure 12. Without tuning the value of n, the chip-to-chip resolution variation is approximately ±3.3%, which is fairly low for most applications. The linearity of the proposed sensor with voltage sensitivity was also measured from 2.8 to 3.2 V in increments of 0.1 V. Because the compensation oscillator with the voltage variations does not function well, the inaccuracy is degraded to be −1.9–0.7 °C, as depicted in Figure 13. The supply voltage of the proposed sensor should be regulated for reducing the effect of voltage sensitivity. The power consumption was measured as 23 μW at a sample rate of 10 samples/s. With such low power dissipation, it would not cause self-heating to increase the error and any significant increase in the power consumption of the whole system.
This paper presents an on-chip linearization, time-domain, CMOS smart temperature sensor featuring curvature compensation for accuracy enchantment with a −40 to 120 °C temperature range operation. With the utilization of the curvature compensation oscillator, the linearity was greatly improved without increasing the circuit complexity and chip area. With a supply voltage of 3.0 V, the maximum inaccuracy of 1.4 °C (−1.2–0.2 °C) is achieved after two-point calibration for the 14 test chips. In addition, the temperature resolution can be improved by replacing the two linear delay lines with two ring oscillators. A fine resolution of 0.045 °C is easily realized without significantly increasing the chip area. With such a simple structure and a TSMC 0.35-μm CMOS process, the chip size is extremely small, at 0.07 mm2. By taking the CMOS process into consideration, the core area of the proposed sensor is the most favorable among the related smart temperature sensors that ever been reported. The power consumption is measured as 23 μW@10 Hz. These specifications verify that the proposed sensor is suitable for low-power, low-cost, but high-accuracy VLSI integrations. Table 1 summarizes the measured performances of the proposed sensor, as well as those of the related works. Our future work will focus on improving the time-domain curvature compensation technique further to support one-point calibration for reducing the costs of mass production.
The authors would like to express their appreciation to National Science Council for financial support under Grant NSC 101-2221-E-327-042. They also would like to thank National Chip Implementation Center (CIC) for the support of design and simulation tools.
Conflicts of Interest
The authors declare no conflicts of interest.
- Krummenacher, P.; Oguey, H. Smart temperature sensor in CMOS technology. Sens. Actuators A: Phys. 1990, 22, 636–638. [Google Scholar]
- Meijer, G.C.; Wang, M.G.; Fruett, F. Temperature sensors and voltage references implemented in CMOS technology. IEEE Sens. J. 2001, 1, 225–234. [Google Scholar]
- Pertijs, M.A.P.; Makinwa, K.A.A.; Huijsing, J.H. A CMOS smart temperature sensor with a 3 σ Inaccuracy of ±0.1 °C From −55 °C to 125 °C. IEEE J. Solid-State Circuit 2005, 40, 2805–2815. [Google Scholar]
- Souri, K.; Kashmiri, M.; Makinwa, K.A.A. A CMOS Temperature Sensor with an Energy-Efficient Zoom ADC and an Inaccuracy of ±0.25 °C (3 σ) from −40 to 125 °C. Proceedings of 2010 IEEE International Solid-State Circuits Conference Digest of Technical Papers (ISSCC), San Francisco, CA, USA, 7–11 February 2010; pp. 310–311.
- Chen, C.-C.; Chen, P.; Liu, A.-W.; Lu, We.-F.; Chang, Y.-C. An accurate CMOS delay-line-based smart temperature sensor for low-power low-cost systems. Meas. Sci. Technol. 2006, 17, 840–846. [Google Scholar]
- Chen, P.; Shie, M.-C.; Zheng, Z.-Y.; Zheng, Z.-F.; Chu, C.-Y. A fully digital time-domain smart temperature sensor realized with 140 FPGA logic elements. IEEE Trans. Circuit Syst. I 2007, 54, 2661–2668. [Google Scholar]
- Lin, Y.-S.; Sylvester, D.; Blaauw, D. An Ultra Low Power 1 V, 220 nW Temperature Sensor for Passive Wireless Applications. Proceedings of 2008 IEEE Custom Integrated Circuits Conference (CICC), San Jose, CA, USA, 21–24 September 2008; pp. 507–510.
- Law, M.K.; Bermak, A. A 405-nW CMOS temperature sensor based on linear MOS operation. IEEE Trans. Circuit Syst. II 2009, 56, 891–895. [Google Scholar]
- Chung, C.-C.; Yang, C.-R. An autocalibrated all-digital temperature sensor for on-chip thermal monitoring. IEEE Trans. Circuit Syst. II 2011, 58, 105–109. [Google Scholar]
- Chen, P.; Chen, S.-C.; Shen, Y.-S.; Peng, Y.-J. A all-digital time-domain smart temperature sensor realized with 48 FPGA logic elements with one-point calibration support. IEEE Trans. Circuit Syst. I 2011, 58, 913–920. [Google Scholar]
- Kim, K.; Lee, H.; Kim, C. 366-Ks/s 1.09-nJ 0.0013-mm2 frequency-to-digital converter based CMOS temperature sensor utilizing multiphase clock. IEEE Trans. VLSI 2012, 20, 1–5. [Google Scholar]
- Chen, P.; Chen, C.-C.; Peng, Y.-H.; Wang, K.-M.; Wang, Y.-S. A time-domain SAR smart temperature sensor with curvature compensation and a 3 σ Inaccuracy of 0.4 °C∼ + 0.6 °C over a 0 °C to 90 °C Range. IEEE J. Solid-State Circuit 2010, 45, 600–609. [Google Scholar]
- Saneyoshi, E.; Nose, K.; Kajita, M.; Mizuno, M. A 1.1 35 μm × 35 μm Thermal Sensor with Supply Voltage Sensitivity of 2 °C/10%-Supply for Thermal Management on the SX-9 Supercomputer. Proceedings of 2008 IEEE Symposium on VLSI Circuits, Honolulu, HI, USA, 18–20 June 2008; pp. 152–153.
- Demassa, T.A.; Ciccone, Z. Digital Integrated Circuits, 1st ed.; John Wiley & Sons, Inc.: New York, NY, USA, 1996. [Google Scholar]
- Tsividis, Y. Operation and Modeling of the MOS Transistor Second Edition, 2nd ed.; McGraw-Hill: New York, NY, USA, 1999. [Google Scholar]
- Filanovsky, I.M.; Allam, A. Mutual compensation of mobility and threshold voltage temperature effects with applications in CMOS circuits. IEEE Trans. Circuit Syst. I 2001, 48, 876–884. [Google Scholar]
- Laker, K.R.; Sansen, W.M.C. Design of Analog Integrated Circuits and Systems, 1st ed.; McGraw-Hill: New York, NY, USA, 1994. [Google Scholar]
|, V||0.01||±0.1 (3 σ)||One-point||NA||236 μW@10 Hz||4.5||−55∼125||0.7|
|, V||0.018||±0.25 (3 σ)||One-point||NA||10 μW@10 Hz||0.26||−40∼125||0.16|
|, Time||0.09||±0.6||Two-point||No||9 μW@5 Hz||0.09||−40∼60||0.35|
|, Time||0.058||−1.5∼0.8||Two-point||Yes||8.4 μW@2 Hz||NA||0∼75||0.22/0.18 hybrid|
|, Time||0.3||−1.6∼3.0||Two-point||No||220 nW@100 Hz||0.05||0∼100||0.18|
|, Time||0.3||−0.8∼1||Two-point||Yes||405 nW@1k Hz||0.032||0∼100||0.18|
|, Time||0.139||−5.1∼3.4||One-point||Yes||150 μW@10k Hz||0.01||0∼60||0.065|
|, Time||0.133||−0.7∼0.6||One-point||Yes||175 μW@1k Hz||NA||0∼100||0.22/0.18 hybrid|
|, Time||0.043||−2.7∼2.9||One-point||Yes||400 μW@366k Hz||0.0066||−40∼110||0.065|
|, Time||0.0918||−0.25∼0.35||Two-point||Yes||36.7 μW@10 Hz||0.6||0∼90||0.35|
|This work, Time||0.045||−1.2∼0.2||Two-point||No||23 μW@10 Hz||0.07||−40∼120||0.35|
© 2013 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).