Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DIGITAL TEMPERATURE SENSOR WITH INTEGRATED DIGITAL TEMPERATURE FILTER
Document Type and Number:
WIPO Patent Application WO/2015/100358
Kind Code:
A1
Abstract:
An integrated temperature sensor device has a temperature sensor configured to provide an analog signal corresponding to an ambient temperature, an analog-to-digital converter receiving the analog signal and a programmable digital filter coupled to the analog-to-digital converter.

Inventors:
ABERRA EZANA (US)
RICHARDS PATRICK (TH)
APPEL RICHARD (US)
ALEXANDER SAM (US)
LOYER STEPHEN (US)
BLAKE KUMEN (US)
CAPPY SEAN (US)
Application Number:
PCT/US2014/072225
Publication Date:
July 02, 2015
Filing Date:
December 23, 2014
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MICROCHIP TECH INC (US)
International Classes:
G01K7/42; G01K7/01
Domestic Patent References:
WO2002027449A22002-04-04
Foreign References:
US20040131104A12004-07-08
US20070280330A12007-12-06
US20010021217A12001-09-13
Other References:
None
Attorney, Agent or Firm:
SLAYDEN, Bruce, W., II (401 Congress Ave.,Suite 320, Austin TX, US)
Download PDF:
Claims:
CLAIMS

WHAT IS CLAIMED IS:

1. Integrated temperature sensor device comprising:

a temperature sensor configured to provide an analog signal corresponding to an ambient temperature;

an analog-to-digital converter receiving the analog signal; and

a programmable digital filter coupled to the analog-to-digital converter.

2. The integrated temperature sensor device according to claim 1, wherein the temperature sensor comprises :

a sensor element; and

a sensor conditioning circuit coupled with the sensor element.

3. The integrated temperature sensor device according to claim 2, wherein the sensor element is a semiconductor diode.

4. The integrated temperature sensor device according to claim 1 , further comprising a first register coupled with the analog-to-digital converter for storing the output of the analog-to- digital converter.

5. The integrated temperature sensor device according to claim 4, further comprising a second register coupled with the digital filter for storing the filtered temperature value.

6. The integrated temperature sensor device according to claim 1 , further comprising a control register coupled with the digital filter for storing filter coefficients of said programmable digital filter.

7. The integrated temperature sensor device according to claim 6, wherein the control register is configured to disable the digital filter.

8. The integrated temperature sensor device according to claim 7, wherein the control register is set to 0 to disable the digital filter.

9. The integrated temperature sensor device according to claim 6, wherein the control register selects one of a plurality of predefined filter coefficients.

10. The integrated temperature sensor device according to claim 1, wherein the analog-to- digital converter is a high speed analog-to-digital converter operable to provide about 200 conversions per second.

1 1. The integrated temperature sensor device according to claim 1 , further comprising a serial interface.

12. The integrated temperature sensor device according to claim 1, wherein the serial interface is selected form the group consisting of SPI, I2C, or a single wire serial interface.

13. A method for operating an integrated temperature sensor device comprising the steps of: converting an analog value provided by the sensor element into a digital temperature value by an analog-to-digital converter,

storing the digital value in an associated temperature register,

feeding the digital temperature value to a digital filter, and

storing a filtered temperature value in an associated filtered temperature register.

14. The method according to claim 13, wherein the sensor element is a semiconductor diode.

15. The method according to claim 13, further comprising storing a control value in a control register coupled with the digital filter for selecting a filter coefficients.

16. The method according to claim 15, wherein the control register is configured to disable the digital filter when the associated control value is 0.

17. The method according to claim 16, wherein the control value is stored in a plurality of bits of said control register.

18. The method according to claim 15, wherein the control register selects one of a plurality of predefined filter coefficients.

19. The method according to claim 13, wherein the temperature register and/or the filtered temperature register can be read by a microprocessor or microcontroller via a serial interface of the integrated temperature sensor device.

20. The method according to claim 19, wherein the serial interface is selected form the group consisting of SPI, I2C, or a single wire serial interface.

21. The method according to claim 13, wherein the analog-to-digital converter is a high speed analog-to-digital converter operable to provide about 200 conversions per second.

Description:
DIGITAL TEMPERATURE SENSOR WITH INTEGRATED DIGITAL

TEMPERATURE FILTER

CROSS-REFERENCE To RELATED APPLICATIONS

This application claims priority from U.S. Provisional Patent Application Serial No. 61/921,167 filed December 27, 2013 , which is hereby incorporated by reference in its entirety as if fully set forth herein

TECHNICAL FIELD

The present disclosure relates to digital temperature sensor devices, in particular to a digital temperature sensor with integrated digital temperature filter. BACKGROUND

A variety of integrated semiconductor temperature sensor exists. Such sensors are available in housings having a low number of pins and may provide a either an analog or a digital interface. Analog temperature sensors typically output a voltage that is proportional to the measured temperature while digital temperature sensors provide for a digital interface that is designed to encode the temperature value into a digital value and provide these to a processor, for example using a serial interface. To keep the number of pins low, these digital temperature sensors often use a single wire interface. However, other devices may use interfaces with more than one wire. While such digital temperature sensors are convenient and can be used in many applications, certain applications may in addition require post- processing of the temperature values. Hence, there exists a need for improved digital temperature sensors.

