DIGITAL TEMPERATURE SENSOR WITH INTEGRATED DIGITAL TEMPERATURE FILTER |
|||||||
申请号 | EP14821473.7 | 申请日 | 2014-12-23 | 公开(公告)号 | EP3087363B1 | 公开(公告)日 | 2018-08-15 |
申请人 | Microchip Technology Incorporated; | 发明人 | ABERRA, Ezana; RICHARDS, Patrick; APPEL, Richard; ALEXANDER, Sam; LOYER, Stephen; BLAKE, Kumen; CAPPY, Sean; | ||||
摘要 | 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. | ||||||
权利要求 | |||||||
说明书全文 | The present disclosure relates to digital temperature sensor devices, in particular to a digital temperature sensor with integrated digital temperature filter. A variety of integrated semiconductor temperature sensor exists For example,
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 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 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 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 I2C interface, or in particular any type of single wire interfaces, such as UNI/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 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. |