Next Article in Journal
Smart Multi-Level Tool for Remote Patient Monitoring Based on a Wireless Sensor Network and Mobile Augmented Reality
Next Article in Special Issue
Temperature and Magnetic Field Driven Modifications in the I-V Features of Gold-DNA-Gold Structure
Previous Article in Journal
A Vibration-Based Strategy for Health Monitoring of Offshore Pipelines’ Girth-Welds
Previous Article in Special Issue
Various On-Chip Sensors with Microfluidics for Biological Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A CMOS Smart Temperature and Humidity Sensor with Combined Readout

1
Department of Electronic and Electrical Engineering, University College London, Torrington Place, London WC1E 7JE, UK
2
Department of Medical Physics and Bioengineering, University College London, Malet Place, WC1E 6BT, UK
*
Author to whom correspondence should be addressed.
Sensors 2014, 14(9), 17192-17211; https://doi.org/10.3390/s140917192
Submission received: 15 July 2014 / Revised: 25 August 2014 / Accepted: 3 September 2014 / Published: 16 September 2014
(This article belongs to the Special Issue On-Chip Sensors)

Abstract

: A fully-integrated complementary metal-oxide semiconductor (CMOS) sensor for combined temperature and humidity measurements is presented. The main purpose of the device is to monitor the hermeticity of micro-packages for implanted integrated circuits and to ensure their safe operation by monitoring the operating temperature and humidity on-chip. The smart sensor has two modes of operation, in which either the temperature or humidity is converted into a digital code representing a frequency ratio between two oscillators. This ratio is determined by the ratios of the timing capacitances and bias currents in both oscillators. The reference oscillator is biased by a current whose temperature dependency is complementary to the proportional to absolute temperature (PTAT) current. For the temperature measurement, this results in an exceptional normalized sensitivity of about 0.77%/°C at the accepted expense of reduced linearity. The humidity sensor is a capacitor, whose value varies linearly with relative humidity (RH) with a normalized sensitivity of 0.055%/% RH. For comparison, two versions of the humidity sensor with an area of either 0.2 mm2 or 1.2 mm2 were fabricated in a commercial 0.18 μm CMOS process. The on-chip readout electronics operate from a 5 V power supply and consume a current of approximately 85 μA.

1. Introduction

Temperature and humidity sensors are widely used in many measurement and control applications, including process control, meteorology, agriculture, battery-powered systems and medical equipment [18]. Temperature is a major concern in active implanted medical devices, especially in situations where neural stimulators are located in close proximity to the neural tissue [9]. To protect patients from harm due to the heat dissipated from implantable stimulators, the ISO 14708-3 [10] requires that no outer surface of an implantable part be greater than 2 °C above the normal surrounding body temperature, either in normal operation or single-fault condition. Any higher temperature rises can only be justified if the manufacturer convincingly demonstrates its safety for a particular application [10]. An on-chip temperature sensor calibrated for a small temperature range (e.g., 35 °C to 40 °C), but which is very sensitive to small changes (e.g., 0.1 °C) will ensure the safe operation of a stimulator located on the same chip. The requirements for sensors used for on-chip thermal management of non-implantable processors are different due to their allowable wider temperature range and the stability of the supply voltage [11,12]. While it has been demonstrated that a high level of absolute accuracy can be achieved with a complementary metal-oxide semiconductor (CMOS) smart temperature sensor [13], relative changes (from the initial value on implantation) are more important for implant monitoring, and they require a high level of sensitivity.

Moisture is another major concern for electronic devices operated in humid environments or implanted in the body. Moisture that has penetrated the device package eventually causes condensation on the active area of the integrated circuit, leading to corrosion, performance deterioration and device failure. The most direct way to check that the micro-package [14] is functional and remains dry is to measure its internal relative humidity (RH). A humidity sensor using a 0.6 μm CMOS process with on-chip readout electronics is reported in [15]. An interdigitated capacitor that is covered by an inorganic passivation layer followed by a polyimide overcoat forms the moisture sensitive sensor. It does not require any post-processing steps. However, the area required for the sensor itself is relatively large (4 mm2 in [15]). It is desirable to provide a small sensor that can be added, for example, to micro-packaged implantable stimulator chips [9,16] without a large increase in total area.

This paper presents a combined temperature and RH sensor with a common readout, which simplifies the design and significantly reduces the chip area needed. The readout is based on ratiometric counter values in which a measurement counter is driven by a relaxation oscillator. Its frequency depends on either a temperature-dependent current charging a constant capacitor or on a constant current charging a humidity-dependent capacitor. By associating the reference counter to a current with opposite temperature coefficients, the temperature sensitivity can be increased (as will be shown). The combination of small area, supply voltage independence, high sensitivity to both temperature and humidity changes, as well as the ease of readout makes the design concept very attractive for active implantable epidural electrodes incorporating several stimulator chips [16]. For monitoring purposes in active implantable microsystems, it is the relative changes in temperature and humidity (and not their absolute values) that are important in order to trigger an alarm.

The paper is organized as follows. Section 2 describes the concept overview, and Section 3 provides a sensitivity analysis for both humidity and temperature. Section 4 presents details of the circuit design. The measured results follow in Section 5. Finally, the discussion and concluding remarks are presented in Sections 6 and 7.

2. Architectural Overview

Figure 1 shows the architecture of the combined temperature and humidity sensor. The readout is based on the ratiometric frequency measurement of two relaxation oscillators. Two modes of operation are selectable by the T/RH control signal, either the temperature mode (TMOD) or the relative humidity mode (RHMOD). The operation of the reference oscillator (REF-OSC) is the same in both modes. A bandgap circuit (BG) generates temperature-independent voltage levels of 1 V and 2 V, which are used to set the thresholds of the window comparators in the oscillator. REF-OSC is always connected to the same reference capacitor (CREF) and supplied by bias current IREF, biasing its internal current source/sink. This current is generated in BG and has a negative temperature coefficient; therefore, the frequency of REF-OSC decreases with an increase in temperature.

