The present invention relates to a portable electronic device including an integrated temperature sensor and a method for measuring the temperature using such a device.
It is known for example from the co-owned published United States patent application no. 2011/0307208 A1 that sensors respond to a sudden change with a change determined not only by the change itself but also by their own response function. This is especially problematic for sensors integrated into a portable electronic device. Depending on the actions and displacement of a user, e.g. the stepping into or outside a climate-controlled house, a temperature sensor integrated for example into a mobile communication device can be exposed to an almost instantaneous step change in the ambient temperature, to which the output of the sensor reacts typically with a delay.
In applications which are not time sensitive, it is possible to wait until the sensor is again in an equilibrium with the ambient conditions before an actual sensor reading is made and displayed to the user.
However in order to react faster to an attempted measurement request by a user, sensors can be dynamically compensated. As described for example in the '208 application, a dynamically compensated sensor provides a response which adapts faster to the actual ambient condition than the sensor output. In general terms, the dynamically compensated signal is the output of a model of the sensor which is designed to reduce the difference between the measured sensor output and the actual ambient condition.
It is of course the aim of a dynamic compensator to provide a model response which is as close as possible to the real response of the sensor. Therefore it is seen as an object of the invention to improve the dynamic compensation of a sensor, particularly a temperature sensor, in a portable electronic device.
In accordance with an aspect of the invention there is provided a portable electronic device with one or more integrated temperature sensors for measuring an ambient temperature, a dynamic compensator for reducing the difference between a temperature reading as based directly on a sensor output and the actual ambient temperature in response to a change in the ambient temperature based on a response function of the sensor, wherein the dynamic compensator changes depending on temperature changes between at least two dynamic compensation modes with different response functions.
In a preferred embodiment the at least two dynamic compensation modes based on different response functions reflect a change in the way the device with the integrated temperature sensor establishes an equilibrium with the ambient temperature in the presence of an internal heat source within the device. In a preferred variant of the invention the device includes a heat compensation system to compensate for the offset between the temperature as measured by the integrated temperature sensor and the ambient temperature. It is found that the compensation signal as generated by the heat compensation system can provide a condition for selecting between the different dynamic compensation modes.
In particular whether difference between the measured and the heat compensated signal grows or shrinks (by a predefined amount) can be used to select one of the at least two dynamic compensation modes. Alternatively, a change in the sign of the difference between the measured and the heat compensated signal can be used to select one of the at least two dynamic compensation modes.
The portable electronic device can be a mobile phone, a handheld computer, an electronic reader, a tablet computer, a game controller, a pointing device, a photo or a video camera, a digital music player, a wrist watch, a key fob, a head set, a digital photo frame and a computer peripheral.
Other advantageous embodiments are listed in the dependent claims as well as in the description below. The described embodiments similarly pertain to the device, the method, and any computer program elements. Synergetic effects may arise from different combinations of the embodiments although they might not be described in detail.
Further it shall be noted that all embodiments of the present invention concerning a method might be carried out in the order of the steps as described. Nevertheless this has not to be the only essential order of steps but all different orders of the method steps where technically feasible shall be comprised in the scope of the claims and be disclosed by the method claims.
The detailed description refers to examples of the present invention making reference to the annexed drawings, wherein:
The device of
Another opening 107 is located at the lower side wall. As shown in
A temperature sensor can also be mounted in a duct separate from the humidity sensor or flush with the housing of the phone.
Further control and read-out function can also be performed by the central processing unit (CPU) 25 of the portable device, which in turn has read/write access to a memory 26, which can include static or volatile memory or both as known in the art. The memory 26 typically stores the operating system of the device and can also be used to store application programs specific to the operation of the sensors of the portable device. The functions performed by the sensor hub and the sensor specific programs and program libraries as stored and executed by the CPU 25 form a temperature processing unit capable of transforming the measurements of the sensor into a result which can be displayed or otherwise communicated to the user of the portable device.
The components and executable code required to perform a dynamic compensation as described for example in the above cited '208 application can reside in the memory 26 and be executed by the CPU 25.
The memory 26 and the CPU 25 can also be used to store and run executable code for a heat compensator applied to the sensor signals to correct the temperature as directly measured to compensate for effects of the surrounding of the sensor inside the portable device or external to it.
Such a compensator includes typically a representation of a model which takes into account heat sources, heat capacities and heat conduction of elements inside the device, its housing and other factors. Based on this model and measurements relating to present status of the elements, the measured temperature value is corrected before being displayed.
In the present example the CPU 25 and the memory 26 further include and execute a system to determine whether a change in temperature represents an upward or a downward change of the ambient temperature and to select depending on the result of such a determination either an upward or a downward change model for use in the dynamic compensation. Functions of such a system are described in more detail below while making reference to
In addition to the specific sensors as described above, the CPU is also connected to one or more sensors, for example the camera 271 or the microphone 272 also shown as the camera 106 and the microphone 104 of
The device includes further well known input/output units 281 such as a touch sensitive display, virtual or physical keyboards and gesture tracking devices etc. The portable device as shown has a telecommunication circuit 282 comprising an antenna, driver circuits and encoding and decoding units as are well known in the art. Using such a telecommunication circuit, the device can connect to a public voice and data network and remote locations 29 as shown.
The diagrams of
As indicated in
The heat flows and the deviation from the ambient temperature Ta at the integrated temperature sensor can be measured using thermal sensors and or load sensors within the portable device. Using an input and a heat transfer model which models the heat flows and heat conductivities within the device and through its housing using for example coupling constants to characterize the heat flow between source Qi and the integrated temperature sensor k1, between the integrated temperature sensor and the environment k2, and between the heat source Qi and the environment k3, the heat compensation system can generate a correction of the steady state temperature Ts of the integrated temperature sensor so as to display a more correct approximation of the ambient temperature Ta.
The heat compensation system can be implemented for example by a dynamic thermal model which can be mathematically described by a differential equation system. The model may in one embodiment comprise one or more, and preferably the most relevant heat sources, and in another embodiment additionally one or more, and preferably the most relevant thermal conductivities, and in another embodiment additionally one or more, and preferably the most relevant heat capacities, as well as it comprises the temperature sensor, and it may comprise one or more optional temperature sensors that may be available in the mobile device.
The ambient temperature Ta may then be estimated from these inputs by using the following equations [1] as compensator:
x(k+1)=Ax(k)+Bu(k)
y(k)=Cx(k)+Du(k) [1]
with u(k) denoting the inputs Ts at time step k, y(k) denoting the output Ta, and x(k) denoting an internal state vector of the compensator. A is an n-by-n matrix, B an n-by-m matrix, C an 1-by-n matrix and D an 1-by-m matrix, where n is the number of states that depends on the complexity of the model and m the number of inputs. Typical inputs may be, for example, an intensity of a display, a time derivative of a battery charge level, a central processing unit load, or other power management information. Additional temperature sensors at hot spots of the portable electronic device may improve the compensation results.
Hence, in one embodiment, the portable electronic device is modelled as a thermal system with heat sources, and optionally with heat capacities and/or thermal conductivities. From this model, a time-discrete heat compensator according to the state space description of equations [1] is derived, that can easily be implemented on a microprocessor of the portable electronic device by using the following software code:
The compensated temperature Ta may be displayed on the display 21, however, in the present invention the difference between the measured temperature Ts as determined directly from the sensor reading and the estimated ambient temperature Ta are used as condition for the selection of two different dynamic compensation modes for the temperature sensor.
Dynamic compensation system as such are described for example in the cited '208 application, leading to system equations [2] identical in their mathematical structure to equation[1] above:
x(k+1)=Ax(k)+Bu(k)
y(k)=Cx(k)+Du(k) [2]
where the orders of the matrices A, B, C and D represent the order of the compensation filter and the nature of the matrix coefficient depend on the underlying model of the sensor response with their values being chosen to reflect closest the modelled system.
The exact values for a compensator built on a system of equations such as equations [2] is a matter of the model chosen and its complexity. After choosing a suitable model, the values can be determined by experiment placing for example a device in a defined temperature environment and implementing step changes of the temperature.
It is however found that the response of the sensor to a step change can be different when the temperature makes a significant step upwards as compared to a downward step of the same magnitude depending on the absolute value of the temperature and amount of heat generated through the internal sources. The heat transfer processes which determine such behaviour can be efficiently subsumed in two or more different response functions and hence in two or more sets of values for the matrix elements of A, B, C, and D, i.e.:
x(k+1)=A1x(k)+B1u(k)
y(k)=C1x(k)+D1u(k)
x(k+1)=A2x(k)+B2u(k)
y(k)=C2x(k)+D2u(k) [2.1]
A continuous time simulation of such a dynamic compensator is shown in
dx/dt=−1/3x+1/3u,
y=x
dx/dt=−1/4.2x+1/4.2u,
y=x [2.2]
with the corresponding Laplace-transformed compensator being
y(s)/u(s)=(3s+1)/(s+1)
y(s)/u(s)=(4.2s+1)/(s+1) [2.3]
where the second of each set of equations [2.1], [2.2], [2.3] represents the compensation mode 2 for an upward step in the ambient temperature Ta.
As shown in
The condition according to which the dynamic compensation switches between the modes designated by the index 1 and 2, respectively, can be chosen in different ways. In the presence of a heat compensation system as described above, the condition can be based on a function of the difference ΔT between the temperature signals as measured by the sensor and the compensated temperature signals. An example of such a function can be a threshold value of ΔT which when crossed changes the compensation mode. When the threshold value of ΔT is set to zero, the crossing of sensor temperature by the compensated value can trigger the change between the modes.
Instead of a threshold value a time gradient of ΔT can be used, thus monitoring the rate at which ΔT changes to derive a condition for the change between the modes.
It is also possible to have more than one mode for an upward step in temperature with a different set of values than mode 2, e.g. a mode 3, as represented in the equations above. In such a system, the selection between the different modes for an upward step can be made dependent on the absolute value of ΔT during the steady state conditions. In other words, the different modes represent scenarios in which the heat compensation varies and hence in which the internal heat sources play a bigger or lesser role in determining the steady state of the sensor compared to the ambient temperature. It is also possible to apply more than one mode for temperature changes to lower temperatures, wherein the selection of such modes can again be made dependent for example on the absolute value of the heat compensation.
In the absence of a heat compensation system or independent of such a system, other conditions can be used, such as the difference between the dynamically compensated temperature and the temperature as measured by the sensor or the absolute value of an (initial) gradient or any other measure of the steepness of the temperature change.
Block diagrams summarizing some elements of a system for dynamical compensating a temperature measurement in a portable device with internal heat sources are shown in
In the more specific variant of
While there are shown and described presently preferred embodiments of the invention, it is to be understood that the invention is not limited thereto but may be otherwise variously embodied and practised within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
13405050.9 | Apr 2013 | EP | regional |