Miniaturized thermistor based thermal sensor
10871404 · 2020-12-22
Assignee
Inventors
Cpc classification
H01L23/34
ELECTRICITY
International classification
G01K1/14
PHYSICS
Abstract
A thermal sensor includes a first resistor and a first capacitor. The first resistor is a thermistor. A first current source is coupled to the first resistor and the first capacitor. The first current source alternately charges the first resistor and the first capacitor each to a reference voltage, V.sub.therm. An output of the thermal sensor is a function of a resistance-capacitance (RC) time constant of the first resistor and the first capacitor.
Claims
1. A thermal sensor comprising: a first resistor and a first capacitor, said first resistor being a thermistor; a first current source coupled to said first resistor and said first capacitor that alternately charges said first resistor and said first capacitor each to a reference voltage, V.sub.therm, and wherein an output of said thermal sensor is a function of a resistance-capacitance (RC) time constant of said first resistor and said first capacitor; two non-overlapping phases, a thermal signal generation phase 1 and a counting phase 2, wherein in the thermal signal generation phase 1, said first current source charges said first resistor to reference voltage V.sub.therm and discharges said first capacitor to ground, while in the counting phase 2, said first current source charge said first capacitor to V.sub.therm; and wherein said first current source is coupled to a first clocked switch S1 clocked with a clock signal having the thermal signal generation phase .sub.1, and to a second clocked switch S2 clocked with a clock signal having the counting phase .sub.2, and to a positive input V.sub.in+ of an amplifier A1, and wherein the first clocked switch S1 is coupled to said first resistor which is grounded and wherein said second clocked switch S2 is coupled to said first capacitor which is grounded, and wherein a third clocked switch S3 clocked with a clock signal having the thermal signal generation phase phase .sub.1 is coupled in parallel to said first capacitor, and wherein a negative input V.sub.in of said amplifier A1 is coupled to a node n1, which is coupled to a second capacitor and to a fourth clocked switch S4, clocked with a clock signal having the thermal signal generation phase .sub.1, and which is coupled to an output of said amplifier A1, which outputs to a counter.
2. The thermal sensor according to claim 1, wherein said thermal signal generation phase 1 and said counting phase 2 are non-overlapping phases.
3. The thermal sensor according to claim 1, wherein a time it takes to charge said first resistor and said first capacitor to V.sub.therm is proportional to temperature.
4. The thermal sensor according to claim 1, further comprising a comparator, wherein in the thermal signal generation phase 1, voltage on said first resistor is stored on said second capacitor and in the counting phase 2, voltages on said first and second capacitors are input to first and second inputs of said comparator, respectively, which trips when the voltages on said first and second capacitors are equal, such that time it takes to trip is proportional to temperature measure by said thermal sensor.
5. The thermal sensor according to claim 4, wherein in the thermal signal generation phase 1, aid comparator receives V.sub.therm at said first input and is connected as a unity gain buffer with its output and said second input connected to each other and to said second capacitor, and wherein in the counting phase .sub.2, the output of said comparator is disconnected from said second input and said second capacitor.
6. The thermal sensor according to claim 5, further comprising a feedback loop which receives V.sub.therm in the thermal signal generation phase .sub.1 and controls the current in said first current source.
7. The thermal sensor according to claim 6, wherein said first current source is a PMOS transistor whose source is coupled to a positive supply, and wherein an input to said feedback loop is a gate of an NMOS transistor which produces a second current which is mirrored into a first port of a second resistor, said first port of the second resistor being coupled to a gate of the first current source.
8. The thermal sensor according to claim 7, wherein said comparator comprises two biases and a differential pair, a static bias generated by a third current source and a dynamic bias generated by a fourth current source, wherein the static bias is conducting in both the thermal signal generation phase and the counting phase and the dynamic bias in conducting only in the counting phase, wherein the output of the two biases are coupled to each other and provide current to the differential pair.
9. The thermal sensor according to claim 8, wherein the third and fourth current sources are NMOS transistors and the fourth current source is coupled to an NMOS transistor which is connected to the first input of said comparator.
10. The thermal sensor according to claim 1, wherein the first current source comprises a fifth current source and a sixth current source wherein the fifth current source is a multiple of the sixth current source, and the fifth current source charges the first resistor in the thermal signal generation phase and the sixth current source charges the first capacitor in the counting phase.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The present invention will be understood and appreciated more fully from the following detailed description taken in conjunction with the drawings in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
DETAILED DESCRIPTION
(19) In general, throughout the specification and claims, the term connected means a direct electrical connection between the things that are connected, without any intermediary devices. The term coupled means either a direct electrical connection between the things that are connected or an indirect connection through one or more passive or active intermediary devices. The term circuit or circuitry means one or more passive and/or active components that are arranged to cooperate with one another to provide a desired function. The term signal means at least one current signal, voltage signal or data/clock signal. The meaning of a, an, and the include plural references. The meaning of in includes in and on.
(20) If a feature is described with the term should and the like, it means the patent is not limited to this feature.
(21) Reference is now made to
(22) The non-limiting circuitry of
(23) A negative input V.sub.in of amplifier A1 is coupled to a node n1, which is coupled to a second capacitor C2 and to a fourth clock S4, which has the phase .sub.1 and which is coupled to an output of amplifier A1, which is coupled to the signal Stop. The output Stop is coupled to an input of a counter. All switches S1-S4 are marked with the phase at which they are conducting.
(24) As seen in the schematic, the operation of the thermal sensor of
V.sub.therm=I.sub.RC*R.sub.therm(1)
(25) In the thermal signal generation phase (.sub.1), the amplifier A1 is connected as a unity gain buffer, such that the output is connected to the negative input. A replica of this voltage (in series with any offset the amplifier might have) is sampled onto capacitor C.sub.2, to generate the activation voltage for the next phase, which is the counting phase (.sub.2):
V.sub.activation=V.sub.therm+V.sub.offset(2)
(26) V.sub.offset is the inherent offset voltage in the amplifier, A1. During the first phase, the thermal signal generation phase (.sub.1), the counter (at the output) is inactive, and capacitor C.sub.1 is discharged to 0 V.
(27) Following the sampling of V.sub.activation, the thermal sensor is switched to the counting phase (.sub.2), and the counter is enabled with a Start signal (not shown). During this phase (.sub.2), the input current I.sub.RC is used to charge capacitor C.sub.1, generating a ramp voltage over it:
(28)
(29) where T represents elapsed time since the start of this phase (.sub.2). In the counting phase (.sub.2), the amplifier A1 works with no feedback, and thus operates as a comparator. Once V.sub.in+ is larger than V.sub.in, the comparator will pull its output high, generating the Stop signal (shown in
(30)
(31) The counter will be active for the time T, which is equal to the time constant resulting from the value of C.sub.1 and the thermistor, R.sub.therm. The time T is also seen to be independent of the value of the current I.sub.RC, as long as it remains unchanged between the two phases. Since the resistance R.sub.therm is a function of temperature, so will be time T, as well as the digital output code of the counter.
(32) The voltages V.sub.therm and V.sub.activation are shown in
(33) The following is a non-limiting description of choosing the resistor and capacitor of the circuitry of
(34) In order to achieve maximal resolution, the counting time, T, should vary as much as possible in response to temperature change. For a given resistor type, the way to maximize its change with temperature is to use a high resistance value, which in turn occupies significant area. Assuming a linear relation of resistance and temperature, a resistor value as a function of temperature can be described by
R.sub.temp=R.sub.ref+dTemp.sub.ref*TCR*R.sub.ref(8)
R.sub.temp=R.sub.ref deltaR(tempref)(9)
(35) Where R.sub.ref is the resistance value at a reference temperature, dTemp.sub.ref is the temperature change relative to the reference temperature, TCR is the Temperature Coefficient of Resistivity, and R.sub.temp is the resistance at the desired temperature. The second term in equation (8) is the change in resistance relative to the reference temperature.
(36) From equations (7) and (9), it is clear that in order to maximize resolution the second term in equation (9) should be as large as possible. However, R.sub.ref holds no data of temperature, and will only make the measurement time longer. Therefore, optimal resistor selection for the temperature sensor of
(37) Generation of Current Input to the Circuit
(38) There are some challenges in generating an appropriate current I.sub.RC. For example, the resistance value and temperature coefficient of resistance can vary significantly with different process techniques. Accordingly, the bias current should be adjusted according to the specific sensor and operating temperature. Otherwise the current source might become saturated at extreme resistance values.
(39) To overcome this problem, a simplified biasing circuit is utilized, as is now described with reference to
(40) In the circuitry of
(41) Accordingly, in the circuit of
(42) The PMOS device M.sub.1 is preferably a high-voltage device in order to limit the leakage through its gate and minimize current variations during the cycle. It is important to note that once the switch is disengaged, and the voltage is sampled onto M.sub.0, charge injection and gate switching will generate an error in the sampled signal. This will in turn generate an error that might take a significant time to settle due to the high value and large parasitic capacitance of resistor R.sub.therm. Therefore, the sampling switch is controlled from another phase .sub.1A, which is limited to an early portion of the first phase .sub.1 as shown in
(43) One major drawback of this circuit is the poor Power Supply Rejection Ratio (PSRR) due to the current being almost linearly dependent on the supply voltage. To mitigate this problem, the circuit can be modified to use an NMOS device for biasing instead of a PMOS. A simplified version of the circuit is shown and described with reference now to
(44) In the circuitry of
(45) In
(46) The modification of the circuitry of
(47) The circuit of
(48) The value of V.sub.therm is temperature dependent, since V.sub.TH and V.sub.DSAT of NMOS device M2 change with temperature. This in turn generates a change in R.sub.therm as its voltage varies relative to the die substrate, degrading linearity. However, this change in resistance is measured during calibration, and can therefore be nulled.
(49) By using this resistor biasing scheme instead of a constant bias current, the simplified derivation of the time T that has been carried out earlier in equations (1)-(7) is somewhat modified. However, the final result remains the same. By redefining the charging current and the activation voltage
(50)
(51) by combining these new definitions, and solving for T
(52)
(53) which in turn, is identical to equation (7).
(54) To minimize error caused by the comparator, the sensor may use an amplifier in the signal path in both phases of operation. During the first phase, thermal signal generation phase (.sub.1), this amplifier is used to buffer the signal before sampling, while during the second phase, counting phase (.sub.2), it is used as the comparator. This scheme allows the offset to be cancelled as was shown earlier in equations (1)-(7) and (10)-(16). However, the amplifier and comparator modes have different requirements, which call for some modifications to the circuit between the two phases.
(55) During the thermal signal generation phase (.sub.1), the amplifier is used as a buffer in a negative feedback loop. Therefore, it should be stable under this operation condition, while achieving high gain to minimize error of the sampled signal. During the counting phase .sub.2, while the counter is active, there is no stability limitation due to the open loop operation. However, in the counting phase, the amplifier should have a high slew rate or else the counter might be running for a longer time period than desired. It also requires a high gain in order to distinguish small input signals.
(56) To meet these requirements, the sensor may use a folded-cascode amplifier (described in
(57) The circuitry of the folded-cascode amplifier of
(58) A source of a PMOS transistor M.sub.1A is coupled to Vcc and its drain is coupled to a node n9. A gate of PMOS transistor M.sub.1A is coupled to a gate of a PMOS transistor M.sub.1B and to a gate of a PMOS transistor M.sub.1C. The sources of PMOS transistor M.sub.1B and of PMOS transistor M.sub.1C are coupled to Vcc. The gate and drain of PMOS transistor M.sub.1C are coupled to each other.
(59) Node n9 is coupled to a drain of an NMOS transistor M.sub.0A, whose gate is coupled to V.sub.IN+ and whose source is coupled to a source of an NMOS transistor M.sub.OB. A gate of NMOS transistor M.sub.OB is coupled to V.sub.IN and a drain of NMOS transistor M.sub.OB is coupled to a drain of PMOS transistor M.sub.1B via a node n10. The source of NMOS transistor M.sub.OB is input as I.sub.B to a dynamic biasing circuit A2 with dynamic bias. The drain of PMOS transistor M.sub.1C is input as I.sub.B2 to dynamic biasing circuit A2. The dynamic biasing circuit A2 also has inputs V.sub.IN+ and I.sub.IN.
(60) Node n9 is coupled to a source of a PMOS transistor M.sub.4A, whose gate is coupled to V.sub.B and whose drain is coupled to a drain and gate of an NMOS transistor M.sub.3A, whose source is grounded and whose gate is coupled to a gate of an NMOS transistor M.sub.3B, whose source is grounded. Node n10 is coupled to a source of a PMOS transistor M.sub.4B, whose gate is coupled to V.sub.B and whose drain is coupled to a drain of NMOS transistor M.sub.3B. V.sub.B is a biasing voltage.
(61) The circuitry of
(62) The current I.sub.IN is coupled to a drain and a gate of an NMOS transistor M.sub.5A, whose source is grounded. The current I.sub.B is coupled, via a node 11 to a drain of an NMOS transistor M.sub.5B, whose source is grounded. Gates of NMOS transistors M.sub.5A and M.sub.5B are coupled to each other. Node n11 is coupled to a drain of an NMOS transistor M.sub.7A, whose source is coupled to a drain of an NMOS transistor M.sub.6A, whose source is coupled to a drain of an NMOS transistor M.sub.5C, whose source is grounded. The current I.sub.B2 is coupled, via a node 12 to a drain of an NMOS transistor M.sub.5D, whose source is grounded. Node n12 is also coupled to a drain of an NMOS transistor M.sub.7B, whose source is coupled to a drain of an NMOS transistor M.sub.6B, whose source is coupled to a drain of an NMOS transistor M.sub.5E, whose source is grounded. Gates of NMOS transistors M.sub.7A and M.sub.7B are coupled to each other. Gates of NMOS transistors M.sub.6A and M.sub.6B are coupled to each other and are also coupled to Vin+. Gates of NMOS transistors M.sub.5A, M.sub.5B, M.sub.5C, M.sub.5D and M.sub.5E are coupled to each other. The counting phase (.sub.2) is coupled to gates of NMOS transistors M.sub.7A and M.sub.7B.
(63) The amplifier biasing circuit of
(64) The counter may be implemented as a ripple counter to maintain simplicity while minimizing switching activity. To increase resolution for a given input clock, it can count on both clock edges, with the ability to count on a single edge if a faster clock is available and local power conservation is more important. In order to ensure digital levels at the input of the counter connected to the amplifier's output, its input can be gated during the first phase where the amplifier output is at V.sub.activation.
(65) Noise and Offset Considerations
(66) As described above, the operation of the thermal sensor cancels amplifier offset, as it remains correlated between the two samples. In practice, the offset of the amplifier can change between the two operating phases, due to change in amplifier bias current and therefore V.sub.dsat. However, the most dominant source of mismatch in differential amplifiers is V.sub.TH mismatch of the input devices. Therefore, the offset voltage of the amplifier will remain mostly unchanged between phases, which will guarantee the effectiveness of the offset cancellation.
(67) Noise which is at frequencies that are significantly lower than the operating frequency of the sensor, such as 1/f noise of the amplifier and current source, will be attenuated. This can be understood by treating these frequencies similarly to the offset voltage, as they are correlated between operating phases of the sensor. This also holds true for sampling noise over capacitor M.sub.0 of
(68) To achieve sufficient resolution, R.sub.therm and C.sub.1 should be of high value. As a result, R.sub.therm will also have significant parasitic capacitance associated with it. Therefore, thermal noise generated by both R.sub.therm as well as I.sub.RC should be low pass filtered before passing through the amplifier for both phases of the sensor operation.
(69) The noise of the amplifier/comparator should also be taken into consideration for both phases of the circuit operation. During .sub.1 the amplifier is operating with low transconductance (gm), and a capacitive load at the output. This capacitor will limit BW, and as a result integrated noise. However, increasing the capacitance will result in increased area. Therefore, similar to the 1/f noise, there is a tradeoff between area and resolution. During .sub.2, the noise of the comparator can only be taken into consideration as it approaches the activation voltage. At this time, it is operating with high current resulting in high gm, but without the capacitive load of the first phase to limit its bandwidth. To limit the total noise of the comparator its bias current should be increased, resulting in a tradeoff between power and resolution.
(70) Finally, another source of noise to be considered is clock jitter for the counter. To do this one should first relate clock jitter and input signal, which in this case is temperature. This can be done by finding the change in measurement time, T, for a given changed in temperature, for instance 1 C.
delta-T(1 C)=delta-R.sub.therm(1 C)*C.sub.1(17)
(71) One can use equation (15) to calculate the allowed RMS clock jitter by defining the RMS error that is acceptable for the application
Jitter(CLK)=delta-T(1 C)*Temp.sub.error(18)
(72) where Temp.sub.error is the RMS error expressed in degrees C. For a sensor implementation in one non-limiting embodiment of the invention, delta-T(1 C) for the nominal case is equal to 35 ns. Therefore, for a measurement error of 0.01 C, an integrated clock jitter of 350 ps can be tolerated over the counting period of 25 s.
(73) Measurement Results
(74) The sensor may be fabricated in 65 nm CMOS technology. A chip micrograph and sensor layout, in accordance with one non-limiting embodiment of the invention, are shown in
(75)
(76)
(77) To verify the effective resolution of the sensors, 90 consecutive readouts have been carried out at each temperature, and the RMS value calculated. The output code for 90 consecutive readouts at 26 C. is shown in
(78)
(79) Table 1 (
(80) Possible Circuit Modification for Reduced Area
(81) The thermal sensor, in accordance with a non-limiting embodiment of the invention, occupies an area of 0.01 mm.sup.2, which is one of the smallest resistor-based sensors published to date. However, given a few tradeoffs, the circuit can be made even smaller. Over 75% of the circuit area is occupied by the RC bank, and therefore, minimizing its area can yield significant area savings. One possible modification that reduces area is reduction of the time constant R.sub.therm*C.sub.1. For example, by reducing size of the bank by 50%, the sensor can be shrunk down to approximately 0.006 mm.sup.2. However, by doing so, the time constant R.sub.therm*C.sub.1, as well as parameter delta-T(1 C) will be 4 times smaller, which will lower the resolution.
(82) Another possible solution to this problem would be using a current mirror with ratio of n:1 between the current of the resistor R.sub.therm and the capacitor C.sub.1. For example, by using a mirror of 4:1, the sensor area can be shrunk down to approximately 0.006 mm.sup.2, while keeping similar delta-T(1 C) as in the current circuit. However, this current mirror might cause non-linearity, and increased noise. This possible circuit modification is shown in
(83) The non-limiting circuitry of
(84) In conclusion, in some embodiments, the thermal sensor uses an N+ diffusion thermistor with a metal capacitor to generate a temperature dependent RC time constant. The time constant may be measured using a novel amplifier/comparator combination, with a power saving dynamic bias. The circuit exhibits a resolution FOM (figure of merit) of 0.02 (nJ-K.sup.2), and the fastest sample time in its category (80 s). It also has one of the lowest energy consumptions of any sensor published. This circuit is fairly insensitive to the clock jitter. Furthermore, since most of the area is in the passives, it is expected that the sensor size will scale with technology. The combination of compact area, speed, and competitive resolution-FOM make this sensor suitable for CPU applications where thermistor based sensors are generally not utilized.