In the TMOD of operation, REF-OSC and one 16-bit counter (CNT1) generate a reference time interval. Any temperature increase leads to an increase in the proportional to absolute temperature (PTAT) current, increasing the frequency of the readout oscillator (TRH-OSC) and the rate at which the readout counter CNT2 counts. When CNT1 overflows, the instantaneous value of CNT2 is sampled. Note that the frequencies of REF-OSC and TRH-OSC are moving in opposite direction with increasing temperature, which improves the sensitivity of the temperature measurement. The consequences for linearity will be elaborated in Section 3.

In the RHMOD of operation, the frequency of TRH-OSC decreases with increasing capacitance, which is directly proportional to RH (i.e., C = f(RH)). In this mode, the roles of CNT1 and CNT2 are therefore interchanged, where CNT2 defines the measurement interval and CNT1 is engaged for readout. Note that TRH-OSC is biased by the same current as REF-OSC; thus, to a first order approximation, the temperature dependence of the current is cancelled. The frequency measurement is only affected by changes of the sensor capacitance, which ideally depends on humidity only. The following analysis examines the performance of both modes of operation in terms of sensitivity and linearity.

3. Sensitivity Analysis

The timing of the oscillator waveform is shown in Figure 2. During one half period (tON), the capacitor C is charged from the comparator reference voltage level V1 to V2 and:

Δ V = ( V 2 V 1 ) = 1 C τ = t τ = t + t ON I ( t ) d τ

For a bias current I(t) = I and a 50% duty cycle:

Δ V = 1 C · I · t ON f OSC = I 2 C ( V 2 V 1 )
where fOSC is the oscillator frequency. The frequency is directly proportional to current and inversely proportional to capacitance. Consequently, the roles of the reference and measurement counters must be interchanged when switching from one mode to another. CNT1 is the reference counter for TMOD, while CNT2 is for RHMOD. The two modes of operation are therefore treated separately below.

3.1. Humidity Sensor Mode (RHMOD)

The measurement interval, TRH, is determined by the TRH-OSC frequency, fRH, and the bit size of the overflow counter, CNT2. For a 16-bit counter, the measurement interval is:

T RH = N CNT2 f RH = 2 16 f RH
where NCNT2 is the counter value of CNT2. During this interval, the reference counter counts up to a value NREF, which depends both on the frequency of the measured signal and the measurement interval. Hence,
N CNT1 = f REF · T RH = f REF f RH · 2 16 ± 0.5
where fREF is the REF-OSC frequency. The uncertainty of half a count, i.e., the quantization error, is taken into account. Equation (4) shows that the reference counter value is a measurement of the frequency ratio of the oscillators. As the frequencies are dependent on both current and capacitance (see Equation (2)), the frequency ratio may be expressed as the ratiometric measurement of either currents or capacitances:
N CNT1 = f REF f RH · 2 16 ± 0.5 = I REF ( T ) C REF ( T ) · C RH ( T , RH ) I REF ( T ) · 2 16 ± 0.5
where CREF is the reference capacitor, CRH is the humidity sensitive capacitor, IREF is the REF-OSC current and T is the temperature. It is assumed that neither the capacitance of the reference capacitor nor the amplitude of the current is affected by RH. For equal bias currents, the sampled counter value NCNT1 is therefore only dependent on the capacitive ratio CRH/CREF. Two cases are considered.

3.1.1. Humidity Dependency

Equation (5) is independent of the current ratio and only dependent on the capacitance ratio, that is:

N CNT1 = f REF f RH · 2 16 ± 0.5 = C RH ( RH ) C REF · 2 16 ± 0.5

Since CREF can be considered constant and does not depend on RH, the change in counter value with humidity is:

N CNT1 RH = 1 C REF · C RH ( RH ) RH · 2 16 = C RH ( RH ) C REF · NSRH · 2 16
where NSRH is the normalized sensitivity to RH, which is of the order of 0.073%/% RH [15]. For equal capacitances, the counter change is of the order of 730 ppm/RH·216 ≈ 48, and the least significant bit (LSB) resolution is therefore 1/48 ≈ 0.02% RH.

3.1.2. Temperature Dependency

Here, Equation (6) is modified to take the temperature dependency of the reference capacitance into account:

N CNT1 = f REF f RH · 2 16 ± 0.5 = C RH ( T ) C REF ( T ) · 2 16 ± 0.5

The change in the counter value with temperature is:

N CNT1 T = 1 ( C REF ( T ) ) 2 · ( C RH ( T ) T C REF ( T ) C REF ( T ) T C RH ( T ) ) · 2 16

This dependency only cancels in the ideal case when both capacitances and their temperature coefficients are equal. For any other case, the temperature coefficient of a capacitor, TTC, is given by:

TCC = 1 C ( T 0 ) · C ( T ) T
where C(T0) is the capacitance at temperature T0. A typical value of TCC for a poly-poly capacitor CREF in a typical 0.18 μm CMOS process is 20 ppm/°C. Metal-dielectric-metal capacitors have higher temperature coefficients, and the simulated temperature coefficient of the top-metal humidity sensor is about 60 ppm/°C.

Equation (7) can be expressed in terms of TTC as:

N CNT1 T = C RH ( T ) C REF ( T ) ( TCC RH TCC REF ) · 2 16
where TCCRH and TCCREF are, respectively, the temperature coefficient of capacitor CRH and CREF. For equal capacitances, the change in the counter value is about 40 ppm/°C · 216 = 2.62/°C. A temperature increase of about 18 °C appears as a 1% RH increase. This temperature sensitivity is acceptable in implants where temperature variations are low.

