Thermostats are commonly used to help control temperature, humidity, and other comfort level factors in individual structures and zones within those structures. The number of thermostats used in the United States is increasing. The thermostats can be coupled to temperature and humidity sensors and can be coupled to the internet. The thermostat can be programmed to trigger a heating and cooling system to either heat or cool a zone when the temperature or humidity goes above or below a programmed threshold.
An apparatus can include one or more computer processors configured to: (1) receive a series of temperature readings from a temperature sensor, determine if the temperature sensor is properly located as a function of the received sensor readings, and in response to determining that the temperature sensor is not properly located, recording, in a memory communicatively coupled to the processor, data indicating that the temperature sensor is not properly located.
A method can include: (1) receiving a series of temperature readings from a temperature sensor, (2) determining, using a computer processor, if the temperature sensor is properly located as a function of the received temperature readings, and (3) in response to determining that the temperature sensor is not properly located, recording, in a memory, data indicating that the temperature sensor is not properly located.
A computer readable storage device can include instructions stored thereon, the instructions, which when executed by a machine, cause the machine to perform operations including (1) receiving a series of temperature readings from a temperature sensor, (2) determining if the temperature sensor is properly located as a function of the received temperature readings, and (3) in response to determining that the temperature sensor is not properly located, recording, in a memory, data indicating that the temperature sensor is not properly located.
In the drawings, which are not necessarily drawn to scale, like numerals may describe similar components in different views. Like numerals having different letter suffixes may represent different instances of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed in the present document.
While embodiments of this disclosure can take many different forms, specific embodiments thereof are shown in the drawings and will be described herein in detail with the understanding that the present disclosure is to be considered as an exemplification of the principles of the invention, as well as the best mode of practicing same, and is not intended to limit the disclosure to the specific embodiments illustrated.
Connected thermostats can create large amounts of data. Analytics on the data created by these thermostats can have the potential to provide insights for smart grid and utility businesses. The insight can be in the form of a forecast of demand response potential, operational set point recommendations for energy or cost savings, energy efficiency upgrade recommendations, or diagnosis of equipment problems, among others. Connected thermostats (e.g., thermostats connected to the internet) can produce time-series data including an indoor display temperature and humidity, temperature set points, outdoor temperature and humidity, or heating or cooling mode. The data can be recorded when a change in the data occurs or periodically regardless of whether the data value has changed.
An outdoor temperature sensor for a thermostat can be either not installed correctly or located incorrectly (e.g., not outdoors). Sometimes the temperature sensor can produce high frequency oscillatory data, such as around a mean value, such as a mean value not related to (e.g., with little or no correlation to) the actual outdoor temperature. These anomalies can be detected, such as to allow corrective action to be taken. Algorithms configured to detect, such as automatically (e.g., without human action or interference), anomalies can be helpful for additional analytics in processing thermostat data. Such algorithms can be helpful for repairing a problem or saving energy, such as to help increase customer comfort or economy.
The following description describes systems, apparatuses, techniques, and software configured to detect anomalies in a temperature sensor, such as a temperature sensor that is supposed to be located outdoors, a temperature sensor is exhibiting behavior consistent with experiencing oscillations, or that the temperature sensor is not operating properly. Such anomalies can be detected by analyzing temperature sensor readings. As used herein, as “temperature sensor reading” is data corresponding to a temperature detected at a temperature sensor.
Apparatuses, systems, techniques, and software will now be further described with references to figures.
Referring now to
The thermostat 102 may be wired or wirelessly coupled to the temperature sensors 104A-E or humidity sensors 106A-E. The thermostat 102 can receive air temperature information (e.g., data representative of a temperature of air) directly from the temperature sensors 104A-E or from a network 110 which the temperature sensors 104A-E are communicatively coupled to. Similarly, the thermostat 102 can receive air humidity information (e.g., data representative of a humidity of air) directly from the humidity sensors 106A-E or from a network 110 that the humidity sensors 106A-E are communicatively coupled to.
The thermostat 102 can include one or more temperature set points that can be set by a user. The one or more temperature set points can be set on a schedule. For example, a user can decide that they would like an area to be warmer during the day than at night. In such a situation, the user can set a first temperature set point for 7:00 AM and a second, different temperature set point for 11:00 PM. The thermostat 102 can use the first temperature set point as the desired temperature of the area from 7:00 AM to 11:00 PM and the second temperature set point as the desired temperature for the area from 11:00 PM to 7:00 AM. Temperature set points could be set for longer or shorter lengths of time, such as hourly, daily, weekly, monthly, etc. Temperature set points can be set based on solar activity, such as sunrise, sunset, or how much sun exposure the area is exposed to (e.g., mostly sunny, partly cloudy, etc.), among others. Information about solar activity can be retrieved through the network 110.
The thermostat 102 can include a global positioning system (GPS) sensor that it can use to determine (e.g., automatically determine) its location. The location can be used to determine weather data, such as through the internet. The thermostat 102 can use Internet Protocol (IP) address information, cell tower information, GPS, or any other wired or wireless method to determine its geographic location.
One or more air temperature sensors 104A-E can be communicatively coupled to the thermostat 102. The temperature sensors 104A-E can transmit data representative of an air temperature (e.g., a temperature reading) to the thermostat 102 either directly to the thermostat 102 or indirectly, such as through network 110. The temperature sensor 104A-E can be configured to transmit air temperature data periodically, continuously, or at or around the time the thermostat 102 requests temperature data. One or more temperature sensors 104A-E can be placed inside an area to measure inside air temperature and transmit an inside air temperature data to the thermostat 102, such as temperature sensor 104E of
One or more air humidity sensors 106A-E can be communicatively coupled to the thermostat 102. A humidity sensor 106A-E can transmit data representative of an air humidity to the thermostat 102, either directly to the thermostat 102 or indirectly, such as through network 110. A humidity sensor 106A-E can be configured to transmit air humidity data periodically, continuously, or at or around the time the thermostat 102 requests humidity data from the respective humidity sensor 106A-E. One or more humidity sensors 106A-E can be placed inside an area to measure inside air humidity and transmit inside air humidity data to the thermostat 102. Humidity sensor 106E of
Network 110 can be communicatively coupled to the thermostat 102, temperature sensors 104A-E, humidity sensors 106A-E, or computer system(s) 400 (shown in
The network 110, thermostat 102, fault detector 112, computer system 1200 (see
Detecting an anomaly in the temperature sensor 104A-E can include determining if the temperature sensor 104A-E is missing or incorrectly installed. Detecting such an anomaly can include determining if the temperature sensor 104A-E is stuck at a specific value or not sending temperature data. An incorrectly installed or missing temperature sensor 104A-E can either send no data or send data that is of a nearly constant value, such as a maximum or a minimum value for the given number of bits, such as −128 F or 128 F. The algorithm can detect such an anomaly by determining if the maximum, minimum, or no value is being transmitted by the temperature sensor 104A-E, such for a specified period of time.
Detecting an anomaly in the temperature sensor 104A-E can include detecting oscillations (e.g., high frequency oscillations or oscillations with a frequency greater than a specified threshold), such as oscillations around a mean value. As used herein, a temperature sensor 104A-E oscillating means that the temperature sensor 104A-E is transmitting data that indicates that the temperature sensor is exhibiting behavior consistent with experiencing oscillations and inconsistent with the normal oscillation patterns of the temperature or humidity readings in the given area around the temperature sensor. Detecting oscillations can be based on the nature (e.g., frequency, magnitude, time of day, among others) of the oscillations or excursions (e.g., oscillations or trend reversals) that are normal for the location of the temperature sensor.
Oscillations can be detected by detecting trends (e.g., whether the temperature readings from the temperature sensor 104A-E indicate that the temperature is increasing or decreasing) and updating a trend reversal variable if the temperature goes from increasing to decreasing or decreasing to increasing, such as by counting or incrementing the number of trend reversals within a time window (e.g., a specified or moving time window, see
The calculation can be repeated for future time windows. If a fault is declared for a number of sequential time windows (e.g., if a number of sequential faults is determined to be greater than a specified threshold) then it can be determined that the temperature sensor 104A-E is oscillating. In one or more embodiments, detecting if the temperature sensor 104A-E is oscillating can include determining a difference between (1) an average of a minimum and a maximum temperature reading observed in a time window and (2) an average of all temperature readings, such as all temperature readings in the same time window. The difference of averages can be compared to a threshold to determine if it is within an expected range of differences. If the difference of averages is greater than the threshold, then it the oscillations can be determined to be normal oscillations. If the difference of averages is less than the threshold, then the trend reversal variable can be compared to another threshold. In one or more embodiments, an oscillation fault is declared in response to determining that the trend reversal variable is greater than a first threshold and the difference of averages is less than a second threshold.
By detecting oscillations in these ways, false positives can be reduced or even minimized, such as when there are rapid fluctuations in temperature or electronic noise in the sensor data. A threshold value for the trend reversal variable can be assigned based on actual historic sensor data or other sets of normal data. The sequential number of windows with a positive oscillatory behavior (e.g., a fault being declared) can be counted. This sequential number of windows with a positive oscillatory behavior can be compared to a specified threshold that indicates the number of sequential windows to be detected prior to declaring a positive anomaly declaration. Such an approach can help detect anomalous oscillatory behavior correctly or reject declaring a fault when normal sensor oscillations are observed.
Detecting an anomaly in the temperature sensor 104A-E can include determining if the temperature sensor 104A-E is in the proper location (e.g., outdoors or indoors). Such anomalies can be detected based on an outdoor air temperature obtained from an outside source, such as a website (e.g., Weather Underground, weather.com, or other website that maintains such data). The data collected from the temperature sensor 104A-E and the outside source can be divided into respective time windows. In one or more embodiments, it can be determined if a display temperature is sufficiently different from the outdoor temperature (e.g., about five degrees F. different or more). Such a determination can help ensure that a sufficient difference between the indoor and outdoor temperatures exists so as to be able to determine if the temperature sensor readings are more closely correlated with one of them and not the other. Having indoor and outdoor temperatures that are close to each other can cause difficulties in determining which of the indoor or outdoor temperatures the sensor temperature is more closely correlated with.
Differences can be calculated as: (1) the temperature obtained from the outside source minus the temperature detected by the temperature sensor 104A-E and (2) a temperature set point of the corresponding thermostat and the temperature detected by the temperature sensor. The differences calculated can be used to determine Root Mean Square (RMS) errors between the temperature detected by the temperature sensor and the outdoor and indoor temperatures, respectively. The differences can be calculated as a function of each temperature reading received from the temperature sensor within a time window (e.g., a moving or sliding time window). Such calculations can help determine if the outdoor temperature sensed a temperature closer to the outdoor temperature indicated by the outside source or the room/zone temperature indoors.
A threshold can be specified so as to set a limit on a ratio between the differences or errors calculated based on the differences: (1) the temperature obtained from the outside source minus the temperature detected by the temperature sensor and (2) a temperature set point of the corresponding thermostat minus the temperature detected by the temperature sensor 104A-E. If the ratio between the errors or differences is greater than the threshold, a fault can be triggered. If a specified number of sequential faults is triggered (e.g., if a number of sequential faults exceeds a threshold) a location of the temperature sensor 104A-E can be determined to be in error (e.g., a location fault for the temperature sensor 104A-E can be declared). Such an approach can help detect anomalies where the temperature sensor is not properly located and can help reduce the number of false positives declared as compared to using other algorithms to detect the same.
The fault detector 112 output 814 being asserted can indicate that the sensor temperature is too closely correlated or not sufficiently correlated to (1) the outdoor temperature data 812C or (2) the display temperature 812A. By configuring which error or difference is in the numerator or denominator of the ratio and modifying the threshold, the system, apparatus, or technique can be configured to detect whether the is too closely correlated or not sufficiently correlated to (1) the outdoor temperature data 812C or (2) the display temperature 812A. For example, to determine if the sensor temperature 812B is sufficiently correlated to the indoor temperature the ratio can be configured to have the difference or error calculated based on (1) the temperature obtained from the outside source minus the temperature detected by the temperature sensor in the denominator and (2) a temperature detected by an indoor temperature sensor 104A-E communicating with the thermostat 102 minus the temperature detected by the temperature sensor 104A-E in the numerator. If this ratio is greater than a specified threshold, then the sensor temperature readings can be determined to be not sufficiently correlated to the indoor temperature (e.g., display temperature 812A) and a fault can be declared.
The user can set a temperature schedule through the user interface 900. The user can enter information about the area the thermostat 102 is responsible for through the user interface 900. For example, the user can enter data about the insulation used in the area, a square footage of the area, a website that the network 110 can pull weather data from, a zip code or other information indicating a geographical location of the area, or other area information through the user interface 900.
The information screen(s) 914 can display a temperature received from a temperature sensor 104A-E, a humidity received from a humidity sensor 106A-E, an indoor or outdoor temperature, a weather forecast, the temperature set point(s), or other system information.
Time window 1016A is configured for five time units, t1 through t5 in this example. The sensor temperatures, T1 through T5, from the respective temperature sensor 104A-E, the display temperatures D1 through D5, or the outdoor temperatures O1 through O5 can be used to determine if a fault should be declared in the time window 1016A. After time t6 has passed and the corresponding temperatures T6, D6, and O6 have been determined or received from their respective components or the network 110, time window 1016A can slide a time unit to become time window 1016B. The sensor temperatures, T2 through T6, display temperatures D2 through D6, or the outdoor temperatures O2 through O6 can be used to determine if a fault should be declared in the time window 1016B. In this example, time window 1016A and 1016B are sequential time windows. Note that a time window can slide more than one time unit before the data in the time window 1016A-G is used to determine if a fault should be declared. For example, time window 1016C can be a time window that is sequential with time window 1016A but is delayed three time units from time window 1016A (e.g., from beginning at time t1 to beginning at time t4). The size (e.g., time span or duration) of the time windows 1016A-G can vary as well. Time windows 1016E, 1016F, and 1016G are depicted as spanning four time units, while time windows 1016A, 1016B, 1016C, and 1016D are depicted as spanning five time units. It should be appreciated that time windows with other sizes can be used and are still consistent with this disclosure. Note that time units can be any duration from fractions of a second to days, weeks, or even months apart.
Time window 1016F can be two time units moved from time window 1016E and sequential (e.g., the next time window in a sequence) with time window 1016E. Time window 1016G can be two time units moved or slid down from time window 1016F and sequential with time window 1016F. In one or more embodiments, a location or oscillation fault can be declared for if specific criteria are met within a single time window 1016A-G, but an alert or other declaration that the temperature is oscillating or in an improper location can be declared if the data in a specified number (e.g., a threshold number) of sequential time windows meets or exceeds the criteria. The threshold can be any number, one or more. In this way, a tolerance for some oscillations or correlation issues between the sensor temperature and either the indoor or outdoor temperatures can be tolerated without triggering an alert.
The technique 1100 can further include receiving temperature data corresponding to 1) a same time period as the temperature sensor readings and 2) same general location as the temperature sensor 104A-E is expected to be. Determining if the temperature sensor is properly located can include comparing the temperature readings to the received temperature data. Comparing the temperature readings to the received temperature data can include determining a first RMS error between the temperature data and the temperature readings.
The technique 1100 can further include receiving a second series of temperature readings from a second temperature sensor 104A-E, the second series of temperature readings corresponding to the same time period as the first series of temperature readings. The second temperature sensor 104A-E can be located indoors or outdoors. Comparing the temperature readings to the received temperature data can include determining a second RMS error between the second series of temperature readings and the temperature data.
Comparing the temperature readings to the received temperature data can include comparing a ratio of the first RMS error and the second RMS error to a specified threshold. The technique 1100 can further include, in response to determining the ratio of the first RMS error and the second RMS error is greater than the specified threshold for a specified period of time, alerting personnel that the temperature sensor is not properly located. The technique 1100 can include determining if the first series of temperature sensor readings corresponds to one chosen from the group consisting of a maximum and a minimum possible value for the number of bits. A temperature sensor reading of the first or second series of temperature sensor readings can include a specified number of bits. The technique 1100 can include, in response to determining each temperature sensor reading corresponds to one chosen from the group including a maximum and a minimum possible value for the number of bits, alerting personnel that first temperature is not properly installed.
Example computer system 1200 can include a processor 1202 (e.g., a central processing unit (CPU), a graphics processing unit (GPU) or both), a main memory 1204 and a static memory 1206, which communicate with each other via an interconnect 1208 (e.g., a link, a bus, etc.). The computer system 1200 may further include a video display unit 1210, an alphanumeric input device 1212 (e.g., a keyboard), and a user interface (UI) navigation device 1214 (e.g., a mouse). In one embodiment, the video display unit 1210, input device 1212 and UI navigation device 1214 are a touch screen display. The computer system 1200 may additionally include a storage device 1216 (e.g., a drive unit), a signal generation device 1218 (e.g., a speaker), an output controller 1232, a power management controller 1234, and a network interface device 1220 (which may include or operably communicate with one or more antennas 1230, transceivers, or other wireless communications hardware), and one or more sensors 1228, such as a GPS sensor, compass, location sensor, accelerometer, or other sensor.
The storage device 1216 includes a machine-readable medium 1222 on which is stored one or more sets of data structures and instructions 1224 (e.g., software) embodying or utilized by any one or more of the methodologies or functions described herein. The instructions 1224 may also reside, completely or at least partially, within the main memory 1204, static memory 1206, and/or within the processor 1202 during execution thereof by the computer system 1200, with the main memory 1204, static memory 1206, and the processor 1202 also constituting machine-readable media.
While the machine-readable medium 1222 is illustrated in an example embodiment to be a single medium, the term “machine-readable medium” may include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more instructions 1224. The term “machine-readable medium” shall also be taken to include any tangible medium that is capable of storing, encoding or carrying instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present disclosure or that is capable of storing, encoding or carrying data structures utilized by or associated with such instructions. The term “machine-readable medium” shall accordingly be taken to include, but not be limited to, solid-state memories, optical media, and magnetic media. Specific examples of machine-readable media include non-volatile memory, including, by way of example, semiconductor memory devices (e.g., Electrically Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM)) and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.
The instructions 1224 may further be transmitted or received over a communications network 1226 using a transmission medium via the network interface device 1220 utilizing any one of a number of well-known transfer protocols (e.g., HTTP). Examples of communication networks include a local area network (LAN), wide area network (WAN), the Internet, mobile telephone networks, Plain Old Telephone (POTS) networks, and wireless data networks (e.g., Wi-Fi, 3G, and 4G LTE/LTE-A or WiMAX networks). The term “transmission medium” shall be taken to include any intangible medium that is capable of storing, encoding, or carrying instructions for execution by the machine, and includes digital or analog communications signals or other intangible medium to facilitate communication of such software.
In this document, the terms “a” or “an” are used, as is common in patent documents, to include one or more than one, independent of any other instances or usages of “at least one” or “one or more.” In this document, the term “or” is used to refer to a nonexclusive or, such that “A or B” includes “A but not B,” “B but not A,” and “A and B,” unless otherwise indicated. In this document, the terms “including” and “in which” are used as the plain-English equivalents of the respective terms “comprising” and “wherein.” Also, in the following claims, the terms “including” and “comprising” are open-ended, that is, a system, device, article, composition, formulation, or process that includes elements in addition to those listed after such a term in a claim are still deemed to fall within the scope of that claim. Moreover, in this document, the terms “first,” “second,” and “third,” etc. are used merely as labels, and are not intended to impose numerical requirements on their objects.
As used herein, a “-” (dash) used when referring to a reference number means or, in the non-exclusive sense discussed in the previous paragraph, of all elements within the range indicated by the dash. For example, 103A-B means a nonexclusive or of the elements in the range {103A, 103B}, such that 103A-103B includes “103A but not 103B”, “103B but not 103A”, and “103A and 103B”.
From the foregoing, it will be observed that numerous variations and modifications may be effected without departing from the spirit and scope of the invention. It is to be understood that no limitation with respect to the specific apparatus illustrated herein is intended or should be inferred. It is, of course, intended to cover by the appended claims all such modifications as fall within the scope of the claims.
Although a few embodiments have been described in detail above, other modifications are possible. For example, the logic flows depicted in the figures do not require the particular order shown, or sequential order, to achieve desirable results. Other steps may be provided, or steps may be eliminated, from the described flows, and other components may be added to, or removed from, the described systems. Other embodiments may be within the scope of the following claims.