The present disclosure pertains to temperature sensing and particularly to indirect determination of certain temperatures.
The disclosure reveals a mechanism for indicating an ambient temperature about an enclosure containing a device, from determined temperatures within the enclosure. The mechanism may further compensate for dynamically varying heat sources such as, for example, LCD backlighting for a thermostat. Other examples of dynamically varying heat sources may include RF, LED's, relays, batteries, and so on.
The present system may be one for determining ambient temperature having compensation for dynamic thermal sources. Measuring ambient temperatures may be a fundamental task in a thermostat. Many thermostats may require LCD displays as part of a user interface. These displays may require a backlight or other display lighting technology. The backlight may generate significant heat which can impair the thermostat's ability to sense room temperature accurately. Furthermore, if the backlight intensity is dynamic (i.e., adjustable by the user, having varying ambient light conditions, or being on a schedule), the heat contribution by the backlight may likewise be dynamic. There may be other heat generating elements in the thermostat; however, the dynamic backlight heat can make it difficult to infer the proper room or ambient temperature from temperature sensing alone. The approach may also be of concern relative various kinds of dynamic heat sources, such as other display lighting schemes such as LEDs.
Thermal compensation for internal self heating in the thermostat may be calculated via a continuous linear or non-linear equation. The equation may have multiple terms, one of which is the backlight level. The backlight level may be correlated to a predetermined constant contribution factor. The equation may provide an acceptable solution for static heat rise conditions. However, in a dynamic backlight condition, there may be a delay in temperature change due to a change in backlight. Since such temperature does not necessarily change instantaneously, the compensation mechanism should account for delay to prevent an instantaneous error in the temperature calculation upon backlight change.
To illustrate the issue, without backlight compensation, calculated ambient temperature may shift at different backlight level, as shown by a diagram in
The following graph of
Implementation in the device may be a multi-term equation. The term factors may be determined empirically or based on fundamentals of thermal dynamics. The equation may provide a solution for the static heat rise conditions. In addition, the heat rise step response due to backlight change may be described as a logarithmic relationship over time. Applying the relationship to the inferred backlight setting may remove instantaneous temperature calculation errors upon backlight condition changes.
Another application of the 3-D model may give an additional factor to a dynamic heat source of a known or measured magnitude. This may allow measurement of the system with a changing heat source. For example, if the new factor for dynamic heat source is E and the magnitude of that factor is w the equation will resemble Ax+By+Cz+D+Ew=0. Assuming the same relations to the previous 3-D equation one may calculate ambient with:
T
Ambient=(A*T1+B*T2+C*T3+Ew+D)/(A+B+C).
In another sense, the equation may be:
T
Ambient=(A*T1+B*T2+C*T3+E*(Final−(Final−Initial)*ê(−t/tau))+D)/(A+B+C);
“w” is the dynamic heat source level (time dependent);
“Final” may represent the new heat source level that has changed to in the example of
“Initial” may be the old heat source level that was present right before the change in the example of
“t” may be the time that lapsed since the change (this may be seconds, minutes, hours, or the like);
“tau” (τ) may be the time constant, which needs to be in the same units as “t”; and
A, B, C, D and E may be constants.
“w” may be regarded as (Final−(Final−Initial)*ê(−t/tau)).
The result is that the heat source may become an offset to the equation but because it is changing, the offset is dynamic.
If the dynamic heat source is not measured but switched to specific level, the heat contribution may be predicted as a function of time. For instance, immediately after changing the level of the dynamic heat source, its contribution may be very close to its previous state. As the time after a change increases, the contribution may change toward the steady state magnitude of the switched level.
In sum, accurate ambient temperature sensing is needed in a thermostat application. Sensing temperature using thermistors, semiconductor temperature sensors, thermocouples or any other form of temperature sensors from within an enclosure of electronics or equipment may result in a temperature different than the ambient air temperature surrounding the enclosure of the equipment or device. The term “ambient” used herein refers to the volume proximate to, external of and surrounding the enclosure. The difference between the ambient and the sensed temperature may vary and be affected by the amount of electrical energy needed to power the device, ventilation, how close or far the temperature sensors are from warm components of the device, air flow surrounding the enclosure and/or device, device materials and their thermal conductivities, and so forth. If the amount of heat generated inside the enclosure is low and constant, constant temperature compensation might be sufficient. But when the heat generated inside the case or enclosure is high and variable, computing the ambient temperature may become very challenging.
The system may be used for enabling the device or a processor to calculate the ambient temperature by sensing two or more different temperature points within the enclosure. An algorithm used to calculate the ambient temperature may be independent of power consumption of the device.
Two or more temperature sensors may be placed in different locations within the enclosure of the device. In theory, any two locations that have different temperatures in steady state under a given load should work. In practice, one temperature sensor “Thot” may be placed close to the heat generating components. The other temperature sensor “Tcool” may be placed in about the coldest location within the device. Under very stable ambient conditions, the temperatures may be sampled at different equipment or device power load conditions. The temperatures sampled may be used to generate equations in terms of power (by means of curve fitting). The equations may be regarded as approximations of two-dimensional and three-dimensional relationships which may be graphs, plots, representations, and/or the like.
The equations may include the following. Tcool=Tambient+f(x)>Tcool=determined cool temperature. x=power dissipated in the device. f(x)=heat rise with respect to power for the cool temperature sensor. Thot=Tambient f(X)>Thot=determined hot temperature. x=power dissipated in the device. f(x)=heat rise with respect to power for the hot temperature sensor. From the system of two equations, x and Tambient are unknowns. Once these equations are solved, Tambient=f(Tcool, Thot). And since Tcool and Thot are determined values, the ambient temperature may be calculated from them. f(x) may be approximated (i.e., fitted) to a linear function, but the function may also be non-linear for increased accuracy; however, in the latter case f(x) might be more complicated to implement.
The approach does not necessarily suggest sensing ambient temperature via one sensor, such as a thermistor, then sensing a warm temperature via another sensor and calculating an error to compensate for the sensed ambient temperature. The ambient temperature may be calculated from two different temperatures within an enclosure of a device or equipment, and therefore ambient temperature becomes a function of both temperatures or a function of additional temperatures if more than two sensors are used, where the additional temperatures and the initial two temperatures are averaged together into two or three temperatures within the enclosure.
The approach does not require special algorithms for special cases; it may work well even if there is no heat generated within the device. The sought temperature is not necessarily time dependent; the ambient temperature may be a function of the different temperatures and be calculated virtually instantaneously.
The system may use a two-dimensional (2-D) model with two or more temperature sensors in two groups of the sensors in an enclosure of some equipment, or a three-dimensional (3-D) model with three or more temperature sensors in three groups of sensors in the enclosure to determine the ambient temperature. Each group may provide an average temperature of the sensors in the group. The 3-D model may also be used to readily detect air flow. The equipment may be a piece of electronics that generates heat because of the usage of power within the enclosure where the sensors are placed. The equipment may be inactivated and the sensors detecting temperatures inside the enclosure of the equipment may themselves indicate the ambient temperature. Equations for determining ambient temperature from internal enclosure sensors may have a form of the following equation,
T
a=(T1−aT2−b)/(1−a),
where Ta is ambient temperature, T1 represents a hotter temperature and T2 represents a colder temperature in the enclosure 14 containing equipment 27. Sensors 12 and 13 for T1 and T2, respectively, may be situated in two different places of the enclosure 14, as shown in
y=ax+b.
From the graph, the constant “a” may be the slope and the constant “b” may be the offset of the line 11 from the zero coordinates. The “constant” nomenclature “a”, “b”, and so on, may be lower or upper case. The graph may show T1 versus T2 for various ambient temperatures. There may instead be two or more sensors situated in a vicinity representing T1, and two or more sensors situated in another vicinity representing T2, rather than single sensors representing T1 and T2, respectively. An output average of the two or more sensors may be taken for T1 and an average of the other two or more sensors may be taken for T2. An additional third sensor or group of sensors may be used for averaging with one or more sensors or for T3 and for determining air flow direction and/or magnitude. For illustrative purposes, just two sensors 12 and 13 may be used in the enclosure 14. When the equipment or device 27 in the enclosure 14 is energized, one may have T1>T2>Ta. T1 may be regarded as the Thot and T2 may be regarded as Tcold. Using the equation,
T
a=(T1−aT2−b)/(1−a),
with values provided for the constants, the ambient temperature Ta may be determined. Values of the constants may be determined with data from empirical tests, simulations or calculations under conditions that the enclosure 14 is likely to be subject. Data may be taken from the temperature sensors and plotted in graphs 15 and 16 in
The two-dimensional approach just noted herein may be extended to a three-dimensional approach with a third sensor 18 situated in the enclosure 14, as illustratively shown in
The 3-D approach may result in an equation which accommodates various air flows. The resultant plot of the data may result in a 3-D surface. The simplest form of this surface is a plane of a 3-axis coordinate system. The basic equation form may be
ax+by+cz+d=0.
For improved accuracy, a more complicated non-linear 3-D surface equation may be generated from the data. Three temperature readings for T1 sensor 12, T2 sensor 13 and T3 sensor 18 may be taken for each power level at various air flows or vice versa. The ambient temperature should be constant during the data taking.
For an illustrative example of data taking and determining the values of the constants for the three equations of the three-dimensional approach, one may note tables of
Since the ambient temperature (Ta) may be regarded as at 70 degrees F., during data determination or a taking of the empirical measurements, the data may be adjusted for Ta, resulting in data points for plotting on the 3-coordinate graph 24, as illustrated in
ax+by+cz+d=0,
to obtain values for the respective constants for the ultimate equation for obtaining Ta from T1, T2 and T3 at various air flows and power levels of the enclosure 14 and equipment 27.
For an illustrative example, with respect to the 2-D model, the following temperatures were logged at 70 degrees F. ambient condition. These are at 3 different load conditions. The cool temperatures are 73.95439, 74.14308 and 74.80374 degrees F. The warm temperatures are 81.49281, 82.11406 and 84.3687. From these temperatures, one may subtract temperatures from the ambient temperature and graph. The results from the cool temperatures are 3.95439, 4.14308 and 4.80374. The results from the warm temperatures are 11.49281, 12.11406 and 14.3687. The results for both sets of temperatures may be plotted as coordinate points 33 a graph 31 of
T
warm
−T
ambient
=A*(Tcool−Tambient)B,
where A=2.9468 and B=0. One may look to the plot 33 and linear curve 32 fitting in graph 31 of
One may have Tambient=Twarm−A*T−cool B)/(1−A).
After applying this equation to the original temperature, the calculated ambient temperatures are 70.08218, 70.04868 and 69.89057, respectively. As may be seen, the temperatures appear accurate. And since the above items have been the extreme load conditions, different loads in between would generate temperatures that fall on the same curve and therefore the ambient temperature can be recovered. When the same device is exposed to different ambient temperatures, the temperature rise on the sensors is constant and the ambient temperature may be recovered. With an example at ambient temperature=80 degrees, one may get cool temperatures of 84.03199, 83.59956 and 84.8985, and hot temperatures of 92.10085, 91.00635 and 94.71613. The calculated temperatures may be 79.88731, 79.79496 and 79.85554, respectively.
With respect to a 3-D model, three given different temperature sensors will generate a 3-D surface equation, in the case of a linear approach, this would be a plane. For example, Ax+By+Cz+D=0. Assuming that the plane crosses at (0,0,0), which means if no heat is generated within the device, then the temperature sensed by the sensors=ambient.
Ax+By+Cz=0, x,y,z are T1−Tambient,T2−Tambient, and T3−Tambient,respectively.
T
Ambient=(A*T1+B*T2+C*T3)/(A+B+C),
where A, B and C are plane constants, and may be calculated algebraically or by the use of curve/surface fit software In some cases, temperatures inside an enclosure might be affected by external environmental changes and a 2-D solution might not be sufficient to recover ambient temperature accurately. For instance, airflow direction or speed may cause some variation and constantly generate temperatures that do not fall on a 2-D dimensional curve. With a third sensor, temperature variations may be modeled with a surface of 3-D equation. A graph 41 in
Determinations, measurements, plotting, graphs, curve-, line- and plane-fitting, calculations, approximations, relationships, representations, managing equations and getting solutions, obtaining values for constants and temperatures such as ambient, doing flow and power level determinations or measurements, and other items for effecting the present system, and so forth, may be effected electronically with a processor or the like, along with appropriate software as desired or needed.
To recap, a thermostat that functions to provide control signals to temperature control equipment to maintain a desired temperature in a space, may incorporate a housing, one or more heat generating elements in the housing, where during operation of the thermostat, the one or more heat generating elements cause a first region within the housing to be warmer than a second region within the housing. There may be a first temperature sensor for reporting a measure that is related to the temperature in the first region, a second temperature sensor for reporting a measure that is related to the temperature in the second region, and a controller in communication with the first temperature sensor and the second temperature sensor. The controller may determine a measure related to an ambient temperature outside of the housing based, at least in part, on the measure that is related to the temperature in the first region reported by the first temperature sensor and the measure that is related to the temperature in the second region reported by the second temperature sensor.
The thermostat may use the measure related to the ambient temperature outside of the housing to determine one or more control signals for controlling temperature control equipment. The thermostat is powered, at least in part, by electrical energy. The one or more heat generating components may generate heat by consuming the electrical energy. A level of electrical energy needed to power the thermostat, such as one or more heat generating elements, may change over time. The first temperature sensor and/or the second temperature sensor may report a measure that is related to the temperature in the first region or the second region, respectively, which changes over time in a rapid or slow manner, correspondingly, at least in part, to the changes of energy over time needed to power the thermostat incorporating the heat generating elements. The changes over time in a rapid manner may be compensated so as to avoid affecting determination of ambient temperature changes over time in a slow manner of the first temperature sensor and/or the second temperature sensor which reports a measure that is related to the temperature in the first region or the second region, respectively.
The one or more heat generating elements may incorporate a display backlight which is at certain times turned on resulting in one or more changes in a rapid manner. A change over time in a rapid manner may be a rise of a measure of the first sensor or the second sensor of greater than a predetermined rate of X degrees F. per second. A heat generating element may be some other device with a rapid manner change.
The controller may compensates for the temperature in the first region or the second region, respectively, which changes over time in a rapid or slow manner, correspondingly, at least in part, to changes of energy needed over time to power one or more heat generating components, to result in the controller determining the measure related to an ambient temperature outside of the housing, at least in part, on the measure that is related to the temperature in the first region reported by the first temperature sensor and the measure that is related to the temperature in the second region reported by the second temperature sensor.
The measure related to the ambient temperature determined by the controller may be relatively independent of the level of the electrical energy needed to power the thermostat. The controller may determine the measure related to the ambient temperature outside of the housing based, at least in part, on a predetermined relationship between the measure related to the ambient temperature outside of the housing, the measure related to the temperature in the first region reported by the first temperature sensor and the measure related to the temperature in the second region reported by the second temperature sensor.
The thermostat may be powered by a level of electrical energy that changes over time, and where the measure related to the ambient temperature is relatively independent of the level of electrical energy powering the thermostat.
A change over time in a rapid manner may be a rise of a measure of the first sensor or the second sensor of greater than a predetermined rate of X degrees F. per second.
The thermostat may further incorporate a third temperature sensor for reporting a measure that is related to the temperature in a third region within the housing. The controller may determine a measure related to an air flow direction and/or air flow magnitude about the housing that is based, at least in part, on the measure related to the temperature in the third region reported by the third temperature sensor. The controller may use the measure related to the air flow direction and/or air flow magnitude about the housing when determining the measure related to the ambient temperature outside of the housing.
The thermostat may further incorporate a third temperature sensor for reporting a measure that is related to the temperature in a third region within the housing. The measure related to an ambient temperature outside of the housing based, at least in part, on the measure that is related to the temperature in the first region reported by the first temperature sensor, the measure that is related to the temperature in the second region reported by the second temperature sensor, and the measure that is related to the temperature in the third region reported by the third temperature sensor, may be according to
TAmbient=(A*T1+B*T2+C*T3+E*(Final−(Final−Initial)*ê(−t/tau))+D)/(A+B+C), where T1 is the measure reported by the first temperature sensor, T2 is the measure reported by the second temperature sensor, T3 is the measure reported by the third temperature sensor, E is a dynamic heat source factor, Final is a new heat source level, Initial is an old heat source level before a change, t is time that lapsed since a change, tau is a time constant, and A, B, C, D and E are constants. A dynamic heat source may be a heat generating component that is powered by changes of energy over time which results, at least in part, the temperature in the first, second and/or third region, changing over time in a rapid manner. The rapid manner may be greater than a predetermined rate of X degrees F. per second.
An approach for determining an ambient temperature outside an enclosure, may incorporate detecting a first temperature over a period of time at a first location in an enclosure, detecting a second temperature over the period of time at a second location in the enclosure, determining a first change of the first temperature over the period of time, from the first temperature over the period of time, detecting a second change of the second temperature over the period of time, from the second temperature over the period of time, selecting from the first change of the first temperature and the second change of the second temperature, a greatest change of temperature, over the period of time, and determining whether the greatest change of temperature is dynamic. A change of temperature may be dynamic when the change exceeds a predetermined rate of X degrees F. per second.
A relationship may generate an ambient temperature outside of the enclosure relative to the first temperature, the second temperature, the first change of temperature and the second change of temperature. The ambient temperature may be determined from the relationship. The relationship may incorporate compensation for the dynamic change of temperature. Sensors and a controller may be used to detect the temperatures, the changes of temperatures, select the greatest change of temperature, generate the relationship having the compensation and determine the ambient temperature from the relationship.
The relationship may be
TA=(A*T1+B*T2+E*(Final−(Final−Initial)*ê(−t/tau))+D)/(A+B), where TA is ambient temperature, T1 is the first temperature over the period of time, T2 is the second temperature over the period of time, E is a dynamic heat source factor, w is a dynamic heat source level, Final is a new heat source level,
Initial is an old heat source level before a change, t is time that lapsed since the change, tau is a time constant, and A, B, D and E are constants.
The approach may further incorporate detecting a third temperature over a period of time, determining a third change of the third temperature over the period of time, and identifying the change or changes of temperature that are dynamic. The relationship may be
TA=(A*T1+B*T2+C*T3+E*(Final−(Final−Initial)*ê(−t/tau))+D)/(A+B+C), where TA is ambient temperature, T1 is the first temperature over the period of time, T2 is the second temperature over the period of time, T3 is the third temperature over the period of time, E is a dynamic heat source factor, Final is a new heat source level, Initial is an old heat source level before a change, t is time that lapsed since the change, tau is a time constant, and A, B, C, D and E are constants.
Values of the constants may be determined with data of empirical tests, simulations and/or calculations under conditions of the enclosure. Data may incorporate first, second and third temperatures over a period of time.
The enclosure may incorporate a backlight. Turning on the backlight may cause at least one of the first, second and third changes of temperature to be dynamic.
The controller may incorporate a thermostat connected to the sensors. The controller may determine one or more control signals for controlling temperature control equipment based, at least in part, on the ambient temperature.
A system for determining ambient temperature may incorporate an enclosure, a first temperature sensor situated at a first location in the enclosure, a second temperature sensor situated at a second location in the enclosure which is spaced from the first location, a controller receiving a first temperature from the first temperature sensor and a second temperature from the second temperature sensor, and a dynamic heat generating component situated in the enclosure. The dynamic heat generating component, when turned on, may cause, at least in part, the first temperature and/or the second temperature to change greater than a predetermined rate of X degrees F. per second. The controller may determine a measure related to an ambient temperature outside of the enclosure based, at least in part, on the first temperature and the second temperature, and on a greater than predetermined rate of X degrees F. per second of temperature change of the first temperature and/or the second temperature.
The measure may be from an algorithm which determines the ambient temperature from the first temperature and the second temperature, and compensates for a temperature change of the first temperature and/or the second temperature greater than the predetermined rate of X degrees F. per second.
The measure may be from an algorithm incorporating an equation, TA=(AT1+BT2+Ew+D)/(A+B), where TA is ambient temperature, T1 is the first temperature, T2 is the second temperature, E is a dynamic heat source factor, w is a dynamic heat source level, and A, B, D and E are constants.
The dynamic heat generating component may be a backlight in the enclosure which is turned on to view a display. Another item may be such a component in the enclosure.
The system may further incorporate a third temperature sensor situated at a third location in the enclosure, which is spaced from the first location and the second location. The controller may also receive a third temperature from the third temperature sensor. The dynamic heat generating component may cause at least in part the first temperature, the second temperature and/or the third temperature to change greater than the predetermined rate of X degrees F. per second. The controller may determine a measure related to an ambient temperature outside of the enclosure based, at least in part, on the first temperature, the second temperature and the third temperature on a greater than predetermined rate of X degrees F. per second of temperature change of the first temperature, the second temperature and/or the third temperature.
The measure may be from an algorithm incorporating an equation, TA=(AT1+BT2+CT3+Ew+D)/(A+B+C), where TA is ambient temperature, T1 is the first temperature, T2 is the second temperature, T3 is the third temperature, E is a dynamic heat source factor, w is a dynamic heat source level, and A, B, C, D and E are constants.
In the present specification, some of the matter may be of a hypothetical or prophetic nature although stated in another manner or tense.
Although the present system and/or approach has been described with respect to at least one illustrative example, many variations and modifications will become apparent to those skilled in the art upon reading the specification. It is therefore the intention that the appended claims be interpreted as broadly as possible in view of the related art to include all such variations and modifications.
The present application is a continuation of U.S. patent application Ser. No. 13/447,138, filed Apr. 13, 2012, which in turn is a continuation-in-part of U.S. patent application Ser. No. 11/950,394, filed Dec. 4, 2007, and entitled “System for Determining Ambient Temperature”. U.S. patent application Ser. No. 13/447,138, filed Apr. 13, 2012, is hereby incorporated by reference. U.S. patent application Ser. No. 11/950,394, filed Dec. 4, 2007, is hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 13447138 | Apr 2012 | US |
Child | 15150116 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11950394 | Dec 2007 | US |
Child | 13447138 | US |