3.2. Temperature Sensor Mode (TMOD)

3.2.1. Temperature Dependency

The temperature sensitivity of the counter stage is first examined for a reference current IREF with zero temperature coefficient (i.e., TCIREF = 0). The roles of measurement and reference counters are now reversed (Figure 1). Equation (5) assumes the form:

N CNT2 = f T f REF · 2 16 ± 0.5 = I T ( T , RH ) I REF · C REF ( T ) C T ( T ) · 2 16 ± 0.5
where fT is the TRH-OSC frequency (in TMOD), and the capacitors CT and CREF are of the same type with equal temperature coefficients. Thus, the derivative of the quotient (which can be derived in a similar manner to Equations (8) to (11)) is:
T ( C REF ( T ) C T ( T ) ) = C REF ( T ) C T ( T ) ( TCC REF T C C T ) = 0

The temperature, therefore, depends only on the PTAT current (IT) multiplied by the scaling factor CREF/CT:

N CNT2 T = 1 I REF . C REF C T ( I T ( T ) T ) · 2 16
where IT is assumed independent of RH. The temperature coefficient of the current is given by [17]:
T C I T = 1 I T · I T T = 1 V EB 12 · V EB 12 T 1 R · R T = ( 1 T TCR )
where VEB12 is the voltage difference between the differently biased bipolar transistors (Figure 5a) and TCR denotes the temperature coefficient of a resistor. Therefore, Equation (14) can be written as:
N CNT2 T = I T I REF . C REF C T 1 T ( 1 T · TCR ) · 2 16

The term T·TCR introduces a non-linearity. TCR can be very small for a poly-resistor (−40 ppm/°C), which is much smaller than the TCIT at room temperature (about 3300 ppm/°C).

3.2.2. TCIREF < 0, Temperature Dependency

The derivative of a current ratio can be expressed in a similar manner to Equation (11) as:

T ( I T I REF ) = I T I REF · ( T C I T T C I REF ) = I T I REF · ( 1 T T C R T C I REF )

The dependency of the relative value of CNT2 depends on temperature and is:

N CNT 2 T = I T I REF · C REF C T · 1 T ( 1 T ( T C I REF + T C R ) ) · 2 16

Since the temperature coefficient of the bandgap was simulated close to zero and the temperature coefficient of the n-well resistor used in BG is TCR = 3000 ppm/°C, the reference current will necessarily have a negative temperature coefficient of TCIREF = −3000 ppm/°C. Together with the chosen poly-type resistor for the PTAT current generation (−1400 ppm/°C), the sum of both coefficients is −4400 ppm/°C, which is subtracted from the 3300 ppm/°C of the PTAT current at 300 K. This presents a boost in sensitivity by a factor of 2.3 with respect to a PTAT current generator. The change in the counter value is 7700 ppm/°C · 216 ≈ 505, corresponding to an LSB resolution of 1/505 ≈ 0.002 °C. However, the increase in sensitivity is at the expense of increased non-linearity. The analysis of the latter is not trivial, and a qualitative illustration of the trade-off between linearity and sensitivity is shown instead in Figure 3. As the sensor will be used for temperature monitoring in an implant where the temperature range of interest is restricted, the errors due to non-linearity are small (Figure 3).

4. Sensor and Circuit Design

4.1. Humidity Sensor

The capacitive humidity sensor was constructed as in [15,18] and requires no post-processing steps. It is based on a capacitor consisting of an interdigitated finger structure formed by the top metal layer with its inorganic passivation coating. The structure is covered by a moisture sensitive film, which is formed by the readily available polyimide overcoat. A cross-section of the fabricated sensor in [15] is shown in Figure 4.

In the proposed design, the fingers are 3 μm wide and spaced 2.5 μm apart (the minimum width and spacing allowed by the design rules of the technology; 0.18 μm X-FAB XP018). Two types of sensor were implemented with sensing capacitors of different sizes. A 1 mm × 1 mm (15 pF simulated capacitance between fingers) and a 300 μm × 300 μm (1.1 pF simulated capacitance) were fabricated to investigate the sensitivity in these small structures. The larger sensor was accessible via pads to test its capacitance as a function of humidity. The chip also contained circuit structures enabling testing of individual blocks, such as the bandgap (BG) and PTAT reference outputs.

4.2. Bandgap and PTAT Designs

4.2.1. Bandgap Circuit

Both the temperature-independent voltage references V1 and V2, and a temperature-dependent reference current IREF are generated (Figure 5a). The topology is based on summation of a PTAT current and a complementary-to-absolute temperature (CTAT) current, which is a commonly used design in short channel processes [17]. A self-biased cascode current source (M8M15) is used to hold Nodes A and B at the same voltage, VEB (base-emitter voltage) of Q1. The cascode current mirror requires about 2.3 V of compliance. The PTAT current is generated via the VEB1VEB2 difference over R1 and added to the CTAT current generated by VEB1 over R2 and R3. The sum of the currents is mirrored to R4 and R5, which generate temperature-independent voltage drops of 1 V (V1) and 2 V (V2). The temperature dependence of V1 or V2 is a function only of the ratio of the values of R2 and R1 and the number (N = 8) of elements used in Q2 [17]. All resistors were selected as the n-well type, because of the positive temperature coefficient of about 3000 ppm/°C. This yields a negative TCIREF, as previously explained.

4.2.2. PTAT Circuit

The PTAT current source is shown in Figure 5b, and its topology is similar to the bandgap reference (without the CTAT current). The poly-resistor has a negative temperature coefficient of −1400 ppm/K, in order to further increase the temperature sensitivity of the output current. The startup circuit is identical to the one used in the bandgap reference.

4.3. Relaxation Oscillator