SUMMARY

According to an embodiment, an integrated temperature sensor device may comprise a temperature sensor configured to provide an analog signal corresponding to an ambient temperature; an analog-to-digital converter receiving the analog signal; and a programmable digital filter coupled to the analog-to-digital converter. According to a further embodiment, the temperature sensor may comprise a sensor element; and a sensor conditioning circuit coupled with the sensor element. According to a further embodiment, the sensor element can be a semiconductor diode. According to a further embodiment, the integrated temperature sensor device may further comprise a first register coupled with the analog-to-digital converter for storing the output of the analog-to- digital converter. According to a further embodiment, the integrated temperature sensor device may further comprise a second register coupled with the digital filter for storing the filtered temperature value. According to a further embodiment, the integrated temperature sensor device may further comprise a control register coupled with the digital filter for storing filter coefficients of said programmable digital filter. According to a further embodiment, the control register can be configured to disable the digital filter. According to a further embodiment, the control register can be set to 0 to disable the digital filter. According to a further embodiment, the control register may select one of a plurality of predefined filter coefficients. According to a further embodiment, the analog-to-digital converter can be a high speed analog-to-digital converter operable to provide about 200 conversions per second. According to a further embodiment, the integrated temperature sensor device may further comprise a serial interface which may be selected form the group consisting of SPI, I 2 C, or a single wire serial interface.

According to another embodiment, a method for operating an integrated temperature sensor device comprising the steps of: converting an analog value provided by the sensor element into a digital temperature value by an analog-to-digital converter, storing the digital value in an associated temperature register, feeding the digital temperature value to a digital filter, and storing a filtered temperature value in an associated filtered temperature register.

According to a further embodiment of the method, the sensor element is a semiconductor diode. According to a further embodiment of the method, the method may further comprise storing a control value in a control register coupled with the digital filter for selecting a filter coefficients. According to a further embodiment of the method, the control register is configured to disable the digital filter when the associated control value is 0. According to a further embodiment of the method, the control value is stored in a plurality of bits of said control register. According to a further embodiment of the method, the control register selects one of a plurality of predefined filter coefficients. According to a further embodiment of the method, the temperature register and/or the filtered temperature register can be read by a microprocessor or microcontroller via a serial interface of the integrated temperature sensor device. According to a further embodiment of the method, the serial interface is selected form the group consisting of SPI, I 2 C, or a single wire serial interface. According to a further embodiment of the method, the analog-to-digital converter is a high speed analog-to-digital converter operable to provide about 200 conversions per second.

BRIEF DESCRIPTION OF THE DRAWINGS

Fig. 1 shows a block diagram according to various embodiments;

Fig. 2 shows a graph depicting transfer functions for various filter coefficients.

DETAILED DESCRIPTION

According to various embodiments, a digital temperature sensor may comprise a digital filter feature which enables a user to control the temperature sensor sensitivity. According to various embodiments, a variety of such filters may be implemented. The lowest filter setting enables the user to detect fast thermal transients, and the highest filter setting reduces the sensor sensitivity, outputting gradual changes in temperature. The temperature sensor may be configurable, for example comprising a configuration register which can be configured through a serial interface of the device.

According to various embodiments, such a low power and digital temperature sensor may output temperature data at faster speeds than conventional devices, for example at 5 millisecond intervals (typically), or 200 times per second, for a high resolution temperature data. This rate is approximately 25 times faster than the speed of a conventional temperature sensor. Due to this high speed conversion rate, the device spends less time in the temperature conversion mode which saves the overall operating power when it is used in conjunction with the low power or shutdown mode. However, due to the fast temperature conversion, fast thermal transients may be detected from the application and the device may output false temperature alerts. The solution is to implement an integrated digital filter with the options for the user to adjust the filter coefficient or the filter strength.

Typically, if the application needs a digital filter, a microcontroller is used to process and filter the temperature data. According to various embodiments, the microcontroller consumes significantly higher operating current or power than the temperature sensor. Therefore, this integrated feature eliminates the associated processing requirements of a microcontroller and makes the digital temperature sensor according to various embodiments ideal for extremely low power applications.

According to some embodiments, there can be several functional blocks to a temperature sensor 100 according to various embodiments as shown in Fig. 1 : the sensor proper 110 and an associated conditioning circuit 120, an analog to digital converter 130, and user programmable registers 140. A diode 1 10 may be used in this example to measure temperature and the sensor conditioning circuit 120 is used to bias the sensor diode 110 and scale the diode voltage to measurable levels. However, according to other embodiments, other type of sensors and if necessary conditioning circuits may be used. Basically the temperature sensor provides for an analog signal, such as a voltage or a current that can easily be converted into a temperature value. The analog value may be proportional to the temperature or may have a known linear or non-linear relationship. For example, tables stored in memory may be used within the sensor device to retrieve a temperature value corresponding to the analog value.

