Portable computing devices (“PCDs”) are becoming necessities for people on personal and professional levels. These devices may include cellular telephones, portable digital assistants (“PDAs”), portable game consoles, palmtop computers, and other portable electronic devices.
One unique aspect of PCDs is that they typically do not have active cooling devices, like fans, which are often found in larger computing devices such as laptop and desktop computers. Instead of using fans, PCDs may rely on the spatial arrangement of electronic packaging so that two or more active and heat producing components are not positioned proximally to one another. Many PCDs may also rely on passive cooling devices, such as heat sinks, to manage thermal energy among the electronic components which collectively form a respective PCD.
The reality is that PCDs are typically limited in size and, therefore, room for components within a PCD often comes at a premium. As such, there usually isn't enough space within a PCD for engineers and designers to mitigate thermal degradation or failure of processing components by using clever spatial arrangements or strategic placement of passive cooling components. Therefore, current systems and methods rely on various temperature sensors embedded on the PCD chip to monitor the dissipation of thermal energy and then use the measurements to trigger application of thermal management techniques that adjust workload allocations, processing speeds, etc. to reduce thermal energy generation.
Notably, the temperature measurements taken near thermal energy generating components within a PCD are just one potentially relevant input for a given thermal management technique. Another relevant input for some thermal management techniques, for example, is the measurement of the ambient temperature of the environment outside the PCD. For instance, if the environmental ambient temperature can be accurately measured or estimated (i.e., the temperature to which the entire PCD is exposed), certain temperature thresholds monitored within a PCD may be adjusted such that applied thermal management techniques serve to optimize PCD performance and provide a high quality of service (“QoS”) level to a user.
Therefore, what is needed in the art is a system and method for estimating the environmental ambient temperature to which a PCD is exposed by using temperature measurements taken from temperature sensors within the PCD. Further, there is also a need in the art for a system and method for using an estimated environmental ambient temperature to which a PCD is exposed as an input for a thermal management algorithm.
Various embodiments of methods and systems for estimating environmental ambient temperature of a portable computing device (“PCD”) from temperature measurements taken within the PCD are disclosed. In an exemplary embodiment, parameters associated with various components or subsystems in the PCD and indicative of processing activity are monitored. Based on the monitoring of those parameters, an idle state qualifier scenario or event may be recognized, i.e. it may be recognized that the various components or subsystems are consuming little or no power and, thus, producing little or no thermal energy. Recognition of the idle state qualifier determines that the PCD is in an idle state.
When the PCD is determined to be in an idle state, certain embodiments may wait for a period of time to allow previously generated thermal energy to dissipate such that the deltas of temperatures within the PCD are constant relative to the ambient temperature of the environment to which the PCD is exposed. Even so, not all embodiments of the systems and methods include such a “cool down” period after recognition of an idle state qualifier.
Next, temperature measurements taken from temperature sensors within the PCD are received. Notably, because the PCD is in an idle state at the time of taking the temperature measurements (thus not actively producing relatively significant amounts of thermal energy), the temperature measurements may be constant relative to the environmental ambient temperature of the PCD. Consequently, the temperature measurements, minus some predetermined offset, may be used to estimate the environmental ambient temperature.
Certain embodiments may simply render the estimated ambient temperature for the benefit of the user or use the estimated ambient temperature as an input to a program or application running on the PCD. It is envisioned that certain embodiments of the systems and methods may use the estimated ambient temperature to adjust temperature thresholds in the PCD against which thermal management policies govern thermally aggressive processing components.
For instance, based on an estimated ambient temperature that is relatively cooler than a previous estimation, certain embodiments may increase the thermal threshold associated with the skin temperature of the PCD. Similarly, other embodiments may recognize the increased efficiency for thermal energy dissipation into the cooler ambient environment and allow thermally aggressive components within the PCD to run at relatively higher processing speeds. Because the PCD is determined to be exposed to a cooler ambient environment, dissipation of excess thermal energy may be more efficient to such an extent that an increase in the skin temperature of the PCD will not significantly affect the user experience. Advantageously, therefore, by recognizing the cooler ambient environment and adjusting the skin temperature threshold or allowable processing speeds upwards, embodiments of the systems and methods may provide additional processing headroom for thermally aggressive processing components.
In the drawings, like reference numerals refer to like parts throughout the various views unless otherwise indicated. For reference numerals with letter character designations such as “102A” or “102B”, the letter character designations may differentiate two like parts or elements present in the same figure. Letter character designations for reference numerals may be omitted when it is intended that a reference numeral to encompass all parts having the same reference numeral in all figures.
The word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any aspect described herein as “exemplary” is not necessarily to be construed as exclusive, preferred or advantageous over other aspects.
In this description, the term “application” may also include files having executable content, such as: object code, scripts, byte code, markup language files, and patches. In addition, an “application” referred to herein, may also include files that are not executable in nature, such as documents that may need to be opened or other data files that need to be accessed.
As used in this description, the terms “component,” “database,” “module,” “system” and the like are intended to refer to a computer-related entity, either hardware, firmware, a combination of hardware and software, software, or software in execution and represent exemplary means for providing the functionality and performing the certain steps in the processes or process flows described in this specification. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and the computing device may be a component. One or more components may reside within a process and/or thread of execution, and a component may be localized on one computer and/or distributed between two or more computers. In addition, these components may execute from various computer readable media having various data structures stored thereon. The components may communicate by way of local and/or remote processes such as in accordance with a signal having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, and/or across a network such as the Internet with other systems by way of the signal).
In this description, the terms “central processing unit (“CPU”),” “digital signal processor (“DSP”),” “graphical processing unit (“GPU”),” and “chip” are used interchangeably. Moreover, a CPU, DSP, GPU or a chip may be comprised of one or more distinct processing components generally referred to herein as “core(s).”
In this description, it will be understood that the terms “thermal” and “thermal energy” may be used in association with a device or component capable of generating or dissipating energy that can be measured in units of “temperature.” Consequently, it will further be understood that the term “temperature,” with reference to some standard value, envisions any measurement that may be indicative of the relative warmth, or absence of heat, of a “thermal energy” generating device or component. For example, the “temperature” of two components is the same when the two components are in “thermal” equilibrium.
It will also be understood that the term “ambient temperature,” with reference to some standard value, is used in this description to refer to the measurement of the relative warmth, or absence of heat, of the environment to which a PCD is exposed. For example, the “ambient temperature” of a PCD when the PCD is sitting on a desk in a user's air conditioned office may be around sixty eight degrees Fahrenheit (68° F.) whereas the “ambient temperature” of the same PCD may become around ninety degrees Fahrenheit (90° F.) when the user picks up the PCD and takes it outdoors of his office building in the month of August. As such, one of ordinary skill in the art will understand that the “ambient temperature” of a PCD is not affected by the PCD itself but may change with the physical location of the PCD.
In this description, the terms “skin temperature” and “outer shell temperature” and the like are used interchangeably to refer to a temperature associated with the outer shell or cover aspect of a PCD. As one of ordinary skill in the art would understand, the skin temperature of a PCD may be associated with a sensory experience of the user when the user is in physical contact with the PCD.
In this description, the terms “workload,” “process load” and “process workload” are used interchangeably and generally directed toward the processing burden, or percentage of processing burden, associated with a given processing component in a given embodiment. Further to that which is defined above, a “processing component” or “thermal energy generating component” or “thermal aggressor” may be, but is not limited to, a central processing unit, a graphical processing unit, a core, a main core, a sub-core, a processing area, a hardware engine, etc. or any component residing within, or external to, an integrated circuit within a portable computing device.
In this description, the terms “thermal mitigation technique(s),” “thermal policies,” “thermal management,” “thermal mitigation measure(s) and the like are used interchangeably. Notably, one of ordinary skill in the art will recognize that, depending on the particular context of use, any of the terms listed in this paragraph may serve to describe hardware and/or software operable to increase performance at the expense of thermal energy generation, decrease thermal energy generation at the expense of performance, or alternate between such goals.
In this description, the term “portable computing device” (“PCD”) is used to describe any device operating on a limited capacity power supply, such as a battery. Although battery operated PCDs have been in use for decades, technological advances in rechargeable batteries coupled with the advent of third generation (“3G”) and fourth generation (“4G”) wireless technology have enabled numerous PCDs with multiple capabilities. Therefore, a PCD may be a cellular telephone, a satellite telephone, a pager, a PDA, a smartphone, a navigation device, a smartbook or reader, a media player, a combination of the aforementioned devices, a laptop computer with a wireless connection, among others.
In portable computing devices, the tight spatial arrangement of thermally aggressive components lends to excessive amounts of heat being produced when those components are asked to process workloads at high performance levels. In many cases, the temperature threshold of the outer surface of the PCD, i.e. the “skin temperature,” is the limiting factor in just how much thermal energy the components within the PCD are allowed to produce. Notably, the skin temperature threshold is often dictated by the maximum temperature to which a user may be exposed and not the maximum temperature to which the components themselves may be exposed. That is, the user experience as measured by the skin temperature of the PCD is often the factor from which a thermal mitigation algorithm determines that the processing performance of components within the PCD must be dialed back.
Interestingly enough, the skin temperature threshold in a PCD is often preset and fixed, even though the user experience when exposed to a certain skin temperature varies depending on the ambient temperature of the environment. For instance, a PCD with a 55° C. skin temperature may adversely impact the user experience when the user is in a climate controlled office but wouldn't be noticed by the same user when the user is standing outdoors in a snow flurry. That is, one of ordinary skill in the art will recognize that thermal energy generated by thermally aggressive processing components in a PCD may be dissipated more efficiently when the PCD is exposed to a relatively cooler ambient environment and, as such, the processing components within the PCD may be run at processing higher frequencies in some scenarios where it is recognized that the PCD is exposed to cooler ambient temperatures. For this reason, in exemplary embodiments of the systems and methods disclosed herein the skin temperature threshold of a PCD may be a dynamic input, correlated to an estimated ambient temperature, to a thermal mitigation algorithm that uses the input to drive the application of one or more thermal mitigation techniques.
As stated above, embodiments of the systems and methods may raise or lower the preset skin temperature threshold of the PCD based on ambient temperature estimations. As the skin temperature threshold is adjusted, the performance levels of the processing components within the PCD may be adjusted to optimize QoS. Exemplary embodiments estimate the ambient temperature of the environment in which the PCD resides by monitoring temperature sensors associated with thermal energy generating subsystems in the PCD.
Notably, thermally aggressive components and subsystems in a PCD generate thermal energy when actively processing workloads. As such, embodiments coordinate the timing of temperature measurements from sensors within the PCD with inactive periods or the recognition of idle state qualifiers of the thermally aggressive components with which the sensors are associated. During these idle periods, when the thermally aggressive components are not processing significant workloads (if any), thermal energy is not being produced by the components and, therefore, the temperature measurements may be correlated with the environmental ambient temperature of the PCD.
Exemplary idle state qualifiers that may be recognized by certain embodiments include, but are not limited to, an inactive video display, absence of an active battery charging cycle, current levels on a power rail, CPU frequencies, etc.—essentially, an idle state qualifier may be any indication that a given thermally aggressive component or thermally aggressive activity in the PCD is not actively generating thermal energy. Once an idle state qualifier, or combination of idle state qualifiers, is recognized, certain embodiments may postpone a temperature measurement for a “cool down” period. It is envisioned that the duration of a cool down period may be preset in certain exemplary embodiments, however, it is also envisioned that cool down periods may be variable in duration and based on a trend of temperature measurements that indicate that the thermal energy level in the area around a given temperature sensor has stabilized.
To recognize an idle state, it is envisioned that certain embodiments will monitor and compare the activity levels of components or subsystems within the PCD which are unrelated in functionality. In this way, an accurate identification of an overall idle state of the PCD may be attained. If all systems monitored are “off” then exemplary embodiments may determine that the PCD is in an idle state. As a non-limiting example, an exemplary embodiment may monitor the graphics processing unit (“GPU”), the power management integrated circuit (“PMIC”) and the radio frequency (“RF”) transceiver. Because few use case scenarios of the PCD would dictate that the GPU, PMIC and RF transceiver be active at the same time, recognition that each of the systems is “off” may be a valid idle state qualifier.
Once an idle state qualifier is recognized and the wait period has lapsed, a temperature measurement may be taken from a temperature sensor associated with the idle thermal aggressor. Notably, it is envisioned that the temperature sensor may be any temperature sensor within the PCD including, but not limited to, a sensor associated with a processing core, a sensor associated with a memory component, a sensor associated with the skin (i.e., outer shell) aspect of the PCD, etc. As one of ordinary skill in the art will recognize, because the temperature measurement is taken at the conclusion of a cool down period after recognition of an idle state qualifier, the temperature measurement, minus some adjustment, may be an accurate estimation of environmental ambient temperature.
It is envisioned that the amount of predetermined adjustment to a temperature measurement taken at the end of a cool down period will depend on the particular sensor from which the measurement was taken and the amount of time waited before taking the measurement. For instance, in a given embodiment, an exemplary die temperature sensor measurement may be adjusted by about 7 or about 8 degrees Fahrenheit after a cool down period of a few seconds, but a measurement from the same temperature sensor adjusted only about 3 to about 4 degrees Fahrenheit after a longer wait period has elapsed. Similarly, a temperature sensor in the PCD positioned to measure the temperature near the outer shell of the PCD (i.e., the “skin temperature” of the PCD) may only be adjusted about 1 or about 2 degrees Fahrenheit after a few seconds of cool down, but not adjusted at all after the lapse of a longer wait period.
Once estimated, embodiments of the systems and methods may use the estimated ambient temperature to adjust the acceptable threshold for a skin temperature input to a thermal mitigation algorithm. It is envisioned, however, that other embodiments may use the estimated ambient temperature for other purposes such as, but not limited to, display for the benefit of the user, an input to an application such as a weather application, etc. Additionally, although exemplary embodiments are described herein relative to using the estimated ambient temperature as an input to adjust a skin temperature threshold, it is envisioned that certain embodiments may leverage the estimated ambient temperature to adjust other temperature related thresholds within the PCD including, but not limited to, temperature thresholds associated with various processing components.
For embodiments that adjust the acceptable skin temperature threshold based on the estimated ambient temperature of the PCD, the adjustment of the skin temperature threshold may be driven by user perception, as opposed to concern for the actual temperature of the outer shell aspect of the PCD. As described above, exposure to a change in environmental ambient temperature directly impacts the efficiency of the PCD to dissipate excess thermal energy and, as such, one of ordinary skill in the art would recognize that exposure to a lower ambient temperature would facilitate more efficient dissipation of thermal energy from the PCD. Recognizing this reality, embodiments may take advantage of a lowered estimation of environmental ambient temperature and allow short bursts of processing load, for example, that would otherwise be denied to avoid the generation of excess thermal energy that may adversely affect user experience due to an increase in skin temperature.
For other embodiments that adjust the acceptable skin temperature threshold based on the estimated ambient temperature of the PCD, the adjustment of skin temperature threshold may be driven by a goal of optimizing the allowable skin temperature threshold in view of original equipment manufacturer (“OEM”) specification limits. For example, an OEM specification limit for a PCD skin temperature may be the lesser of 55° C. and 20° C. above ambient. In such a scenario, when the estimated ambient temperature increases from 25° C. to 35° C., for example, the maximum allowed skin temperature threshold would be 55° C., as opposed to 45° C. Recognizing this, certain embodiments may leverage the specification limit change in view of the estimated ambient temperature to take advantage of the extra thermal headroom.
As one of ordinary skill in the art would recognize, an adjustment of a temperature threshold based on an estimated ambient temperature, such as an adjustment of the skin temperature threshold, may cause a thermal management algorithm to leverage means for throttling a core up or down to an optimum performance level. As more specifically described below, throttling strategies are various methods, applications and/or algorithms that may be employed by the PCD to increase its performance through adjustment of hardware and/or software parameters, such as the clock speed of a central processing unit (“CPU”) or the like. Certain throttling strategies may increase performance of a PCD at the expense of increased thermal energy generation; however, certain other throttling strategies may mitigate a detrimental rise in operating temperature by reducing PCD performance. An exemplary throttling method that may be used by embodiments of the systems and methods is a dynamic voltage and frequency scaling (“DVFS”) method, described in more detail relative to
In general, the exemplary system employs three main modules which, in some embodiments, may be contained in two modules or a single module: (1) a monitor module 114 for recognizing an idle state qualifier, monitoring temperature measurements from sensors 157 and estimating environmental ambient temperature; (2) a thermal policy management (“TPM”) module 101 for receiving the ambient temperature estimation from the monitor module 114 (notably, monitor module 114 and TPM module 101 may be one and the same in some embodiments), adjusting temperature thresholds based on the ambient temperature estimation and directing thermal mitigation techniques; and (3) a DVFS module 26 for implementing throttling strategies on individual processing components according to instructions received from TPM module 101. Advantageously, embodiments of the system and method that include the three main modules utilize temperature data to estimate the ambient temperature of the environment to which the PCD 100 is exposed and then optimize the performance level authorized for components 110 within the PCD 100 by adjusting temperature thresholds that are affected by the ambient temperature exposure.
In the exemplary arrangement of
In the exemplary
Based on the monitoring of the various parameters associated with one or more of the components 188, 112A, 24, the monitor module 114 may determine that the PCD 100 is in an idle state and, as such, is not generating significant amounts of thermal energy. In certain embodiments, the monitor module 114 may wait for certain duration of time to allow for the dissipation of any remaining thermal energy generated within the PCD 100 prior to its entering an idle state, i.e. a cool down period, before receiving temperature measurements from one or more temperature sensors 157 associated with the components. Advantageously, by taking the temperature measurements from the various sensors 157 after a cool down period has elapsed, the monitor module may be able to estimate the ambient temperature of the environment to which the PCD 100 is exposed. As described above, it is envisioned that some embodiments may determine the estimated ambient temperature by adjusting the temperature readings to accommodate any residual thermal energy in the PCD 100 that may represent a delta between a given temperature reading and the actual ambient temperature.
The estimated ambient temperature may be provided to the TPM module 101 which queries a temperature threshold lookup table (“LUT”) 25 to determine optimum temperature threshold settings based on the estimated ambient temperature. For instance, as one of ordinary skill in the art would understand, if the estimated ambient temperature is significantly cooler than a previous estimation, the TPM module 101 may query the LUT 25 and determine that a temperature threshold associated with the outer shell aspect 24 may be raised because the cooler ambient environment would be conducive to efficient thermal energy dissipation through outer shell aspect 24. That is, the touch temperature threshold of the outer shell aspect 24 may be raised because the ambient environment is cool enough to overcome any additional thermal energy that may be generated by processing components without detrimentally impacting QoS.
Advantageously, by raising the temperature threshold associated with the outer shell aspect 24, the TPM module 101 may authorize the DVFS module 26 to increase the processing speed of one or more of the cores 222, 224, 226 and 228 in CPU 110 when a temperature reading received via monitor module 114 from sensor 157C of outer shell aspect 24 indicates that the temperature of the outer shell 24 is below the adjusted threshold. Similarly, if the estimated ambient temperature provided to the TPM module 101 from the monitor module 114 is significantly warmer than a previous estimation, the TPM module 101 may query LUT 25 and determine that the skin temperature threshold (or some other threshold) may be reduced because the warmer environment would preclude efficient dissipation of thermal energy from the PCD.
As shown, the PCD 100 includes an on-chip system 102 that includes a multi-core central processing unit (“CPU”) 110 and an analog signal processor 126 that are coupled together. The CPU 110 may comprise a zeroth core 222, a first core 224, and an Nth core 230 as understood by one of ordinary skill in the art. Further, instead of a CPU 110, a digital signal processor (“DSP”) may also be employed as understood by one of ordinary skill in the art.
In general, the dynamic voltage and frequency scaling (“DVFS”) module 26 may be responsible for implementing throttling techniques to individual processing components, such as cores 222, 224, 230 in an incremental fashion to help a PCD 100 optimize its power level and maintain a high level of functionality without detrimentally exceeding certain temperature thresholds.
The monitor module 114 communicates with multiple operational sensors (e.g., thermal sensors 157A, 157B) distributed throughout the on-chip system 102 and with the CPU 110 of the PCD 100 as well as with the TPM module 101. In some embodiments, monitor module 114 may also monitor skin temperature sensors 157C for temperature readings associated with a touch temperature of PCD 100. Further, the monitor module 114 may infer or estimate environmental ambient temperatures based on a likely delta with readings taken by on chip temperature sensors 157A, 157B and/or 157C. The TPM module 101 may receive ambient temperature estimations from monitor module 114, adjust the levels of acceptable temperature thresholds based on the ambient temperature estimations, work with the monitor module 114 to identify temperature thresholds that have been exceeded, and instruct the application of throttling strategies to identified components within chip 102 in an effort to reduce optimize performance and QoS. Notably, by recognizing changes in the estimated ambient temperature to which the PCD 100 is exposed, the TPM module 101 may optimize the QoS provided to a user by determining the affect of the ambient temperature change on the overall ability of the PCD 100 to dissipate thermal energy and adjusting the acceptable temperature thresholds of various processing components accordingly.
As illustrated in
As further illustrated in
The CPU 110 may also be coupled to one or more internal, on-chip thermal sensors 157A, 157B as well as one or more external, off-chip thermal sensors 157C. The on-chip thermal sensors 157A may comprise one or more proportional to absolute temperature (“PTAT”) temperature sensors that are based on vertical PNP structure and are usually dedicated to complementary metal oxide semiconductor (“CMOS”) very large-scale integration (“VLSI”) circuits. The off-chip thermal sensors 157C may comprise one or more thermistors. The thermal sensors 157C may produce a voltage drop that is converted to digital signals with an analog-to-digital converter (“ADC”) controller 103. However, other types of thermal sensors 157A, 157B, 157C may be employed without departing from the scope of the invention.
The DVFS module(s) 26 and TPM module(s) 101 may comprise software which is executed by the CPU 110. However, the DVFS module(s) 26 and TPM module(s) 101 may also be formed from hardware and/or firmware without departing from the scope of the invention. The TPM module(s) 101 in conjunction with the DVFS module(s) 26 may be responsible for applying throttling policies that may help a PCD 100 avoid thermal degradation while maintaining a high level of functionality and user experience.
The touch screen display 132, the video port 138, the USB port 142, the camera 148, the first stereo speaker 154, the second stereo speaker 156, the microphone 160, the FM antenna 164, the stereo headphones 166, the RF switch 170, the RF antenna 172, the keypad 174, the mono headset 176, the vibrator 178, the power supply 188, the PMIC 180 and the thermal sensors 157C are external to the on-chip system 102. However, it should be understood that the monitor module 114 may also receive one or more indications or signals from one or more of these external devices by way of the analog signal processor 126 and the CPU 110 to aid in the real time management of the resources operable on the PCD 100.
In a particular aspect, one or more of the method steps described herein may be implemented by executable instructions and parameters stored in the memory 112 that form the one or more TPM module(s) 101, monitor module(s) 114 and DVFS module(s) 26. These instructions that form the module(s) 101, 114, 26 may be executed by the CPU 110, the analog signal processor 126, or another processor, in addition to the ADC controller 103 to perform the methods described herein. Further, the processors 110, 126, the memory 112, the instructions stored therein, or a combination thereof may serve as a means for performing one or more of the method steps described herein.
The applications CPU 110 may be coupled to one or more phase locked loops (“PLLs”) 209A, 209B, which are positioned adjacent to the applications CPU 110 and in the left side region of the chip 102. Adjacent to the PLLs 209A, 209B and below the applications CPU 110 may comprise an analog-to-digital (“ADC”) controller 103 that may include its own TPM module 101B and/or DVFS module 26B that works in conjunction with the main modules 101A, 26A of the applications CPU 110.
The monitor module 114B of the ADC controller 103 may be responsible for monitoring and tracking multiple thermal sensors 157 that may be provided “on-chip” 102 and “off-chip” 102. The on-chip or internal thermal sensors 157A, 157B may be positioned at various locations and associated with thermal aggressor(s) proximal to the locations (such as with sensor 157A3 next to second and third thermal graphics processors 135B and 135C) or temperature sensitive components (such as with sensor 157B1 next to memory 112). The monitor module 114B may also be responsible for monitoring and recognizing various parameters associated with components of PCD 100 that indicate an idle state.
As a non-limiting example, a first internal thermal sensor 157B1 may be positioned in a top center region of the chip 102 between the applications CPU 110 and the modem CPU 168,126 and adjacent to internal memory 112. A second internal thermal sensor 157A2 may be positioned below the modem CPU 168, 126 on a right side region of the chip 102. This second internal thermal sensor 157A2 may also be positioned between an advanced reduced instruction set computer (“RISC”) instruction set machine (“ARM”) 177 and a first graphics processor 135A. A digital-to-analog controller (“DAC”) 173 may be positioned between the second internal thermal sensor 157A2 and the modem CPU 168, 126.
A third internal thermal sensor 157A3 may be positioned between a second graphics processor 135B and a third graphics processor 135C in a far right region of the chip 102. A fourth internal thermal sensor 157A4 may be positioned in a far right region of the chip 102 and beneath a fourth graphics processor 135D. And a fifth internal thermal sensor 157A5 may be positioned in a far left region of the chip 102 and adjacent to the PLLs 209 and ADC controller 103.
One or more external thermal sensors 157C may also be coupled to the ADC controller 103. The first external thermal sensor 157C1 may be positioned off-chip and adjacent to a top right quadrant of the chip 102 that may include the modem CPU 168, 126, the ARM 177, and DAC 173. A second external thermal sensor 157C2 may be positioned off-chip and adjacent to a lower right quadrant of the chip 102 that may include the third and fourth graphics processors 135C, 135D. Notably, one or more of external thermal sensors 157C may be leveraged to indicate the touch temperature of the PCD 100, i.e. the temperature that may be experienced by a user in contact with the PCD 100. Moreover, any one or more of the sensors 157 may be monitored by a monitor module 114 during a recognized idle state of the PCD 100 such that the measurement readings produced by the one or more sensors 157 is useful for estimating an environmental ambient temperature.
One of ordinary skill in the art will recognize that various other spatial arrangements of the hardware illustrated in
As illustrated in
The CPU 110 may receive commands from the TPM module(s) 101 and/or DVFS module(s) 26 that may comprise software and/or hardware. If embodied as software, the module(s) 101, 26 comprise instructions that are executed by the CPU 110 that issues commands to other application programs being executed by the CPU 110 and other processors.
The first core 222, the second core 224 through to the Nth core 230 of the CPU 110 may be integrated on a single integrated circuit die, or they may be integrated or coupled on separate dies in a multiple-circuit package. Designers may couple the first core 222, the second core 224 through to the Nth core 230 via one or more shared caches and they may implement message or instruction passing via network topologies such as bus, ring, mesh and crossbar topologies.
Bus 211 may include multiple communication paths via one or more wired or wireless connections, as is known in the art. The bus 211 may have additional elements, which are omitted for simplicity, such as controllers, buffers (caches), drivers, repeaters, and receivers, to enable communications. Further, the bus 211 may include address, control, and/or data connections to enable appropriate communications among the aforementioned components.
When the logic used by the PCD 100 is implemented in software, as is shown in FIG.
3B, it should be noted that one or more of startup logic 250, management logic 260, thermal policy management interface logic 270, applications in application store 280 and portions of the file system 290 may be stored on any computer-readable medium for use by, or in connection with, any computer-related system or method.
In the context of this document, a computer-readable medium is an electronic, magnetic, optical, or other physical device or means that can contain or store a computer program and data for use by or in connection with a computer-related system or method. The various logic elements and data stores may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. In the context of this document, a “computer-readable medium” can be any means that can store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The computer-readable medium can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic) having one or more wires, a portable computer diskette (magnetic), a random-access memory (RAM) (electronic), a read-only memory (ROM) (electronic), an erasable programmable read-only memory (EPROM, EEPROM, or Flash memory) (electronic), an optical fiber (optical), and a portable compact disc read-only memory (CDROM) (optical). Note that the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for instance via optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
In an alternative embodiment, where one or more of the startup logic 250, management logic 260 and perhaps the thermal policy management interface logic 270 are implemented in hardware, the various logic may be implemented with any or a combination of the following technologies, which are each well known in the art: a discrete logic circuit(s) having logic gates for implementing logic functions upon data signals, an application specific integrated circuit (ASIC) having appropriate combinational logic gates, a programmable gate array(s) (PGA), a field programmable gate array (FPGA), etc.
The memory 112 is a non-volatile data storage device such as a flash memory or a solid-state memory device. Although depicted as a single device, the memory 112 may be a distributed memory device with separate data stores coupled to the digital signal processor 110 (or additional processor cores).
The startup logic 250 includes one or more executable instructions for selectively identifying, loading, and executing a select program for managing or controlling the performance of one or more of the available cores such as the first core 222, the second core 224 through to the Nth core 230. The startup logic 250 may identify, load and execute a select program based on the adjustment by the TPM module 101 of threshold temperature settings associated with a PCD component or aspect based on receipt of an estimated ambient temperature. An exemplary select program can be found in the program store 296 of the embedded file system 290 and is defined by a specific combination of a performance scaling algorithm 297 and a set of parameters 298. The exemplary select program, when executed by one or more of the core processors in the CPU 110 may operate in accordance with one or more signals provided by the monitor module 114 in combination with control signals provided by the one or more TPM module(s) 101 and DVFS module(s) 26 to scale the performance of the respective processor core “up” or “down.”
The management logic 260 includes one or more executable instructions for terminating a thermal management program on one or more of the respective processor cores, as well as selectively identifying, loading, and executing a more suitable replacement program for managing or controlling the performance of one or more of the available cores. The management logic 260 is arranged to perform these functions at run time or while the PCD 100 is powered and in use by an operator of the device. A replacement program can be found in the program store 296 of the embedded file system 290 and, in some embodiments, may be defined by a specific combination of a performance scaling algorithm 297 and a set of parameters 298.
The replacement program, when executed by one or more of the core processors in the digital signal processor 110 may operate in accordance with one or more signals provided by the monitor module 114 or one or more signals provided on the respective control inputs of the various processor cores to scale the performance of the respective processor core. In this regard, the monitor module 114 may provide one or more indicators of events, processes, applications, resource status conditions, elapsed time, temperature, etc in response to control signals originating from the TPM 101.
The interface logic 270 includes one or more executable instructions for presenting, managing and interacting with external inputs to observe, configure, or otherwise update information stored in the embedded file system 290. In one embodiment, the interface logic 270 may operate in conjunction with manufacturer inputs received via the USB port 142. These inputs may include one or more programs to be deleted from or added to the program store 296. Alternatively, the inputs may include edits or changes to one or more of the programs in the program store 296. Moreover, the inputs may identify one or more changes to, or entire replacements of one or both of the startup logic 250 and the management logic 260. By way of example, the inputs may include a change to the management logic 260 that instructs the PCD 100 to suspend all performance scaling in the RF transceiver 168 when the received signal power falls below an identified threshold. By way of further example, the inputs may include a change to the management logic 260 that instructs the PCD 100 to apply a desired program when the video codec 134 is active.
The interface logic 270 enables a manufacturer to controllably configure and adjust an end user's experience under defined operating conditions on the PCD 100. When the memory 112 is a flash memory, one or more of the startup logic 250, the management logic 260, the interface logic 270, the application programs in the application store 280 or information in the embedded file system 290 can be edited, replaced, or otherwise modified. In some embodiments, the interface logic 270 may permit an end user or operator of the PCD 100 to search, locate, modify or replace the startup logic 250, the management logic 260, applications in the application store 280 and information in the embedded file system 290. The operator may use the resulting interface to make changes that will be implemented upon the next startup of the PCD 100. Alternatively, the operator may use the resulting interface to make changes that are implemented during run time.
The embedded file system 290 includes a hierarchically arranged thermal technique store 292. In this regard, the file system 290 may include a reserved section of its total file system capacity for the storage of information for the configuration and management of the various parameters 298 and thermal management algorithms 297 used by the PCD 100. As shown in
At decision block 410, if the various subsystems are determined to be active, the “no” branch is followed back to block 405 and monitoring of the subsystems continues. If at decision block 410, the activity levels of the monitored subsystems is determined to meet the requirements of a predefined idle state qualifier, i.e. the monitored parameters associated with each monitored subsystem indicates that the systems are inactive or otherwise idle, then the PCD 100 is assumed to be in an idle state that represents a relatively low level of thermal energy generation and the “yes” branch is followed to block 415.
At block 415, some embodiments of the systems and methods may apply a wait period that has been predetermined to allow previously generated thermal energy to dissipate. Advantageously, by allowing a wait period to elapse, the previously generated thermal energy may be dissipated to such a level that any temperature reading taken from a given sensor 157 may be useful for estimating the ambient temperature to which the PCD 100 is exposed. Notably, as one of ordinary skill in the art would understand, longer wait periods may allow the overall temperature of an idle PCD 100 to approach equilibrium with an actual ambient temperature of the environment.
Returning to the method 400, once the wait period of block 415 has elapsed, at block 420 temperature readings may be taken from various temperature sensors 157 within the PCD 100. As one of ordinary skill in the art would understand, when processing components within the PCD 100 are actively processing workloads, the temperature readings taken from the various temperature sensors 157 may indicate operating temperatures of the processing components with which each is associated. However, when the PCD 100 is determined to be in an idle state, in which the processing burdens of the processing components are light or negligible, the temperature readings taken from the same sensors may be useful for estimating the ambient temperature of the environment to which the entire PCD 100 is exposed.
At block 425, the temperature readings taken at block 420 may be adjusted by a predetermined constant in order to take into account likely temperature deltas between the readings and the actual ambient temperature of the environment. Subsequently, at block 430, the estimated ambient temperature is set to the adjusted temperature reading. Notably, it is envisioned that in some embodiments the estimated ambient temperature may be a function of multiple temperature readings taken from various temperature sensors 157 throughout PCD 100, such as an average temperature reading.
At block 435, a temperature threshold lookup table 25 may be queried based on the estimated ambient temperature to determine an optimum skin temperature threshold setting. Notably, it is envisioned that temperature threshold settings other than skin temperature may also be adjusted in some embodiments based on the estimated ambient temperature and, as such, the scope of this disclosure and the embodiments described herein will not be limited to include adjustment of skin temperature thresholds.
At block 440, the skin temperature threshold (or other temperature threshold) is adjusted based on the LUT 25 query. As described above, the skin temperature threshold may be adjusted upward, thereby providing additional thermal energy generating headroom for one or more processing components, when the estimated ambient temperature is cooler than a previous estimation. Similarly, the skin temperature threshold may be adjusted downward, thereby reducing the amount of thermal energy that may be generated by one or more processing components, when the estimated ambient temperature is hotter than a previous estimation.
At block 445, the thermal policy may be modified based on the adjusted skin temperature such that at block 450 a thermal management technique for managing the thermal energy produced by one or more processing components is applied based on the adjusted temperature threshold as an input. For instance, with an increased skin temperature threshold at block 440, the thermal management technique applied at block 450 may increase the processing speed of one or more processing components within PCD 100, thereby increasing the QoS provided to a user of PCD 100. Similarly, with a decreased skin temperature threshold at block 440, the thermal management technique applied at block 450 may reduce the processing speed of one or more processing components within PCD 100, thereby optimizing the QoS provided to a user of PCD 100 while securing the health of the PCD 100.
As understood by one of ordinary skill in the art, the demand for processors that provide high performance and low power consumption has led to the use of various power management techniques, such as, dynamic voltage and frequency scaling, sometimes referred to as dynamic voltage and current scaling (“DVCS”), in processor designs. DVFS enables trade-offs between power consumption and performance. Processors 110 and 126, for instance, may be designed to take advantage of DVFS by allowing the clock frequency of each processor to be adjusted with a corresponding adjustment in voltage.
A reduction in operating voltage usually results in a proportional savings in power consumed and thermal energy generated. One main issue for DVFS enabled processors 110, 126 is how to control the balance between performance and power savings.
Block 505 is the first step in the subroutine 450 for applying DVFS thermal mitigation techniques in a thermal management framework that includes adjustable temperature thresholds. In this first block 505, the TPM module 101 may determine that a temperature threshold, such as a skin temperature threshold, may be adjusted based on an estimation of the ambient temperature of the environment in which the PCD 100 resides. Accordingly, the TPM module 101 may initiate instructions to the DVFS module 26 to review the current DVFS settings in block 510.
Next, in block 515, the DVFS module 26 may determine that the power level of the processing component can be reduced or increased, as the adjusted temperature threshold(s) may dictate or allow. In doing so, the DVFS module 26 may adjust or issue commands to incrementally adjust the current DVFS settings that may include voltage and/or frequency, in order to manage thermal loading conditions. Adjusting the settings may comprise adjusting or “scaling” the maximum clock frequency allowed in DVFS algorithm. Notably, although the monitor module 114, TPM module 101 and DVFS module 26 have been described in the present disclosure as separate modules with separate functionality, it will be understood that in some embodiments the various modules, or aspects of the various modules, may be combined into a common module for implementing adaptive thermal management policies.
Certain steps in the processes or process flows described in this specification naturally precede others for the invention to function as described. However, the invention is not limited to the order of the steps described if such order or sequence does not alter the functionality of the invention. That is, it is recognized that some steps may performed before, after, or parallel (substantially simultaneously with) other steps without departing from the scope and spirit of the invention. In some instances, certain steps may be omitted or not performed without departing from the invention. Further, words such as “thereafter”, “then”, “next”, etc. are not intended to limit the order of the steps. These words are simply used to guide the reader through the description of the exemplary method.
Additionally, one of ordinary skill in programming is able to write computer code or identify appropriate hardware and/or circuits to implement the disclosed invention without difficulty based on the flow charts and associated description in this specification, for example. Therefore, disclosure of a particular set of program code instructions or detailed hardware devices is not considered necessary for an adequate understanding of how to make and use the invention. The inventive functionality of the claimed computer implemented processes is explained in more detail in the above description and in conjunction with the drawings, which may illustrate various process flows.
In one or more exemplary aspects, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that may be accessed by a computer. By way of example, and not limitation, such computer-readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that may be used to carry or store desired program code in the form of instructions or data structures and that may be accessed by a computer.
Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (“DSL”), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium.
Disk and disc, as used herein, includes compact disc (“CD”), laser disc, optical disc, digital versatile disc (“DVD”), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Therefore, although selected aspects have been illustrated and described in detail, it will be understood that various substitutions and alterations may be made therein without departing from the spirit and scope of the present invention, as defined by the following claims.