The relaxation oscillator is shown in Figure 6a. Prior to the start of the oscillation, the timing capacitor C is connected to the high impedance node formed by the inactive output transistors of the current source (M10) and sink (M6). The capacitor set (CAPset) signal resets the output and connects the output node to the lower threshold voltage. The capacitor will be rapidly charged to 1 V, allowing even the very first charging interval tON (Figure 2) to be accurately defined. The oscillator starts by driving CAPset to “0” and the oscillator enable (EN) signal to “1”, enabling the bias current through the 1:1 current mirrors formed by M2, M3, M6 and M7, M10. Output transistors M10 and M6 are alternately switched off (by M5, M9) or connected to the current mirror through M4, M8.

This design uses a single comparator implemented as an uncompensated two-stage op-amp, saving the power consumption of a second comparator. The relaxation oscillator is based on charging and discharging the timing capacitor between two well-defined voltages. The threshold values are switched depending on whether the capacitor is being charged or discharged. This is accomplished by the XOR gate U2 and the D-flip flop U3. When the capacitor voltage reaches the lower bound, the output of the comparator is set to the positive supply rail (Figure 6b). The inverted output of U3 is still at 0 V, causing U2 to be set to “1”, which resets U3 and causes the output of U2 to change back to “0”. The duration for which the output of U2 stays high is mainly determined by the propagation delays of U2 and U3 and are in the ns range. The undershoot that occurs before the flip-flop toggles causes negligible timing errors (Figure 6b).

4.4. Control Logic

The control logic was designed in Verilog and consists of a simple state machine. A start signal first sets CAPset to high, while enabling the bandgap reference (Figure 6a). It resets the output of the D-flip flop, which connects the gate of M10 to M7. However, the current mirror M2–M3 is not enabled, thus the drain of M7 is at VDD (5 V), turning off M7. The node at VCAP is therefore high impedance, and the timing capacitor charges up to V1 via the switch M10. The time constant is defined by the capacitance and the output resistance of the circuit generating V1, which is R4‖R5 and is about 2.7 μs for the larger humidity capacitor. A pulse of 20 μs is used to safely pre-charge the capacitor before turning off CAPset and starting the triangular oscillation of VCAP from the lower threshold V1. Each oscillator output is connected to a separate counter, whose frequency is recorded in a parallel-in/serial-out (PISO) register by the overflow of the counter (their roles are determined according to the T/RH mode signal in Figure 1). Once the data transfer occurs, a data ready (DTR) signal is set high to indicate the end of the measurement. The recorded value is then ready to be clocked out from the PISO by the external serial clock (SCLK) (Figure 1).

5. Measured Results

Two versions of prototype chips were fabricated in a 0.18-μm CMOS process (X-FAB XP018). Microphotographs of the chips are shown in Figure 7 (Version 1 and Version 2 chips). The larger 1 mm × 1 mm capacitor (humidity sensor) is visible on the top layer in Figure 7a. The readout circuit occupies an area of 350 μm × 580 μm. The different test-structures of the readout (Circuits B1 to B6 in Figure 7a) were first used to characterize the temperature and humidity sensitivity of the individual blocks. These test structures are only available in the Version 1 chip, and they represent functional blocks of the readout (which is nearly identical in both versions). The only difference in the readout in the Version 2 chip is that the control logic part is omitted. This design choice had to be made as the number of available pads was limited, and it was justified by confirming the correct operation of the control logic in the Version 1 chip.

For the sensor characterization, an MKF 240 environmental simulation chamber was used (BINDER GmbH, Tuttlingen, Germany). All measurements were performed with the test printed circuit board inside the chamber, connected by cables through access ports. Capacitance measurements were performed with a Wayne Kerr 6500B precision impedance analyser (Wayne Kerr Electronics Inc., Woburn, MA, USA). Short bursts at the output of both oscillators were sampled at 1 MHz using a NI-USB-6353 acquisition card (National Instruments, Austin, TX, USA). A frequency counter (Agilent 53131A, Santa Clara, CA, USA) was used for the direct measurement of the frequency ratio between the outputs of the two oscillators. A summary of the overall performance is given in Table 1.

5.1. Capacitance vs. Relative Humidity (Version 1)

All 14 sensors of Version 1 showed a linear capacitance response as a function of humidity (Figure 8), where the coefficient of determination is greater than 0.99. The mean response is:

C ( pF ) = 0.0133 · RH ( % ) + 25.92 pF
where the 99% confidence interval (CI) is (25.8, 25.99) pF for the intercept and (0.0125, 0.0141) pF/% for the slope. The normalized mean sensitivity is 0.0133/25.9 = 514 ppm/% RH at 0% RH.

5.2. Temperature Dependency of Reference (Version 1)

The reference current followed a linear trend with a negative temperature coefficient (Figure 9a):

I REF ( μ A ) = 0.00794 · T ( ° C ) + 2.88 μ A
where the 99% CI is (2.81, 2.95) μA for the intercept and (−0.0082, −0.0077) μA/°C for the slope. The average sensitivity is −0.00789/2.88 μA = − 2771 ppm/°C at 0 °C. The nominal simulated response was practically identical to the measured average response, which had a slope <3000 ppm/°C. This would be the slope expected from the quoted TCR of the n-well resistor of 3000 ppm/°C, if the reference voltage was ideal and had a zero temperature coefficient.

The measurement of the reference voltage V1 is shown in Figure 9b. Analysis of the results showed a 99% CI for the intercept between 1 V and 1.04 V, with a mean slope of 322 μV/°C, corresponding to a temperature coefficient of 316 ppm/°C. The variation of the gradients has a 99% CI of (248, 397) μV/°C. The sensitivity of V1 to temperature variations is attributed to the spread of the characteristics of the n-well resistors.

5.3. Temperature Dependency of PTAT (Version 1)

The measured PTAT current varies with temperature as expected (Figure 10):