The analog to digital converter 130 is used to convert the ambient temperature data in digital format. The digital temperature data is available to the user in the user Ambient Temperature data register 142. The temperature sensor may be designed to be configurable through the registers 140. For example, different operating modes may be available such as a request mode in which values are only transmitted upon request or an auto transmit mode in which temperature values are automatically transmitted in predetermined intervals. Yet another operating mode that may be implemented would provide a notification signal to the microcontroller or processor that new data can be read from the temperature sensor device. According to yet another mode, automatic transmission of new temperature values would take place once a predefined delta temperature value has been detected, or when combined with the notification mode, a notification of a new temperature that exceeded a predefined delta or absolute temperature value could be issued by the temperature sensor device. Other operating modes may be implemented. According to some embodiments, multiple operating modes may be implemented as described above wherein a user could programmably select one of the plurality of operating modes. According to various embodiments, a digital filter block 150 is provided, wherein the ambient temperature digital data is passed through the filter engine of the digital filter 150. The filter coefficients or filter strength can be adjusted by the user using the Filter Coefficients data register 144. The filtered data is then available in the Filtered Temperature Register 146.

Such an arrangement allows for extremely low power thermal management. The sensor 100 according to various embodiments filters temperature data to prevent false alerts and is about 25x faster than a conventional device, wherein its short operating time saves power. A typical microcontroller task includes conditioning temperature data by averaging multiple reads to reduce false temperature alerts, this consumes power by the microcontroller (much more than the sensor). Fast conversion time increases sensitivity to measuring system thermal noise. The added digital filter 150 with user programmable filter strength allows the device to manage thermal data within the temperature sensor so the microcontroller doesn't have to wake-up to perform this task.

Table 1 shows an example of a digital filter to be used in a temperature sensor 100 as shown in Fig. 1 according to various embodiments.

TABLE 1

BIT 6-4 N-FLLTER COEFFICIENT:

000 = 0 (No Filter - T A FLT=T A )

001 = 1 Minimum Filter

010 - 2

01 1 = 3

100 = 4

101 = 5

1 10 = 6

1 1 1 = 7 Maximum Filter

Thus, the values stored in the control register 144, for example, in bits 6-4 of the control register as shown in table 1, are used as an index to select one of a plurality of predefined filter coefficients. Other bits could be used according to various embodiments and the above mentioned specific bits are merely an example. Hence, a user merely needs to store a selection number to activate a specific filter function. If the index is equal to 0, then the entire filter will be disabled. However, other embodiments may use a different configuration process. For example, the filter may have a plurality of variable parameters and a user may directly program these parameters into various registers. While this option provides a user more control over the filter, it also would involve a more complicated set-up procedure. More than one type of filter or other additional functions can be implemented and a user may have the opportunity to select one of the plurality of filters or post processing routines. For example, a digital temperature sensor device according to various embodiments may have additional averaging routines and associated registers that store selectable or pre-defined averaging numbers. Various averaging routines could be implemented that calculate a mean or geometric average and optional other statistical values.

In this embodiment, the filter is an infinite impulse response low pass filter. According to an embodiment, eight different filter coefficient settings may be provided. Three bits of a control register 144 may provide for these options as explained above. However, more or less options may be provided according to other embodiments. In addition, the control register may have more bits that can be used for other configurations such as operating mode as discussed above. As can be seen in Fig. 2, if the filter coefficient is set to zero, no filter function will be applied. Thus this setting can be used as a disable function. The remaining seven settings span from a minimum to a maximum filter function.

The digital temperature sensor 100 may further have control logic 160 for performing the filter function and may also include, for example a digital serial interface 170 for communication with an external microprocessor or microcontroller 180. The serial interface 170 may allow for access to all registers 140 to set the functionality, for example digital filter function and read the temperature data from at least one or more temperature registers 140, 146. The serial interface can be any type of serial interface such as an serial peripheral interface (SPI), an I 2 C interface, or in particular any type of single wire interfaces, such as U I/O, 1-WIRE, etc.. Serial interface may also be used which are capable to supply power over the single communication line to further reduce the number of external pins. Other functions may be configured as discussed above.

As shown in Fig. 1, the measured temperature may be stored in a separate register 142 and the filtered temperature value may be stored in another register 146. Further control registers for controlling the analog-to-digital converter, for example speed and resolution may be present.

Typically, the temperature conversion rate of conventional digital sensors is about 4 to 8 times per second for a high resolution data device. During this slow conversion time the device consumes continuous current and if a digital filter is implemented by a microcontroller, then the controller can measure and filter the temperature data within fractions of the sensor conversion time, or power. Therefore, there isn't much advantage in implementing an integrated digital filter with slow conversion time sensors. But using a fast conversion time of a temperature sensor according to various embodiments saves power, and the filter feature saves power by off-loading the data processing need from the controller.

Fig. 2 shows the infinite impulse response (IIR) low pass filter depending on the various settings. A filtered temperature will be processed as follows:

A PRV Eq. 1

This equation 1 can be simplified as:

T A FLT a - T A - T, A PRV a + T A PRV Eq. 2 wherein a=l/2 n and n is a user selectable filter coefficient.