I PTAT ( μ A ) = 0.011 · T ( ° C ) + 2.05 μ A
where the 99% CI is (1.995, 2.098) μA for the intercept and (10.6, 11.2) nA/°C for the slope. This yields a normalized temperature coefficient of 0.011/2.05 = 5366 ppm/°C at 0 °C.

5.4. Measured Frequency Output (Version 2)

The measured conversion from current to frequency (TMOD) over the frequency range 20–70 °C produced oscillator output frequencies in the range of 90–108 kHz. Similarly, the measured conversion from capacitance to frequency (RHMOD) over the humidity range 20%–80% RH produced oscillator output frequencies in the range of 26.6–27.1 kHz. There was an anomaly in the intermediate range, and extensive post-layout simulations revealed that this was due to the shared bandgap reference (Figure 1) and can be corrected by providing isolated bandgap references.

The behaviour of the measured oscillator frequency ratio between 20% RH and 45% RH for a representative chip from Version 2 is shown in Figure 11. The directly measured frequency ratio fREF/fRH is shown. The ratio follows a linear trend with humidity, where the slopes are dependent on the temperature (0.0016/% RH at 37 °C and 0.0023/% RH at 47 °C). The normalized sensitivity at 37 °C and 0% RH is 909 ppm/% RH, where both intercepts nearly meet. The temperature error at 0% RH would be 1% RH per 2 °C, which is lower than what was expected from Equation (11). The reasons behind this temperature dependency are discussed in Section 6.

Figure 12 shows the oscillogram of the oscillator outputs in the temperature mode, where the reference oscillator correctly stops after 65,535 cycles. The DTR signal is set and is automatically reset after all of the data has been clocked out (not shown).

6. Discussion

6.1. Temperature Sensor

The temperature sensor was designed with two currents of opposing temperature coefficient. For the reference current, a linear function of temperature was measured with a negative temperature coefficient. The slope of the PTAT current was larger in measurements than in simulation (about 10%), which could be attributed to a 10% smaller resistor. This is within the tolerance of the polysilicon resistor (R in Figure 5b) as quoted in the process specifications. However, the ratio between CTAT and PTAT currents within the bandgap (BG) should only depend on the ratio between resistors (which can be accurately matched) and on the collector current ratio between Q1 and Q2 (Figure 5a). In theory, the latter should not depend on the process spread [13]. However, the collector current, Ic, depends on both the emitter current and a significant base current (as the current gain βF is only 2.6 for the chosen process). Although the dependency of the current gain on the current is taken into account in the provided Gummel–Poon model, the recombination effect for the base-emitter diode presents a ‘knee’ in the base current versus voltage function and may not be accurately modelled [19]. Thus, the already small βF may significantly drop even further with smaller emitter-base voltage (VEB), so the collector current tends to be even smaller for each of the eight bipolar junction transistors (BJTs) in Q2, reducing the VEB of Q2 and, therefore, increasing VBE1VBE2 and, consequently, the PTAT current. Failure to accurately model the drop in βF = f(Ic) in the simulation could, therefore, explain the discrepancies between simulation and results. An appropriate correction of the collector current ratio would undoubtedly lead to better temperature stability of the reference voltage. Despite the suboptimal performance, the temperature coefficient of the bandgap voltage (316 ppm/°C) is still more than an order of magnitude lower than the temperature coefficient of the PTAT-to-reference current ratio. The oscillator frequency ratio is, therefore, mainly determined by the current, not the threshold voltages (V1 and V2).

The measured results confirmed the principle that the reference current can be designed to have a negative temperature coefficient with a low spread of slopes. As the slopes are related to the complementary temperature coefficient of the n-well resistors, it follows that their spread in the temperature coefficient must be low, as well. It was demonstrated that a compromise between linearity and sensitivity can be achieved by choosing the type of resistors R1R3 (Figure 5a) on the basis of a desired temperature coefficient. Non-silicided P+ poly resistors, for example, can have a temperature coefficient as low as 40 ppm/°C, which would greatly improve the linearity at the cost of PTAT sensitivity.

6.2. Humidity Sensor

The measured capacitance is about 10 pF higher than was expected from simulation. The reason for this mismatch can be partly attributed to the parasitic capacitances. However, that may not be the only reason why the sensitivity of 0.0514%/% RH is lower than the previously reported value of 0.077%/% RH for a similar construction in a different CMOS process [15]. The lower sensitivity can be attributed to the sum of minimum track width and spacing, which was 3 μm + 2.5 μm = 5.5 μm (as defined by the design rules) in the 0.18-μm CMOS process. This is larger than the 5 μm in [15], yielding a 10% lower density of electrodes per area. Furthermore, the gap distance of 2.5 μm was lower than the computed optimum of 4 μm for a comparable electrode density [18].

Despite the reduced sensitivity of the sensing element, an LSB resolution of 1/124% RH is possible, due to the 16-bit counter resolution. Repeated measurements of 100 consecutive readout values at a humidity level of 20% RH showed a sample standard deviation of 65 counts; thus, a 3σ difference of 195 counts is detectable. A resolution of 2% RH is therefore achievable. It has been shown that for the entire batch, an absolute accuracy of 6% could be achieved for a span of 40% RH. For smaller sensor areas, the oscillator frequencies must increase, but this has the advantage of shorter conversion times. For Version 2 (300 μm × 300 μm sensor), the frequency was 1.8 MHz, and tens of MHz can be achieved with CMOS relaxation oscillators. A higher sensitivity (909 ppm/% RH at 0% RH) was found in that version, where the sensing capacitor was not accessible for capacitance measurement. This suggests that the sensitivity of the humidity measurement is not necessarily related to the total area of the sensor when using the same shape of its outline.

Measurements showed a temperature dependency (Figure 11) that is larger than expected (1% RH per 2°C instead of 1% RH per 18 °C), but comparable to [15], where the output frequency changed 0.14% per 8 °C or 0.0175%/°C. This corresponds to a normalized sensitivity of the frequency output of 0.045%/°C for a 1% change per 2.6 °C. The output frequency as a function of humidity in [15] was not only offset with higher temperatures, but its negative slope steepened, as well. This would mean that the sensitivity would increase with increasing temperature. The reasons for this may lie in the temperature dependence of the polyimide moisture absorption, which can be taken into consideration by a temperature-dependent correction factor for the relative capacitance change with RH [20]. Interpolation of the experimentally obtained values showed that the factor varied from 1.04 at 37 °C to 1.086 at 47 °C, corresponding to an increase of 4.6% change. Although this is much smaller than observed in the present paper or in [15], the temperature dependence of the humidity measurement is unlikely to originate from temperature-dependent oscillator bias currents. The argument being that: (i) the temperature coefficient of both reference currents should cancel each other out according to Equation (8); (ii) if the temperature coefficient of the reference currents were dominant, then their negative values would actually decrease the sensitivity with temperature; and (iii) the charge current in [15] was temperature independent.

6.3. Batch Calibration

The data for the entire batch suggests that the temperature measurement error due to the variation of the current slopes is small in comparison to the error due to the spread in the current intercept, that is, the offset. For example, the range of the 99% CI (confidence interval) of the intercept is 2.098 μA − 1.995 μA = 103 nA for the PTAT current and 2.95 μA − 2.81 μA = 140 nA for the reference current. However, in a temperature interval from 20 °C to 80 °C, the maximum error due to the slope deviation would be much lower, that is (11.2 – 10.6) nA/°C · 60 °C = 36 nA for the PTAT and (8.2 – 7.7) nA/°C · 60 °C = 30 nA for the reference current. It is, therefore, safe to say that for the short temperature range of interest, a one-point calibration technique would be adequate for the batch under consideration. This can be readily achieved by reading and storing the digital value at a defined temperature and subtracting this value in subsequent measurements.

The chip-to-chip variation in the RH measurement is dependent on the spread of the capacitive sensing element. The 99% CI intercept range is 0.19 pF, whilst the error due to slope deviation amounts to (0.0141 – 0.0125) pF/% · 100% = 0.16 pF for the entire measurement range. This suggests that the slope of the sensor should be calibrated in those applications that require a high degree of absolute accuracy, but the one-point calibration as described above would be sufficient to monitor excessive moisture ingress in micro-packages with a compromised hermetic seal. The calibration of the humidity sensor within the hermetically-sealed micro-package [14] could only be reliably performed once it is ensured that the internal humidity is close to zero and that the properties of the sensor are not affected by the bonding process.

7. Conclusions

A smart CMOS sensor with a combined readout for both temperature and humidity has been presented. Circuits were designed to meet the needs of low current consumption, high sensitivity, no post-processing and small size (see comparison in Table 2). These features were achieved using common circuitry for both temperature and RH measurements.

It was shown that the digital output of the sensors represents an indirect ratiometric measurement of frequencies. A linear response was achieved for humidity-related capacitance changes with a reasonable sensitivity. In this design, the implementation of a current source with a negative temperature coefficient achieved a much higher sensitivity than a conventional PTAT, at the expense of reduced linearity. The designer can find a compromise between sensitivity and linearity depending on the requirement of the application. In this application, the aim was to reliably detect small temperature changes in order to guarantee safe operation of an implantable chip and to set an alarm when the integrity of the hermetically-sealed micro-package is compromised by detecting any ingress of moisture.

Future work is necessary to determine the temperature-dependent sensitivity of the employed polyimide and how its sensitivity varies across an entire wafer. In addition, the high temperatures involved in the micro-packaging process [14] may have an irreversible effect on the short- and long-term vapour adsorption properties of the polyimide film, which should be also investigated.

Acknowledgments

This work is part of the European Research project, NEUWalk ( www.neuwalk.eu), funded by the European Community's Seventh Framework Programme (FP7/2007-2013) under Grant Agreement No. 258654.

Author Contributions

Clemens Eder designed the chips, performed the experiments, analysed the data and drafted the manuscript. Virgilio Valente helped with the circuit design. Nick Donaldson and Andreas Demosthenous supervised the work and finalized the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Miloudi, M.; Remadnia, M.; Dragan, C.; Medles, K.; Tilmatine, A.; Dascalescu, L. Experimental study of the optimum operating conditions of a pilot-scale tribo-aero-electrostatic separator for mixed granular solids. IEEE Trans. Ind. Appl. 2013, 49, 699–706. [Google Scholar]
  2. Tangirala, K.P.; Heath, J.R.; Radun, A.; Conners, T.E. A handheld programmable-logic-device-based temperature and relative-humidity sensor, processor, and display system platform for automation and control of industry processes. IEEE Trans. Ind. Appl. 2010, 46, 1619–1629. [Google Scholar]
  3. Garstang, M.; Murday, M.; Seguin, W.; Brown, J.; Laseur, N. Fluctuations in humidity, temperature, and horizontal wind as measured by a subcloud tethered-balloon system. IEEE Trans. Geosci. Electron. 1971, 9, 199–208. [Google Scholar]
  4. Ahmad, Z.; Zafar, Q.; Sulaiman, K.; Akram, R.; Karimov, K.S. A humidity sensing organic-inorganic composite for environmental monitoring. Sensors 2013, 13, 3615–3624. [Google Scholar]
  5. Futagawa, M.; Iwasaki, T.; Murata, H.; Ishida, M.; Sawada, K. A miniature integrated multimodal sensor for measuring pH, EC and temperature for precision agriculture. Sensors 2012, 12, 8338–8354. [Google Scholar]
  6. Medrano, N.; Calvo, B.; Azcona, C.; Celma, S. CMOS quasi-digital temperature sensor for battery operated systems. Electron. Lett. 2013, 49, 1338–1340. [Google Scholar]
  7. Caldeira, J.M.L.P.; Rodrigues, J.J.P.C.; Garcia, J.F.R.; Torre, I. A new wireless biosensor for intra-vaginal temperature monitoring. Sensors 2010, 10, 10314–10327. [Google Scholar]
  8. Kotsuka, Y.; Orii, K.; Kojima, H.; Tanaka, M. New wireless thermometer for RF and microwave thermal therapy using an MMIC in an Si BJT VCO type. IEEE Trans. Microw. Theory Tech. 1999, 47, 2630–2635. [Google Scholar]
  9. Liu, X.; Demosthenous, A.; Vanhoestenberghe, A.; Jiang, D.; Donaldson, N. Active Books: The design of an implantable stimulator that minimizes cable count using integrated circuits very close to electrodes. IEEE Trans. Biomed. Circuits Syst. 2012, 6, 216–227. [Google Scholar]
  10. International Standard, ISO 14708-3 Implants for Surgery-Active Implantable Medical Devices - Part 3: Implantable Neurostimulators. 2008. Available online: http://www.iso.org/iso/catalogue_detail.htm?csnumber=41944 (accessed on 9 September 2014).
  11. Ituero, P.; López-Vallejo, M.; López-Barrio, C. A 0.0016 mm2 0.64 nJ leakage-based CMOS temperature sensor. Sensors 2013, 13, 12648–12662. [Google Scholar]
  12. Chen, C.C.; Lin, S.H. A time-domain CMOS oscillator-based thermostat with digital set-point programming. Sensors 2013, 13, 1679–1691. [Google Scholar]
  13. Aita, A.L.; Pertijs, M.A.P.; Member, S.; Makinwa, K.A.A.; Huijsing, J.H.; Meijer, G.C.M.; Diagram, A.S.B. Low-power CMOS smart temperature sensor with a batch-calibrated inaccuracy of ±0.25 °C (±3σ) from −70 °C to 130 °C. IEEE Sens. J. 2013, 13, 1840–1848. [Google Scholar]
  14. Saeidi, N.; Schuettler, M.; Demosthenous, A.; Donaldson, N. Technology for integrated circuit micro-packages for neural interfaces, based on gold–silicon wafer bonding. J. Micromech. Microeng. 2013, 23. [Google Scholar] [CrossRef]
  15. Cirmirakis, D.; Demosthenous, A.; Saeidi, N.; Donaldson, N. Humidity-to-frequency sensor in CMOS technology with wireless readout. IEEE Sens. J. 2013, 13, 900–908. [Google Scholar]
  16. Eder, C.; Valente, V.; Donaldson, N.; Demosthenous, A. A 1-Wire® communication interface between a control hub and locally powered epidural stimulators. Proceedings of 2013 Biomedical Circuits and Systems Conference, Rotterdam, The Netherlands, 31 October–2 November 2013; pp. 214–217.
  17. Baker, R.J. Voltage References. In CMOS: Circuit Design, Layout, and Simulation, 3rd ed.; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
  18. Saeidi, N.; Strutwolf, J.; Marechal, A.; Demosthenous, A.; Donaldson, N. A capacitive humidity sensor suitable for CMOS integration. IEEE Sens. J. 2013, 13, 4487–4495. [Google Scholar]
  19. Sishka, F. Gummel-Poon Bipolar Model, Munich, Germany, 2001. Available online: http://ftp.elo.utfsm.cl/∼lsb/elo102/ejercicios/GP_DOCU.pdf (accessed on 9 September 2014).
  20. Shibata, H.; Ito, M.; Asakursa, M.; Watanabe, K. A digital hygrometer using a polyimide film relative humidity sensor. IEEE Trans. Instrum. Meas. 1996, 45, 564–569. [Google Scholar]
  21. Wu, C.K.; Chan, W.S.; Lin, T.H. A 80 kS/s 36 μW resistor-based temperature sensor using BGR-free SAR ADC with a unevenly-weighted resistor string in 0.18 μm CMOS. Proceedings of 2011 Symposium on VLSI Circuits (VLSIC), Honolulu, HI, USA, 15–17 June 2011; pp. 222–223.
  22. Nizhnik, O.; Higuchi, K.; Maenaka, K. Self-calibrated humidity sensor in CMOS without post-processing. Sensors 2012, 12, 226–32. [Google Scholar]
Figure 1. Architecture of the combined temperature and humidity sensor. Depending on the measurement mode, one of the counters (CNT1 or CNT2) defines the reference period for the other counter. BG, bandgap circuit; REF-OSC, reference oscillator; T/RH, temperature/relative humidity; PTAT, proportional to absolute temperature; PISO, parallel-in/serial-out; DTR, data ready; SCLK, serial clock.
Figure 1. Architecture of the combined temperature and humidity sensor. Depending on the measurement mode, one of the counters (CNT1 or CNT2) defines the reference period for the other counter. BG, bandgap circuit; REF-OSC, reference oscillator; T/RH, temperature/relative humidity; PTAT, proportional to absolute temperature; PISO, parallel-in/serial-out; DTR, data ready; SCLK, serial clock.
Sensors 14 17192f1 1024
Figure 2. Triangular waveform on the capacitor and output waveform as a function of time. The duty cycle is assumed to be 50%.
Figure 2. Triangular waveform on the capacitor and output waveform as a function of time. The duty cycle is assumed to be 50%.
Sensors 14 17192f2 1024
Figure 3. Qualitative illustration of the compromise between linearity and sensitivity of the ratio between PTAT and reference currents. (a) A reference current with a low negative temperature coefficient will result in increased overall sensor sensitivity while minimally compromising linearity; (b) Sensitivity can be further increased with a reference current of a higher negative temperature coefficient, at the cost of increased deviation from linearity.
Figure 3. Qualitative illustration of the compromise between linearity and sensitivity of the ratio between PTAT and reference currents. (a) A reference current with a low negative temperature coefficient will result in increased overall sensor sensitivity while minimally compromising linearity; (b) Sensitivity can be further increased with a reference current of a higher negative temperature coefficient, at the cost of increased deviation from linearity.
Sensors 14 17192f3 1024
Figure 4. Cross-section for three of the sensing capacitor's fingers in [15] sectioned by focused ion beam.
Figure 4. Cross-section for three of the sensing capacitor's fingers in [15] sectioned by focused ion beam.
Sensors 14 17192f4 1024
Figure 5. (a) Reference current and voltage source. All resistors are of the n-well type; (b) PTAT current source.
Figure 5. (a) Reference current and voltage source. All resistors are of the n-well type; (b) PTAT current source.
Sensors 14 17192f5 1024
Figure 6. (a) Relaxation oscillator with a single comparator; (b) oscillator timing diagram (dimensions are not to scale).
Figure 6. (a) Relaxation oscillator with a single comparator; (b) oscillator timing diagram (dimensions are not to scale).
Sensors 14 17192f6 1024
Figure 7. (a) (A) Chip microphotograph of Version 1 chip (individual blocks are not visible due to the top-metal dummy structure) and (B) layout with omitted top metal layer. Test structures: (B1) readout circuit, (B2) bandgap, (B3) PTAT, (B4) biasing stage, (B5) relaxation oscillator, (B6) comparator. (b) Chip microphotograph of Version 2 chip with smaller sensing capacitor: (I) readout circuit, (II) capacitive sensing element.
Figure 7. (a) (A) Chip microphotograph of Version 1 chip (individual blocks are not visible due to the top-metal dummy structure) and (B) layout with omitted top metal layer. Test structures: (B1) readout circuit, (B2) bandgap, (B3) PTAT, (B4) biasing stage, (B5) relaxation oscillator, (B6) comparator. (b) Chip microphotograph of Version 2 chip with smaller sensing capacitor: (I) readout circuit, (II) capacitive sensing element.
Sensors 14 17192f7 1024
Figure 8. Measured capacitance versus relative humidity at 37 °C.
Figure 8. Measured capacitance versus relative humidity at 37 °C.
Sensors 14 17192f8 1024
Figure 9. (a) Measured reference currents with temperature; (b) Measured temperature dependency of all reference voltages V1.
Figure 9. (a) Measured reference currents with temperature; (b) Measured temperature dependency of all reference voltages V1.
Sensors 14 17192f9 1024
Figure 10. Measured PTAT currents versus temperature.
Figure 10. Measured PTAT currents versus temperature.
Sensors 14 17192f10 1024
Figure 11. Measurement of frequency ratios in Version 2.
Figure 11. Measurement of frequency ratios in Version 2.
Sensors 14 17192f11 1024
Figure 12. Oscillogram of the oscillator outputs. TEMP, temperature signal; REF, reference signal; DTR, data ready signal.
Figure 12. Oscillogram of the oscillator outputs. TEMP, temperature signal; REF, reference signal; DTR, data ready signal.
Sensors 14 17192f12 1024
Table 1. Summary of performance.
Table 1. Summary of performance.
General

Technology0.18 μm CMOS 5 M + THKMET
VDD+5 V
IDDa85 μA
Area b0.2 mm2 (readout in both sensors)

Sensor Output

TemperatureHumidity
Sensitivity c486/°C124/% RH
Sensitivity error d< ±4.3%< ±14.5%

Temperature Sensor

Area0.023 mm2 (part of readout circuit)
Sensitivity7753 ppm/°C@37°C
LinearityCompromise between linearity and sensitivity (see text); ideal for TCIREF = 0.

Capacitive Humidity Sensor

Version 1Version 2
Area1 mm20.09 mm2
Sensitivity e514 ppm/% RH584 ppm/% RH

aStatic quiescent current;breadout only;cas change in the counter output per measurement unit;dmaximum variation for the batch (N = 14) of Version 1;eobtained by measurement of capacitive changes in Version 1 and by frequency ratio in Version 2.

Table 2. Comparison of CMOS temperature/humidity sensors.
Table 2. Comparison of CMOS temperature/humidity sensors.
ReferenceTypeNormalized RH Sensitivity (ppm/% RH)Temperature Resolution (°C)Current Consumption (μA)Area (mm2)CMOS Technology (μm)
[12]Tn/a0.05100.120.35
[13]Tn/a0.03254.50.7
[21]Tn/a0.25200.180.18
[15]RH770n/a1114.80.6
[22]RH1440n/a10.70.15
This workT/RH5847753 ppm/°C a850.290.18

aIn this work, it is the sensitivity that is important.

Share and Cite

MDPI and ACS Style

Eder, C.; Valente, V.; Donaldson, N.; Demosthenous, A. A CMOS Smart Temperature and Humidity Sensor with Combined Readout. Sensors 2014, 14, 17192-17211. https://doi.org/10.3390/s140917192

AMA Style

Eder C, Valente V, Donaldson N, Demosthenous A. A CMOS Smart Temperature and Humidity Sensor with Combined Readout. Sensors. 2014; 14(9):17192-17211. https://doi.org/10.3390/s140917192

Chicago/Turabian Style

Eder, Clemens, Virgilio Valente, Nick Donaldson, and Andreas Demosthenous. 2014. "A CMOS Smart Temperature and Humidity Sensor with Combined Readout" Sensors 14, no. 9: 17192-17211. https://doi.org/10.3390/s140917192

Article Metrics

Back to TopTop