Electrical equipment and surface temperature control method, device, medium and chip system thereof
The temperature prediction model is used to predict the surface temperature of electrical equipment, adjust the working status, solve the lag problem between temperature measurement and control, achieve timely and accurate control of surface temperature, and significantly improve the user experience.
Patent Information
- Application Number
- CN202311250217.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-09-25
AI Technical Summary
Existing temperature control technology for electrical equipment has a lag between temperature measurement and control, resulting in delayed external surface temperature control and affecting user experience.
The temperature prediction model is used to predict the future surface temperature by obtaining the historical temperature of the heating components, and adjust the working status of the electrical equipment based on the prediction results to control the surface temperature.
It effectively overcomes the lag between temperature measurement and control, achieves timely and accurate control of surface temperature, and improves user experience and device performance.
Smart Images

Figure CN117389344B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of equipment control technology, and in particular to a method for controlling the surface temperature of an electrical device, a device for controlling the surface temperature of an electrical device, an electrical device, a computer-readable storage medium, and a chip system. Background Art
[0002] There are temperature control technologies for electrical equipment in this field. These existing technologies usually control the resource consumption of internal components according to the power consumption performance of the internal components of the electrical equipment, aiming to ensure that the internal components do not overheat, ignoring the fact that excessively high external surface temperatures will have an adverse effect on user experience. Although some existing technologies can control the external surface temperature, the means adopted are still to control the working state of internal components to achieve this, without realizing that it takes a certain amount of time for the temperature or working energy consumption of the internal components to be transmitted to the external surface, resulting in a lag in the control of the external surface temperature. Therefore, there is an urgent need in this field for a temperature control technology that can timely control the external surface temperature of electrical equipment, overcome the lag between temperature measurement and temperature control, and significantly improve the user experience. Summary of the invention
[0003] To this end, the present application is committed to providing a method for controlling the surface temperature of electrical equipment, a device for controlling the surface temperature of electrical equipment, electrical equipment, a computer-readable storage medium and a chip system, which can timely control the surface temperature of the electrical equipment, overcome the lag between temperature measurement and temperature control, and significantly improve the user experience.
[0004] On the one hand, the present application provides a method for controlling the surface temperature of an electrical equipment, comprising: first, obtaining the historical temperature of at least one heat-generating component located inside and / or outside the electrical equipment between a first moment and a second moment; then, using the historical temperature as the input of a temperature prediction model, and outputting the predicted temperature of the external surface of the electrical equipment at a third moment after the first moment and the second moment, the temperature prediction model characterizing the relationship between the historical temperature and the predicted temperature; finally, adjusting the working state of the electrical equipment according to the predicted temperature to control the external surface temperature of the electrical equipment.
[0005] According to this aspect, a technical means of using a temperature prediction model for prediction is used to overcome the lag between internal temperature measurement and surface temperature control, so that the control of the working state of the electrical equipment can be carried out before the surface temperature actually rises, thereby smoothing out large fluctuations in the surface temperature and keeping the surface temperature as stable as possible, significantly improving the user experience and solving the problem of excessively high surface temperature.
[0006] In addition, temperature prediction based on the temperature prediction model is conducive to the use of mature artificial intelligence technologies such as machine learning in this field to achieve the correspondence between historical temperature and predicted temperature, improve the timeliness and accuracy of predicted temperature, and thus help improve the timeliness and accuracy of temperature control, avoid erroneous control measures due to incorrect predictions, and cause unreasonable temperature fluctuations.
[0007] In a particular embodiment of the present application, in order to adjust the working state of the electrical equipment according to the predicted temperature, first, the heat generation of each heat-emitting component can be determined according to the working state of each heat-emitting component in at least one heat-emitting component and a heat capacity model, and the heat capacity model characterizes the mapping relationship between the working state and the heat generation of the heat-emitting component; then, according to the predicted temperature and the heat generation of each heat-emitting component, the resource limitation ratio of each heat-emitting component is determined, and the resource limitation ratio represents the reduction ratio of one or more of the power consumption, voltage, frequency and load of the heat-emitting component; finally, according to the resource limitation ratio, the working state of each heat-emitting component is controlled.
[0008] According to this embodiment, the heat generation of the heating device is determined by the heat capacity model instead of directly measuring the operating temperature of the heating device. This is because considering that the installation positions of some heating devices are very close, the temperature directly measured is affected by the surrounding environment and cannot accurately reflect the actual temperature of a single heating device. Therefore, the temperature calculated by the heat capacity model is more conducive to determining the actual temperature of a single heating device, especially multiple heating devices with close installation positions.
[0009] In addition, by controlling electrical equipment by setting resource limit ratios, the control strategy can be flexibly adjusted to achieve variability and flexibility in control means and control ranges, avoiding the incompatibility and inaccuracy that may be caused by simply controlling the device temperature based on the predicted temperature.
[0010] In a particular embodiment of the present application, at least one heat-generating component includes a first heat-generating component, and the first heat-generating component includes multiple heat-generating sub-components. The method also includes: first, with the goal of maximizing the performance of the first heat-generating component, allocating the resource limitation ratio of the first heat-generating component to multiple heat-generating sub-components to determine the resource limitation ratio of each heat-generating sub-component in the multiple heat-generating sub-components; and then, based on the resource limitation ratio of each heat-generating sub-component, controlling the working state of each heat-generating sub-component.
[0011] According to this embodiment, the resource limit ratio is reallocated for a particularly heat-generating device having multiple sub-devices, so that the accuracy of temperature control according to the resource limit ratio can be improved, and the working state of the device can be finely controlled according to the performance characteristics of the particularly heat-generating device, thereby achieving effective and rapid temperature control.
[0012] In addition, allocating the resource limit ratio with the goal of maximizing the performance of the first heat-generating component is conducive to avoiding excessive impact of resource limits on the working performance of the heat-generating component. While controlling the working state according to the resource limit ratio, it is possible to ensure that the heat-generating component can still work normally and perform stably, thereby achieving harmless temperature control, reducing the negative impact of temperature control, and improving the overall user experience and performance of electrical equipment.
[0013] In a special embodiment of the present application, in order to allocate the resource limitation of the first heat-generating component to multiple heat-generating sub-components, the resource limitation ratio of each heat-generating sub-component can be determined based on the resource limitation ratio of the first heat-generating component and a mapping table. The mapping table records multiple resource limitation ratios corresponding to the first heat-generating component, as well as the resource limitation ratios of the multiple heat-generating sub-components corresponding to each of the multiple resource limitation ratios.
[0014] According to this embodiment, the resource limitation ratio of the sub-device is determined by a mapping table, which can speed up the calculation of the resource limitation ratio of the sub-device. The corresponding resource limitation ratio value can be simply and quickly obtained by looking up the table, eliminating redundant calculation processes, which can speed up the response speed of temperature control and improve the effect of temperature control.
[0015] In a special embodiment of the present application, in order to determine the resource limitation ratio of each heat-generating component based on the predicted temperature and the heat generated by each heat-generating component, first, the resource limitation ratio of the electrical equipment can be determined based on the predicted temperature; then, based on the heat generated by each heat-generating component, the resource limitation ratio of the electrical equipment can be allocated to multiple heat-generating components to obtain the resource limitation ratio of each heat-generating component.
[0016] According to this embodiment, in addition, the resource limit ratio of the entire electrical equipment is allocated to each heating component in proportion according to the heat generated by each heating component, so that each heating component can adopt temperature control strategies of different amplitudes according to its own heating situation, which is conducive to realizing the refinement and accuracy of temperature control and effectively improving the actual effect of temperature control.
[0017] In a particular embodiment of the present application, the working state includes one or more of power consumption, voltage, frequency and load.
[0018] According to this embodiment, power consumption, voltage, frequency and load are working conditions or working indicators that can directly affect the temperature of the heat-generating components. Adjusting and controlling these indicators is beneficial to controlling the temperature and heat of the heat-generating components by the most direct means, thereby achieving the purpose of quickly and timely reducing the external or surface temperature.
[0019] In a particular embodiment of the present application, the at least one heat generating component includes one or more of a system-level chip, a modem, a housing of an electric device, and a battery.
[0020] According to this embodiment, the system-level chip, modem, housing of the electric device, and battery are the components that the inventor of this application has found to have the greatest impact on the surface temperature. These components usually generate more heat, thereby increasing the surface temperature. By inputting the historical temperatures of these components into the prediction model, a more accurate predicted temperature can be obtained, thereby improving the prediction effect.
[0021] In a particular embodiment of the present application, the historical temperature of at least one heat-generating component is directly measured by a temperature sensor; or, the historical temperature of at least one heat-generating component is calculated by temperatures of other reference positions, and the temperatures of other reference positions include temperatures of other components or structures of the electrical equipment other than the at least one heat-generating component.
[0022] According to this embodiment, obtaining historical temperature information by directly measuring with a temperature sensor or by calculating the historical temperature information by reference position temperature is an effective means of obtaining historical temperature. The former can improve the timeliness and accuracy of obtaining historical temperature, and the latter can reduce the increase in equipment cost and increased difficulty in maintenance caused by direct measurement.
[0023] In a particular embodiment of the present application, the power-consuming device includes a central processing unit, a graphics processing unit, and a double read / write rate memory, and the input also includes one or more of the load information of the central processing unit, the load information of the graphics processing unit, and the load information of the double read / write rate memory.
[0024] According to this embodiment, the workload of the CPU, GPU and DDR memory usually directly affects their heat generation. Using the load information of these devices as the input of the temperature prediction model can further improve the accuracy and objectivity of temperature prediction.
[0025] In a particular embodiment of the present application, the electrical equipment also includes a cooling device for cooling a target device of the electrical equipment; in order to adjust the working state of the electrical equipment according to the predicted temperature to control the surface temperature of the electrical equipment, first, the cooling target temperature of the target device can be determined according to the predicted temperature; then, according to the cooling target temperature, the working state of the cooling device can be controlled to cool the target device to the cooling target temperature.
[0026] According to this embodiment, in addition to reducing working resources or frequency, an active cooling method is also provided to reduce the device temperature. This can be done in a multi-pronged manner to enrich the cooling methods and achieve a fast and efficient cooling effect.
[0027] On the other hand, the present application provides a surface temperature control device for electrical equipment, including: an acquisition module, used to obtain the historical temperature of at least one heat-generating component located inside and / or outside the electrical equipment between a first moment and a second moment; a prediction module, used to use the historical temperature as an input of a temperature prediction model, and output the predicted temperature of the external surface of the electrical equipment at a third moment after the first moment and the second moment, the temperature prediction model characterizing the relationship between the historical temperature and the predicted temperature; an adjustment module, used to adjust the working state of the electrical equipment according to the predicted temperature to control the external surface temperature of the electrical equipment.
[0028] In a particular embodiment of the present application, the adjustment module is further configured to: first, determine the heat generation of each heat-generating component based on the working state of each heat-generating component in at least one heat-generating component and a heat capacity model, wherein the heat capacity model characterizes the mapping relationship between the working state of the heat-generating component and the heat generation; then, determine the resource limitation ratio of each heat-generating component based on the predicted temperature and the heat generation of each heat-generating component, wherein the resource limitation ratio represents a decrease ratio of one or more of the power consumption, voltage, frequency and load of the heat-generating component; finally, control the working state of each heat-generating component based on the resource limitation ratio.
[0029] In a special embodiment of the present application, at least one heat-generating component includes a first heat-generating component, and the first heat-generating component includes multiple heat-generating sub-components. The device also includes: an allocation module, which is used to allocate the resource limitation ratio of the first heat-generating component to the multiple heat-generating sub-components with the goal of maximizing the performance of the first heat-generating component, so as to determine the resource limitation ratio of each heat-generating sub-component in the multiple heat-generating sub-components; and a control module, which is used to control the working state of each heat-generating sub-component based on the resource limitation ratio of each heat-generating sub-component.
[0030] In a special embodiment of the present application, the allocation module is further configured to: determine the resource limitation ratio of each heat-generating sub-component based on the resource limitation ratio of the first heat-generating component and a mapping table, wherein the mapping table records multiple resource limitation ratios corresponding to the first heat-generating component, and the resource limitation ratios of multiple heat-generating sub-components corresponding to each of the multiple resource limitation ratios.
[0031] In a particular embodiment of the present application, the adjustment module is further configured to: first, determine the resource limitation ratio of the electrical equipment based on the predicted temperature; then, distribute the resource limitation ratio of the electrical equipment to multiple heating components based on the heat generation of each heating component to obtain the resource limitation ratio of each heating component.
[0032] In a particular embodiment of the present application, the working state includes one or more of power consumption, voltage, frequency and load.
[0033] In a particular embodiment of the present application, the at least one heat generating component includes one or more of a system-level chip, a modem, a housing of an electric device, and a battery.
[0034] In a particular embodiment of the present application, the historical temperature of at least one heat-generating component is directly measured by a temperature sensor; or, the historical temperature of at least one heat-generating component is calculated by temperatures of other reference positions, and the temperatures of other reference positions include temperatures of other components or structures of the electrical equipment other than the at least one heat-generating component.
[0035] In a particular embodiment of the present application, the power-consuming device includes a central processing unit, a graphics processing unit, and a double read / write rate memory, and the input also includes one or more of the load information of the central processing unit, the load information of the graphics processing unit, and the load information of the double read / write rate memory.
[0036] In a particular embodiment of the present application, the electrical equipment also includes a cooling device for cooling a target device of the electrical equipment, and the adjustment module is further configured to: first, determine the cooling target temperature of the target device based on the predicted temperature; then, control the working state of the cooling device based on the cooling target temperature to cool the target device to the cooling target temperature.
[0037] On the other hand, the present application provides an electrical device, which includes a processor and a memory, and the processor is used to execute a computer program stored in the memory to implement the above-mentioned method for controlling the surface temperature of the electrical device.
[0038] On the other hand, the present application provides a computer-readable storage medium, which stores a computer program, and the computer program is used to execute the above-mentioned method for controlling the surface temperature of electrical equipment.
[0039] On the other hand, the present application provides a chip system, which includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the steps of the above-mentioned method for controlling the surface temperature of electrical equipment.
[0040] On the other hand, the present application provides a computer program product, including program code, so that when a computer runs the computer program product, the computer implements the above-mentioned method for controlling the surface temperature of electrical equipment.
[0041] On the other hand, the present application provides a terminal, including a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the above-mentioned method for controlling the surface temperature of an electrical device. The terminal may be a desktop computer, a laptop computer, a tablet computer, a smart phone, a smart watch, a car, a virtual reality VR glasses, etc.
[0042] Any of the electrical equipment surface temperature control devices, electrical equipment, computer-readable storage media, computer program products, chip systems or terminals provided above are used to execute the electrical equipment surface temperature control method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding schemes in the corresponding methods provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The specific implementation of the present application is described in detail below with reference to the accompanying drawings, wherein:
[0044] Figure 1 A schematic block diagram showing a method for controlling the surface temperature of an electrical device according to an embodiment of the present application;
[0045] Figure 2 A schematic diagram showing a flow chart of a method for controlling the surface temperature of an electrical device according to another embodiment of the present application;
[0046] Figure 3 Show according to Figure 2 A schematic diagram of a model training process in a method for controlling the surface temperature of an electrical device according to an embodiment;
[0047] Figure 4 Show according to Figure 2 A schematic diagram of a model prediction process in a method for controlling the surface temperature of electrical equipment according to an embodiment;
[0048] Figure 5 A schematic diagram showing a flow chart of a method for controlling the surface temperature of an electrical device according to another embodiment of the present application;
[0049] Figure 6 Show according to Figure 5 A schematic diagram of a heat capacity model between a working state and a heat generation in a method for controlling the surface temperature of an electrical device in an embodiment;
[0050] Figure 7 Show according to Figure 5 A mapping relationship diagram between the predicted temperature and the resource restriction ratio in the method for controlling the surface temperature of an electric device in an embodiment;
[0051] Figure 8 Show according to Figure 5 A schematic diagram of resource restriction ratio allocation in a method for controlling surface temperature of electrical equipment according to an embodiment;
[0052] Fig. 9 Show according to Figure 5 A schematic diagram of the allocation of sub-component resource restriction ratios in the method for controlling the surface temperature of an electrical device according to an embodiment;
[0053] Fig.10A schematic block diagram showing a method for controlling the surface temperature of an electrical device according to another embodiment of the present application;
[0054] Fig.11 A schematic diagram showing the structure of a surface temperature control device for electrical equipment according to an embodiment of the present application is shown;
[0055] Fig.12 A schematic diagram showing the architecture of an electric device according to an embodiment of the present application is shown;
[0056] Fig.13 A schematic structural diagram of an electrical device according to another embodiment of the present application is shown. DETAILED DESCRIPTION
[0057] In order to make those skilled in the art understand the concept and thought of the present application more clearly, the present application is described in detail below in conjunction with specific embodiments. It should be understood that the embodiments provided herein are only a part of all embodiments that the present application may have. After reading the specification of the present application, those skilled in the art have the ability to make improvements, transformations, or replacements to part or all of the following embodiments, and these improvements, transformations, or replacements are also included in the scope of the present application.
[0058] In this document, the terms "one", "an" and other similar words are not intended to indicate that there is only one of the things described, but rather that the relevant description is only for one of the things described, and the things described may have one or more. In this document, the terms "comprises", "includes" and other similar words are intended to indicate logical relationships, and cannot be regarded as indicating spatial structural relationships. For example, "A includes B" is intended to indicate that B logically belongs to A, but does not mean that B is spatially located inside A. In addition, the meanings of the terms "comprises", "includes" and other similar words should be regarded as open, rather than closed. For example, "A includes B" is intended to indicate that B belongs to A, but B does not necessarily constitute the whole of A, and A may also include other elements such as C, D, and E.
[0059] In this document, the terms "first", "second" and other similar words are not intended to imply any order, quantity and importance, but are only used to distinguish different elements. In this document, the terms "embodiment", "present embodiment", "one embodiment" and "an embodiment" do not mean that the relevant description is only applicable to a specific embodiment, but rather that these descriptions may also be applicable to one or more other embodiments. Those skilled in the art should understand that in this document, any description made for a certain embodiment can be replaced, combined, or otherwise combined with the relevant description in one or more other embodiments, and the new embodiment produced by the replacement, combination, or other combination is easily conceivable by those skilled in the art and belongs to the scope of protection of this application.
[0060] In various embodiments of the present application, electrical equipment may refer to equipment that requires electrical energy to work. In some embodiments of the present application, electrical equipment may refer to equipment that will or may generate heat due to input electrical energy, and this heat can be clearly perceived by the outside world or the human body. Electrical equipment may include, for example, household appliances, power facilities, and electronic products. Household appliances may include televisions, stereos, telephones, etc. Power facilities may include various transformers, switches, transducers, etc. Electronic products may include computers (desktop computers, laptops, tablets, PDAs, workstations, etc.), smart phones, smart watches, AR (augmented reality) glasses, etc.
[0061] In the embodiments of the present application, the surface temperature may refer to the temperature on the housing or surface of the electrical device that can be sensed by the outside world. Since the surface temperature is one of the indicators that directly affects the user experience of the electrical device, especially the electrical device that is often touched by the human body, the prediction and control of the surface temperature has become an important technical issue.
[0062] Some technologies in this field read the temperature of the physical sensor to obtain the current temperature of the device, calculate the temperature control algorithm, and ultimately reduce the heat by limiting the frequency of the heating device to reduce the device temperature and prevent the device from overheating and damaging the device or scalding the user. In order to implement the temperature control algorithm technology, the industry generally adopts DVFS (dynamic voltage and frequency scaling) to adjust the voltage and frequency of the device according to the performance and power consumption requirements of the chip to reduce the power consumption and heat generation of the device in dynamic scenarios. However, although this method provides a mechanism for dynamically adjusting the working state of the device, it still has many shortcomings, including the lack of corresponding strategies to determine how to adjust the device state to control heat in different scenarios.
[0063] Some technologies in this field include software modules including power arbiter, power model, temperature monitor, and hardware modules including CPU (central processing unit), GPU (graphics processing unit), temperature sensor, etc. Their functions are as follows: using SOC (system on chip) temperature as input, the total power consumption that can be allocated to the system is calculated through the PID (proportional-integral-derivative) algorithm in the power arbiter, and the power consumption is allocated according to the power consumption demand ratio reported by the device. Each device converts the allocated power consumption into an operational state through the power consumption model. The logical (working / connection) relationship between the software and hardware is as follows: the temperature monitor obtains the current temperature through the temperature sensor, and the power arbitrator obtains the reported power consumption value through the power model and the working status of the CPU, GPU and other devices, and allocates the available power consumption to each device after calculation. The specific steps are as follows: 1) Take the temperature read by the SOC temperature sensor as input, and when the temperature reaches a certain threshold, trigger the algorithm logic; 2) Use the PID controller as the control algorithm, take the read SOC temperature as input, calculate the difference between the temperature and the preset target SOC temperature, and obtain the current power consumption quota that can be allocated to the whole machine, allocate the power consumption quota to each device, and adjust the device state to reduce the SOC temperature and achieve the control effect; 3) IPA (intelligent power allocator) obtains the current power consumption reported by each power consumption device, calculates the relationship between the total reported power consumption and the power consumption quota output by PID, if the total reported power consumption is less than the power consumption quota, it means that the system can currently increase the power supply and continue to allocate the excess power consumption to the required devices, if the total reported power consumption is greater than the power consumption quota, it means that the current power consumption quota of the system is insufficient, and this ratio will be used as the device power consumption limit ratio to recover the available power consumption of each device and lower the operating state of the device to achieve the effect of reducing the SOC temperature.
[0064] These technologies can achieve the function of controlling the SOC temperature of the device to a certain extent and solve the problem of device overheating. However, they cannot accurately control the temperature of the back shell, and the temperature control accuracy is insufficient. The reasons for these deficiencies are as follows: 1) The control object of IPA is the SOC temperature, and the target temperature value is set for the SOC temperature to control the SOC temperature near the target temperature. In the terminal scenario, the main factor affecting the user experience is the back shell temperature. Simply controlling the SOC temperature ignores the impact on the user experience; 2) Since there is a lag between the back shell temperature and the SOC temperature, and temperature control can only indirectly affect the shell temperature by controlling the device state and affecting the SOC temperature, if the IPA algorithm input is simply modified to the back shell temperature, the control will have serious lag, resulting in large temperature fluctuations and system resource restrictions, which seriously affect the stability of system performance; 3) IPA uses the power consumption model as a method of allocating resources to control heat generation, and the temperature is affected by factors such as structure and heat dissipation materials. The heat generation and power consumption of the device are not equivalent, and the allocation algorithm based on the power consumption model is not accurate enough.
[0065] To this end, some embodiments of the present application are intended to solve the following technical problems: 1) solving the time lag of adjusting the state of the SOC device to affect the SOC temperature, thereby indirectly controlling the temperature of the rear shell, improving the stability of temperature control, and improving performance stability; 2) solving the problem that there is a deviation in the power consumption model used in the heat calculation and distribution process and the temperature cannot be accurately controlled.
[0066] In response to the problem of hysteresis in controlling surface temperature in the art, some embodiments of the present application propose surface temperature prediction technology to eliminate control lag, intervene in advance, reduce temperature fluctuations, improve environmental adaptability, and provide better user temperature experience. In response to the problem of errors in using power consumption models to control temperature in the art, some embodiments of the present application propose surface temperature control technology to make temperature control more accurate, strategies more flexible, and maximize performance while controlling temperature to ensure user performance experience. In response to the problem of how to accurately count device heat generation and calculate the allocation ratio of each device in the art, some embodiments of the present application propose heat source identification and resource allocation technology, which can accurately control device status and deterministically control temperature.
[0067] Figure 1 A schematic block diagram of a method for controlling the surface temperature of an electrical device according to an embodiment of the present application is shown.
[0068] like Figure 1As shown, in the surface temperature control method of the electrical equipment of this embodiment, firstly, historical temperature information is obtained from several components of the electrical equipment, and the components can be any components on the electrical equipment that can generate heat. Then, the historical temperature information is input into the temperature prediction model, and the predicted temperature on the surface of the electrical equipment at a future moment is calculated by the model. Finally, according to the predicted temperature, the control unit adjusts the working state of the electrical equipment, and the control unit can be a control unit inside the electrical equipment, or a control unit outside the electrical equipment and is connected to the electrical equipment for communication. The temperature prediction model can be integrated inside the control unit, or it can be stored in other locations, and executed by the control unit or executed separately by other controllers.
[0069] Figure 2 A schematic flow chart of a method for controlling the surface temperature of an electrical device according to another embodiment of the present application is shown.
[0070] According to this embodiment, the method for controlling the surface temperature of an electrical device includes steps S210 to S230, and each step is described in detail below.
[0071] S210: Obtain a historical temperature of at least one heat-generating component located inside and / or outside the electrical equipment between a first moment and a second moment.
[0072] In this embodiment, the heat generating component may refer to a component inside or outside the electrical device that can generate heat. The heat generating component of the electrical device may be on each power-consuming device or core component inside the electrical device, or may be a housing, bracket, etc. outside the electrical device. For example, the heat generating component of the electrical device may be a component that can reflect the energy consumption characteristics of the electrical device and can significantly affect the overall heat generation performance of the electrical device. Other types of heat generating components are also conceivable.
[0073] As an example, the at least one heat generating component includes one or more of a system-on-chip, a modem, a housing of a power-consuming device, and a battery.
[0074] In this embodiment, the historical temperature may refer to the temperature value obtained by the temperature measuring element or the temperature calculating element at the time of measurement or calculation, or it may be the temperature value at other times, which is obtained directly or indirectly based on the actual situation or operating status of the electrical equipment.
[0075] In this embodiment, the historical temperature between the first moment and the second moment may refer to the temperature at a certain moment (time point) between the first and second moments, or may refer to the average temperature of a certain period of time between the first and second moments, or may refer to the temperature obtained after calculation of the temperature values sampled at certain time points between the first and second moments. Other historical temperature calculation methods are also conceivable.
[0076] As an example, the historical temperature of at least one heat-generating component is directly measured by a temperature sensor.
[0077] Specifically, a temperature sensor may refer to a sensor that can sense temperature and convert it into a usable output signal. According to the measurement method, it can be divided into contact and non-contact types, and according to the sensor material and electronic component characteristics, it can be divided into thermal resistors and thermocouples. In some embodiments, the component may include internal devices and / or a housing, and the predicted temperature can be calculated based on the historical temperature information of the internal devices and / or the housing, which can improve the accuracy of the historical temperature information.
[0078] In this example, the temperature sensor can obtain the temperature value of the corresponding position based on different hardware characteristics at different temperatures. In the terminal device, there are usually temperature sensors at key nodes, such as SOC nodes, modem nodes, etc. For example, the temperature sensor can refer to a sensor that monitors the temperature on the SOC or the back cover of a mobile phone, such as an ADC (analog to digital converter).
[0079] As an example, the historical temperature of at least one heat-generating component is calculated by using the temperatures of other reference locations, where the temperatures of other reference locations include the temperatures of other components or structures of the electrical equipment except for the at least one heat-generating component.
[0080] Specifically, the historical temperature of the shell is calculated based on the temperatures of multiple reference positions, and the surface temperature at a future moment is predicted based on the calculated historical temperature. This can eliminate the need for a temperature sensor on the shell surface, making the surface of the electrical equipment simpler and easier to maintain.
[0081] In this example, the surface temperature sensor may be a non-physical sensor, which is obtained by fitting data from sensors at other locations (reference locations) such as a room temperature sensor, a SOC node temperature sensor, a system high temperature zone temperature sensor, and a mainboard temperature sensor.
[0082] S220. Use the historical temperature as an input of a temperature prediction model, and output a predicted temperature of the external surface of the electrical equipment at a third moment after the first moment and the second moment. The temperature prediction model characterizes the relationship between the historical temperature and the predicted temperature.
[0083] In this embodiment, the temperature prediction model may refer to a machine learning model or other artificial intelligence model for predicting temperature. A machine learning model may refer to an algorithm or mathematical function that can convert input data into a specific output. They are the core components of machine learning. Through training data, machine learning models can automatically learn and improve themselves, making them more accurate and effective when processing new data. Machine learning models are usually based on a specific algorithm or model structure. For example, a linear regression model uses a linear equation to model an output variable from data; a decision tree model classifies or predicts data based on a tree structure; a neural network model uses multiple layers of neurons to process complex data patterns, and so on.
[0084] Linear regression model can refer to a mathematical model that uses regression analysis in mathematical statistics to determine the quantitative relationship between two or more variables that are interdependent. For example, linear regression is a type of regression analysis that uses a least square function called a linear regression equation to model the relationship between one or more independent variables and a dependent variable. This function is a linear combination of one or more model parameters called regression coefficients. A simple regression is when there is only one independent variable, and a multiple regression is when there are more than one independent variable.
[0085] A neural network model can refer to a mathematical model described based on the mathematical model of neurons, represented by network topology, node characteristics and learning rules. For example, a neural network is a complex network system formed by a large number of simple processing units (called neurons) that are widely interconnected. It reflects many basic characteristics of human brain functions and is a highly complex nonlinear dynamic learning system. Neural network models include convolutional neural network models (CNN), deep neural network models (DNN), etc.
[0086] In this embodiment, the external surface temperature prediction can use a machine learning model to record historical temperatures to predict future shell temperatures. The input of the model is the factors that will affect the future rear shell temperature of the device. These data are stored as a piece of historical data. After the model is calculated, the output is the future surface temperature of the device after a period of time. When predicting the surface temperature, the core temperature and shell temperature data in multiple scenarios can be collected offline to train a surface temperature prediction model for predicting future temperatures. The historical core temperature and shell temperature are dynamically collected during system operation, and the surface temperature prediction model is used to predict the future surface temperature.
[0087] In this embodiment, the prediction of the external surface temperature can use a machine learning model to record historical temperatures and predict future surface temperatures. For example, a linear regression model can be used to predict the surface temperature n seconds later based on the SOC temperature and surface temperature n seconds ago. Specifically, first, the SOC and surface temperature change data of various scenarios can be collected in advance; then, the prediction model from historical temperature to surface temperature can be pre-trained in an offline environment; then, the SOC temperature and surface temperature data within n seconds are collected online; finally, the prediction model is used based on historical data to predict the surface temperature n seconds later. This embodiment can be expanded to a more complex model with more temperature sensors as input.
[0088] Figure 3 An example of the training process of the machine learning model in the surface temperature control method of the electrical equipment according to this embodiment is shown. Figure 3 As shown, in this example, the temperature prediction model is a regression model. During the training process, the temperature and load data of multiple scenarios are fed into the regression model to train the temperature prediction model (eg, shell temperature prediction model).
[0089] As an example, the power-consuming device includes a central processing unit, a graphics processing unit, and a double-speed memory, and the input further includes one or more of the load information of the central processing unit, the load information of the graphics processing unit, and the load information of the double-speed memory.
[0090] Figure 4 An example of the prediction process of the machine learning model in the surface temperature control method of the electrical equipment according to this embodiment is shown. Figure 4 As shown, in this example, the temperature prediction model is a linear regression model or a neural network model. In the prediction process, the SOC historical temperature, the back shell historical temperature, the modem historical temperature, the battery historical temperature, the CPU load, the GPU load, the DDR (double data rate, double read and write rate memory) load and (optionally) other device historical temperatures are input into the machine learning model (such as the shell temperature prediction model), and the predicted surface (such as the back shell) temperature can be calculated.
[0091] In this embodiment, the future moment may refer to a moment after the moment of the historical temperature. The specific time of the future moment may be set according to the needs of temperature prediction and the characteristics of the electrical equipment. For example, for electrical equipment with rapid temperature changes, the future moment may be closer, while for large electrical equipment with slow temperature changes, the future moment may be farther away. For ordinary electronic equipment, the future moment may be, for example, a few seconds, a dozen seconds, or even dozens of seconds in the future.
[0092] In this embodiment, the predicted temperature may refer to a temperature value that may be generated or reached in the future and is obtained through calculation of a temperature prediction model.
[0093] S230: Adjust the working state of the electrical equipment according to the predicted temperature to control the external surface temperature of the electrical equipment.
[0094] In this embodiment, the working status of the electrical equipment may refer to various indicators related to the working operation of the electrical equipment as a whole or each component of the electrical equipment (devices, parts, etc.), especially indicators related to energy consumption and heat, such as operating frequency, operating voltage, workload, operating temperature, electric energy consumed during operation, heat generated during operation, etc.
[0095] As an example, the operating status includes one or more of power consumption, voltage, frequency, and load.
[0096] In this embodiment, in order to adjust the working state of the electrical equipment according to the predicted temperature, a threshold value can be set. Once the predicted temperature reaches this threshold value, the energy consumption of the electrical equipment is reduced or even shut down. A reference value can also be calculated according to the predicted temperature. When this reference value enters a certain interval, the power consumption or load of the electrical equipment is controlled. Other technical means for controlling the working state according to the predicted temperature are also conceivable.
[0097] Figure 5 A flow chart of a method for controlling the surface temperature of an electrical device according to an embodiment of the present application is shown. In this embodiment, the working state of the heating device is controlled by allocating a limited ratio of device resources.
[0098] According to this embodiment, the method for controlling the surface temperature of an electrical device includes steps S510 to S570, and each step is described in detail below.
[0099] S510: Obtain a historical temperature of at least one heat-generating component located inside and / or outside the electrical equipment between a first moment and a second moment.
[0100] S520. Use the historical temperature as an input of a temperature prediction model, and output a predicted temperature of the external surface of the electrical equipment at a third moment after the first moment and the second moment. The temperature prediction model represents the relationship between the historical temperature and the predicted temperature.
[0101] For details about S510 to S520, please refer to Figure 2 The detailed description of S210 to S220 in the embodiment will not be repeated here.
[0102] S530: Determine the calorific value of each heat-generating component according to the working state of each heat-generating component in at least one heat-generating component and a heat capacity model, wherein the heat capacity model represents a mapping relationship between the working state of the heat-generating component and the calorific value.
[0103] In this embodiment, the working state may refer to the working state of the heating device at a certain moment or at the current moment of measurement or calculation, and may be a quantitative indicator such as working frequency, working voltage, etc., or a qualitative indicator such as low load, full load, overload, etc. Other forms of working states are also conceivable.
[0104] In this embodiment, in order to obtain the working status of each heating device, it can be directly obtained from the heating device, or it can be obtained from the input or output port of the heating device, for example, a monitor is set on the input line of the heating device to monitor the input voltage of the heating device, etc. Other acquisition methods are also conceivable.
[0105] In this embodiment, a heat capacity model between the working state and the heat generation of each of the multiple heat generation devices can be established through testing. Testing can refer to actually simulating the working process of the heat generation device by controlling variables and other means, so as to obtain the mapping relationship between the working state and the heat generation during the working process. For example, the heat generation device in the device is taken out or installed in place, and the heat generation of the heat generation device under the corresponding state is obtained by controlling the current input to the heat generation device or controlling the working indicators or parameters of other heat generation devices, and then these values are recorded, and these values are sorted or the heat capacity model is calculated based on these values.
[0106] In this embodiment, the working state may refer to an indicator or parameter related to the work of the heating device that can be measured or directly obtained. By determining these indicators or parameters, the working condition or operating state of the heating device can be determined, such as whether it is running at full load or whether the working efficiency is decreasing. The calorific value may refer to the heat generated by the heating device in a certain working state (such as working voltage, frequency, etc.) or other temperature values that can be obtained by external measurement means. The heat or temperature has a practical effect on the calorific value or surface temperature of the entire device. The heat capacity model may refer to a model that can reflect the corresponding relationship between the working state and the calorific value, which may be a function, a table, an algorithm model, a machine learning model, etc. For example, if the working state and the calorific value are a linear relationship model, then the heat capacity model is a linear function. For another example, if the relationship between the working state and the calorific value is complex and there is no obvious linear relationship, the relationship between them can be calculated or fitted according to a nonlinear function model or a machine learning model to obtain a corresponding heat capacity model.
[0107] In this embodiment, in order to establish a heat capacity model, the heat capacity parameters of the device can be obtained through testing, the heat capacity model of the device can be constructed, the operating status of the device such as the frequency point can be counted in real time, and the heat generation of the device can be calculated. For example, first, the heat capacity parameters of each heating device under different working conditions are obtained through offline testing. During operation, the distribution of the working status of each heating device in the previous cycle is periodically counted, and the corresponding heat generation of each device is calculated. For another example, a corresponding relationship table (heat capacity model) between the working status (frequency point or voltage, etc.) of each device and the temperature rise in the corresponding temperature zone can be obtained through thermal testing first; then, the operating status of each device in the system can be obtained in real time; finally, the heat generation is calculated using the operating status and the heat capacity model of the device.
[0108] In this embodiment, in order to establish a thermal capacity model and identify heat sources, the relationship between different operating states of each device (including different operating states of each sub-device of the device) and heat can be tested to establish a thermal model of each device; the operating state of the device over a period of time is counted in real time, and the heat generated by each device is calculated according to the thermal model; the total system resource limit ratio obtained by the shell temperature control module is proportionally allocated according to the device heat generated by the heat source identification module to obtain the usage limit ratio of each device, and the device with a larger heat generation will be allocated a larger limit ratio.
[0109] Figure 6 An example of a heat capacity model between the working state and the heat generation in the surface temperature control method of the electric equipment according to this embodiment is shown. Figure 6 As shown in the figure, different heat capacity models can be established according to the different characteristics of each heat generating device. Figure 6 In the embodiment, the heat generating devices include CPU, GPU and DDR, which respectively have the operating state (i.e., working state) and heat generation of CPU, the operating state and heat generation of GPU, and the operating state and heat generation of DDR. A CPU thermal capacity model can be established between the operating state and heat generation of CPU. A GPU thermal capacity model can be established between the operating state and heat generation of GPU. A DDR thermal capacity model can be established between the operating state and heat generation of DDR. In addition to these devices, those skilled in the art should know that thermal capacity models between the working state and heat generation can also be established for other devices (such as batteries, modems, SOCs, etc.).
[0110] In this embodiment, in order to determine the calorific value of each heating device according to the working state of each heating device and the heat capacity model of each heating device, the working state value or the working state converted into a specific value can be input into the heat capacity model, and the calorific value of each heating device can be calculated or fitted through the model; or an intermediate value can be calculated according to the working state value combined with other parameters, and then the intermediate value is input into the heat capacity model to calculate or fit the calorific value of the heating device. Other methods are also conceivable.
[0111] S540: Determine a resource restriction ratio of each heat-generating component according to the predicted temperature and the heat generation of each heat-generating component, where the resource restriction ratio represents a reduction ratio of one or more of power consumption, voltage, frequency, and load of the heat-generating component.
[0112] In this embodiment, the resource restriction ratio may refer to the reduction ratio of the power consumption, frequency, voltage or other resources required for normal operation of the power-consuming device. The resource restriction ratio of the power-consuming device may refer to the overall resource restriction ratio for the device, which is used to indicate the extent to which the resource usage (energy consumption, operating frequency, voltage, etc.) of the device will be restricted, and may be expressed as a percentage.
[0113] In this example, in order to determine the resource restriction ratio of the electrical device according to the predicted temperature, it is possible to first determine whether the electrical device needs to restrict resources according to the predicted temperature. If the predicted temperature exceeds a certain threshold or the rise amplitude or speed exceeds a certain threshold, it is determined that the resources of the electrical device need to be restricted; then, the resource restriction ratio that the entire device needs to adopt is determined according to the relationship between the predicted temperature value and the threshold, or an intermediate parameter is calculated according to the predicted temperature value, and the resource restriction ratio is determined according to the intermediate parameter. Of course, those skilled in the art can think of other ways to determine the resource restriction ratio of the device according to the predicted temperature.
[0114] Figure 7 FIG. 2 shows a mapping relationship between the predicted surface temperature and the resource restriction ratio in the method for controlling the surface temperature of an electric device according to this embodiment. Figure 7 As shown, a predicted surface temperature-resource limit ratio mapping relationship table is established based on the thermal model. When the surface temperature reaches 40 degrees, the limit begins, and when it reaches 48 degrees, the limit is 100%. According to the predicted surface temperature, the total resource limit ratio of the system is obtained by query.
[0115] In order to control the surface temperature, the system resources can be restricted according to the predicted surface temperature. The overall trend here is that the higher the predicted surface temperature, the greater the restriction ratio of the system resources, that is, the greater the reduction of the heat generated by the heating device, thereby quickly cooling down. When performing surface temperature control, the thermal model between different resource restriction ratios and surface temperature of the system can be tested, and the total resource restriction ratio of the system can be calculated from the thermal model according to the future surface temperature obtained by the surface temperature prediction module.
[0116] S540: Determine a resource restriction ratio of each heat-generating component according to the predicted temperature and the heat generation of each heat-generating component, where the resource restriction ratio represents a reduction ratio of one or more of power consumption, voltage, frequency, and load of the heat-generating component.
[0117] In this embodiment, the resource restriction ratio of each heating device may refer to the resource restriction ratio for a single device, which is used to indicate the extent to which the used resources (frequency, voltage, etc.) of the device will be restricted, and may be expressed as a percentage.
[0118] In this embodiment, in order to distribute the resource restriction ratio of the electrical equipment to multiple heaters according to the heat generation of each heating device to obtain the resource restriction ratio of each heating device, it is firstly determined whether resource restriction is required or to what extent resource restriction is required according to the heat generation of each of the multiple heating devices (and their own performance characteristics), and then according to this result, the overall resource restriction ratio of the equipment is distributed to each heating device, so that the device that needs to be significantly restricted obtains a larger resource restriction ratio, and the device that only needs to be less restricted obtains a smaller resource restriction ratio. Other allocation methods are also conceivable.
[0119] In this embodiment, the resource limit ratio can be allocated according to the heat generation ratio. According to the heat generation of each heat generating device in each execution cycle, the principle of allocating the resource limit ratio according to the heat generation ratio is that for a device with a large heat generation, the resource limit ratio is larger, and for a device with a small heat generation, the resource limit ratio is smaller.
[0120] In this embodiment, the resource limit ratio can be allocated according to the heat generation ratio. For example, the resource ratio available to each device can be calculated according to the following formula:
[0121]
[0122] Where p is the total resource ratio obtained by shell temperature control, t i is the heat generated by device i, p i The resource ratio allocated to device i. For devices with multiple sub-devices (for example, a CPU with multiple clusters), the sub-device resource limit ratio can inherit the device limit ratio. When allocating device resource limit ratios, for devices with multiple sub-modules, according to the heat generation (thermal model) and performance of each sub-module under different operating conditions, the optimization problem can be solved to achieve the best performance of the sub-device limit combination while satisfying the device temperature rise limit.
[0123] Figure 8 FIG. 2 shows an example of resource restriction ratio allocation in the method for controlling the surface temperature of an electric device according to this embodiment. Figure 8As shown, the heat generating devices may include CPU, GPU and DDR, among which the CPU generates the most heat (i.e., the operating temperature), the GPU generates the second most heat, and the DDR generates the least heat. Therefore, the CPU resource restriction ratio is the largest, the GPU resource restriction ratio is the second most, and the DDR resource restriction ratio is the smallest. In other words, different device resource restriction ratios are allocated to the CPU, GPU and DDR according to their different operating temperatures. For example, the higher the operating temperature of the device, the greater the device resource restriction ratio allocated.
[0124] S550: Control the working state of each heat-generating component according to the resource limit ratio to control the external surface temperature of the electrical equipment.
[0125] In this embodiment, in order to control the working state of each heating device according to the resource limit ratio of each heating device, the working frequency of the heating device can be controlled according to the ratio, or the working voltage or current of the heating device can be controlled. The control can be performed directly according to the resource limit ratio of each heating device, for example, the working frequency is reduced by a ratio that is equal to the resource limit ratio. The control can also be performed indirectly according to the resource limit ratio, for example, an intermediate parameter or ratio is calculated according to the limit ratio, and the heating device is controlled according to the intermediate ratio. Other control methods are also conceivable.
[0126] In this embodiment, in order to achieve device cooling control, the working state of the heat generating components can be adjusted to reduce heat generation. For example, the device cooling control can be achieved by calling the corresponding interface provided by the hardware driver according to the obtained target resource limit ratio of each heat generating component.
[0127] Specifically, to control the working state of each heat-generating device, dynamic frequency modulation can be adopted to dynamically adjust the maximum operating frequency capabilities of devices such as CPU, GPU, DDR, etc., for example, through DVFS technology.
[0128] As an example, at least one heat-generating component includes a first heat-generating component, and the first heat-generating component includes a plurality of heat-generating subcomponents. At this time, the surface temperature control method of the electrical equipment may further include: with the goal of maximizing the performance of the first heat-generating component, allocating the resource restriction ratio of the first heat-generating component to the plurality of heat-generating subcomponents to determine the resource restriction ratio of each heat-generating subcomponent in the plurality of heat-generating subcomponents; and controlling the working state of each heat-generating subcomponent based on the resource restriction ratio of each heat-generating subcomponent.
[0129] As an example, in order to allocate the resource limitation of the first heat-generating component to multiple heat-generating sub-components, the resource limitation ratio of each heat-generating sub-component can be determined based on the resource limitation ratio of the first heat-generating component and a mapping table. The mapping table records multiple resource limitation ratios corresponding to the first heat-generating component, and the resource limitation ratios of multiple heat-generating sub-components corresponding to each of the multiple resource limitation ratios.
[0130] In this example, the first heat-generating device may refer to a device having multiple sub-devices, which may have separate functions, energy consumption performance or performance characteristics. Control of the sub-devices may directly or indirectly affect the heat generation or energy consumption of the entire device.
[0131] In this example, the mapping table between the resource limitation ratio of the first heat generating device and the resource limitation ratios of multiple heat generating sub-devices of the first heat generating device may refer to a mapping table used to describe the relationship between the value of the resource limitation ratio of the first heat generating device and the value of the resource limitation ratio of each heat generating sub-device. Through this mapping table, the resource limitation ratio that each heat generating sub-device should obtain can be quickly determined according to the given value of the resource limitation ratio of the first heat generating device, thereby limiting the resources or working indicators of the heat generating sub-device.
[0132] In this example, the resource restriction ratios of each heating sub-component are determined based on the resource restriction ratio of the first heating component and the mapping table. The resource restriction ratios of each heating sub-component can be queried in the mapping table according to the value of the resource restriction ratio of the first heating component. The restriction ratio values of each heating sub-component can be directly obtained from the mapping table, or the restriction ratio values of each heating sub-component can be calculated according to the values in the mapping table. Other methods of obtaining the resource restriction ratios of heating sub-components using the mapping table are also conceivable.
[0133] In this example, for a first heat generating device having multiple heat generating sub-devices (for example, a CPU having multiple clusters), the resource limit ratio of the heat generating sub-devices can be selected in a manner that maximizes performance under the condition of satisfying the temperature limit. This problem can be formally defined as:
[0134] max Cap=∑cap i
[0135] st∑Δt i <T
[0136] In the formula, cap i is the performance of sub-device i, Δt i is the temperature rise of sub-device i, and T is the temperature rise of the device.
[0137] In this example, in order to establish the relationship between the resource restriction ratio of the first heat generating component and the resource restriction ratio of each heat generating sub-component, a mapping table of CPU restriction ratio and sub-component optimal restriction ratio combination can be constructed, and the optimal sub-component restriction combination can be found according to the table.
[0138] Fig. 9 FIG. 2 shows an example of resource restriction ratio allocation of heating sub-components in the surface temperature control method of electrical equipment according to this embodiment. Fig. 9 As shown, a resource restriction ratio mapping table between the first heating component and each heating sub-component may be established according to the temperature-frequency characteristics and performance-frequency characteristics of each heating sub-component. Fig. 9 Taking the CPU and the multiple clusters it contains as an example, when the CPU's temperature limit ratio (i.e., the resource limit ratio of the first heating component) is 0, the heating sub-component does not need to limit resources, so the resource limit ratios of cluster0, cluster1, and cluster2 are all 0. When the CPU's temperature limit ratio is 5 (for example, 5%), according to the characteristics of different heating sub-components, the resource limit ratios of cluster0 and cluster1 are 5, and the resource limit ratio of cluster2 is 0. When the CPU's temperature limit ratio is 10, according to the characteristics of different heating sub-components, the resource limit ratios of cluster0, cluster1, and cluster2 are all 10.
[0139] As an example, the electrical device further includes a cooling device for cooling a target device of the electrical device. At this time, in order to adjust the working state of the electrical device according to the predicted temperature to control the surface temperature of the electrical device, the cooling target temperature of the target device can be first determined according to the predicted temperature; then, according to the cooling target temperature, the working state of the cooling device is controlled to cool the target device to the cooling target temperature.
[0140] In this example, in order to lower the temperature of the target heat-generating device or component, in addition to adjusting the working state of the device and consuming resources, the working state of the cooling device used to dissipate heat or cool the device can also be adjusted. When the temperature of the target device is too high and requires greater cooling, the working state of the cooling device can be adjusted to high-intensity operation, thereby increasing the heat dissipation strength, so that the temperature reduction range of the target device is larger. When the temperature of the target device is low and only a small degree of cooling is required, the working state of the cooling device can be adjusted to low-intensity operation, thereby reducing the heat dissipation strength, so that the temperature reduction range of the target device is smaller.
[0141] Specifically, the surface temperature control method of the electrical equipment according to this embodiment can be applied to PC (personal computer) or notebook platforms. The difference from the terminal platform is that the cooling device on the PC and notebook platforms is an active cooling method, such as a fan, while the cooling device on the terminal platform is a passive method, which achieves the purpose of cooling by reducing the frequency of the device. The technical solution on the PC platform can modify the cooling device part from the heat capacity model to the fan heat dissipation capacity model. On the notebook platform, the surface temperature in the embodiment of the present application can be specifically defined as, for example, the shell or keyboard temperature.
[0142] Fig.10 A schematic block diagram of a method for controlling the surface temperature of an electric device according to an embodiment of the present application is shown. The difference between this embodiment and other embodiments is that in this embodiment, the surface temperature of the electric device is specifically the outer shell temperature (shell temperature), and a SOC overheat protection mechanism is set.
[0143] According to this embodiment, the temperature sensor obtains the temperature value of the corresponding position based on different hardware characteristics at different temperatures. The shell temperature prediction module uses a machine learning model to record historical temperatures and predict future shell temperatures. The shell temperature control module limits system resources based on the predicted shell temperature. The device heat source identification module obtains the device thermal capacity parameters through testing, constructs a device thermal capacity model, and real-time statistics of the device frequency and other operating conditions to calculate the device heat generation. The device heat source allocation module allocates resource limit ratios according to the heat generation ratio. The device cooling control module adjusts the working state of the heat-generating components to reduce heat generation. The SOC overheating protection module controls the device temperature of the electrical equipment based on the temperature obtained by directly measuring the SOC to prevent the SOC from overheating, avoids the deviation or hysteresis effect that may be caused by indirectly controlling the device temperature based on the shell temperature, and realizes double protection of the SOC.
[0144] In this embodiment, the shell temperature prediction module obtains the required temperature data through the hardware temperature sensor, obtains the target working state of the device after being processed by the subsequent modules, and finally adjusts the hardware to the corresponding working state.
[0145] Based on the above Figure 2 The method embodiment described above, the present application embodiment also provides a surface temperature control device 1100 for electrical equipment, the structural diagram of which is shown in FIG. Fig.11 The device is used to perform the above Figure 2 The various steps in .
[0146] According to this embodiment, the surface temperature control device of the electric equipment includes an acquisition module 1110, a prediction module 1120 and an adjustment module 1130. The acquisition module 1110 is used to acquire the historical temperature of at least one heat-generating component located inside and / or outside the electric equipment between the first moment and the second moment; the prediction module 1120 is used to use the historical temperature as the input of the temperature prediction model, and output the predicted temperature of the external surface of the electric equipment at the third moment after the first moment and the second moment, and the temperature prediction model characterizes the relationship between the historical temperature and the predicted temperature; the adjustment module 1130 is used to adjust the working state of the electric equipment according to the predicted temperature to control the external surface temperature of the electric equipment.
[0147] It should be noted that Fig.11 The electrical equipment surface temperature control device 1100 provided in the embodiment shown in the figure is used only as an example to illustrate the division of the above-mentioned functional modules when executing the electrical equipment surface temperature control method. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the electrical equipment surface temperature control device 1100 provided in the above embodiment is different from Figure 2 The method embodiments shown belong to the same concept, and their specific implementation processes are detailed in the method embodiments, which will not be repeated here.
[0148] Fig.12 The schematic diagram of the architecture of the power-consuming device 1200 according to an embodiment of the present application is shown. The difference between this embodiment and other embodiments is that in this embodiment, the power-consuming device is specifically an electronic product, such as a computer, a smart phone, a smart watch, etc., including software and hardware, wherein the software includes an operating system and an application program, and the hardware includes a CPU, a GPU, etc.
[0149] In the electric device 1200 of this embodiment, a product implementation form of the electric device surface temperature control method is provided, which may be a program code included in the operating system kernel and deployed on the terminal device hardware. Fig.12 As shown, the program codes for executing the surface temperature control method of the electric device exist in the operating system kernel of the platform software. During operation, these program codes run in the host memory of the terminal device. Fig.12 The implementation form of the surface temperature control method of the electric equipment in the server and platform software is given. The thermal management module shown in the figure is a module modified on the basis of the platform software in this embodiment. Inside the thermal management module, the electric equipment 1200 implements shell temperature prediction, shell temperature control, device heat source identification, device resource allocation and SOC overheating protection.
[0150] Fig.13 A schematic diagram of the hardware structure of an electric device 1300 according to another embodiment of the present application is shown.
[0151] See also Fig.13 The electric device 1300 includes a processor 1310, a memory 1320, a communication interface 1330, and a bus 1340, and the processor 1310, the memory 1320, and the communication interface 1330 are connected to each other through the bus 1340. The processor 1310, the memory 1320, and the communication interface 1330 may also be connected in other connection modes besides the bus 1340.
[0152] Among them, the memory 1320 can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, optical storage, hard disk, etc.
[0153] The processor 1310 may be a general-purpose processor, which may be a processor that performs specific steps and / or operations by reading and executing the contents stored in a memory (e.g., the memory 1320). For example, the general-purpose processor may be a CPU. The processor 1310 may include at least one circuit to perform Figure 2 The illustrated embodiment provides all or part of the steps of the method for controlling the surface temperature of electrical equipment.
[0154] Among them, the communication interface 1330 includes input / output (I / O) interfaces, physical interfaces, and logical interfaces for interconnecting devices inside the power-consuming device 1300, as well as interfaces for interconnecting the power-consuming device 1300 with other devices (such as other power-consuming devices or user devices). The physical interface may be an Ethernet interface, an optical fiber interface, an ATM interface, etc. The communication interface 1330 may be connected to an external input device and an output device. For example, the input device may be a microphone or a microphone array for capturing voice input signals; it may be a communication network connector for receiving collected input signals from the cloud or other devices; it may also include, for example, a keyboard, a mouse, and the like. The output device may output various information to the outside, including determined distance information, direction information, and the like. The output device may include, for example, a display, a speaker, a printer, a communication network, and a remote output device connected thereto, and the like.
[0155] The bus 1340 may be any type of communication bus for interconnecting the processor 1310 , the memory 1320 , and the communication interface 1330 , such as a system bus.
[0156] The above devices may be arranged on independent chips, or at least partially or completely on the same chip. Whether to arrange each device independently on different chips or to integrate them on one or more chips often depends on the needs of product design. The embodiments of the present application do not limit the specific implementation form of the above devices.
[0157] Fig.13 The electric device 1300 shown is merely exemplary. During implementation, the electric device 1300 may further include other components, which are not listed one by one herein.
[0158] An embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the method for controlling the surface temperature of electrical equipment according to various embodiments of the present application described above in this specification.
[0159] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0160] The embodiment of the present application also provides a chip system. The chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement the steps of any method for controlling the surface temperature of an electrical device in the present application. The chip system can be a single chip or a chip module composed of multiple chips.
[0161] The concepts, principles and ideas of the present application are described in detail above in conjunction with specific implementation methods (including embodiments and examples). Those skilled in the art should understand that the implementation methods of the present application are more than the forms given above. After reading the application documents, those skilled in the art can make any possible improvements, replacements and equivalent forms to the steps, methods, devices and components in the above implementation methods, and these improvements, replacements and equivalent forms should be deemed to fall within the scope of the present application. The scope of protection of the present application shall be subject only to the claims.
Claims
1. A method for controlling the surface temperature of electrical equipment, characterized in that: The method comprises: Acquire a historical temperature of at least one heat-generating component located inside and / or outside the electrical device between a first moment and a second moment; Using the historical temperature as an input of a temperature prediction model, outputting a predicted temperature of the external surface of the electrical equipment at a third moment after the first moment and the second moment, wherein the temperature prediction model characterizes a relationship between the historical temperature and the predicted temperature; According to the predicted temperature, adjusting the working state of the at least one heat-generating component of the electrical equipment to control the external surface temperature of the electrical equipment; Wherein, adjusting the working state of the at least one heating component of the electrical equipment according to the predicted temperature includes: Determine the calorific value of each heat-generating component according to the working state of each heat-generating component in the at least one heat-generating component and a heat capacity model, wherein the heat capacity model represents a mapping relationship between the working state of the heat-generating component and the calorific value; Determine a resource restriction ratio of each heat-generating component according to the predicted temperature and the heat generation of each heat-generating component, wherein the resource restriction ratio indicates a reduction ratio of one or more of power consumption, voltage, frequency, and load of the heat-generating component; According to the resource limit ratio, the working state of each heat generating component is controlled.
2. The method according to claim 1, characterized in that The at least one heat-generating component includes a first heat-generating component, the first heat-generating component includes a plurality of heat-generating subcomponents, and the method further includes: With the goal of maximizing the performance of the first heat-generating component, allocating the resource limit ratio of the first heat-generating component to the multiple heat-generating sub-components to determine the resource limit ratio of each heat-generating sub-component in the multiple heat-generating sub-components; Based on the resource limit ratio of each heat generating subcomponent, the working state of each heat generating subcomponent is controlled.
3. The method according to claim 2, characterized in that The allocating the resource limit of the first heat generating component to the plurality of heat generating sub-components comprises: Based on the resource limitation ratio of the first heat-generating component and a mapping table, the resource limitation ratios of the various heat-generating sub-components are determined. The mapping table records a plurality of resource limitation ratios corresponding to the first heat-generating component, and the resource limitation ratios of the plurality of heat-generating sub-components corresponding to each of the plurality of resource limitation ratios.
4. The method according to claim 1, characterized in that The determining the resource limit ratio of each heat generating component according to the predicted temperature and the heat generated by each heat generating component includes: Determining a resource restriction ratio of the electrical equipment according to the predicted temperature; According to the heat generation of each heat-generating component, the resource limit ratio of the electric device is allocated to the plurality of heat-generating components to obtain the resource limit ratio of each heat-generating component.
5. The method according to any one of claims 1 to 4, characterized in that The working status includes one or more of power consumption, voltage, frequency and load.
6. The method according to any one of claims 1 to 4, characterized in that The at least one heat generating component includes one or more of a system-level chip, a modem, a housing of an electric device, and a battery.
7. The method according to any one of claims 1 to 4, characterized in that The historical temperature of the at least one heat-generating component is directly measured by a temperature sensor; or, the historical temperature of the at least one heat-generating component is calculated by temperatures of other reference positions, and the temperatures of the other reference positions include temperatures of other components or structures of the electrical equipment except the at least one heat-generating component.
8. The method according to any one of claims 1 to 4, characterized in that The power-consuming device includes a central processing unit, a graphics processing unit and a double-speed memory, and the input also includes one or more of the load information of the central processing unit, the load information of the graphics processing unit and the load information of the double-speed memory.
9. The method according to any one of claims 1 to 4, characterized in that: The electrical device further includes a cooling device for cooling a target device of the electrical device, and adjusting the working state of the at least one heat-generating component of the electrical device according to the predicted temperature to control the surface temperature of the electrical device includes: Determining a cooling target temperature of the target device according to the predicted temperature; According to the cooling target temperature, the working state of the cooling device is controlled to cool the target device to the cooling target temperature.
10. A surface temperature control device for electrical equipment, characterized in that: The device comprises: An acquisition module, used to acquire a historical temperature of at least one heat-generating component located inside and / or outside the electrical device between a first moment and a second moment; A prediction module, configured to use the historical temperature as an input of a temperature prediction model, and output a predicted temperature of the external surface of the electrical equipment at a third moment after the first moment and the second moment, wherein the temperature prediction model characterizes a relationship between the historical temperature and the predicted temperature; an adjustment module, configured to adjust the working state of the at least one heat-generating component of the electrical device according to the predicted temperature, so as to control the external surface temperature of the electrical device; Wherein, the adjustment module is further configured to: Determine the calorific value of each heat-generating component according to the working state of each heat-generating component in the at least one heat-generating component and a heat capacity model, wherein the heat capacity model represents a mapping relationship between the working state of the heat-generating component and the calorific value; Determine a resource restriction ratio of each heat-generating component according to the predicted temperature and the heat generation of each heat-generating component, wherein the resource restriction ratio indicates a reduction ratio of one or more of power consumption, voltage, frequency, and load of the heat-generating component; According to the resource limit ratio, the working state of each heat generating component is controlled.
11. The device according to claim 10, characterized in that The at least one heat generating component includes a first heat generating component, the first heat generating component includes a plurality of heat generating sub-components, and the device further includes: an allocation module, configured to allocate the resource limit ratio of the first heat-generating component to the plurality of heat-generating subcomponents with the goal of maximizing the performance of the first heat-generating component, so as to determine the resource limit ratio of each heat-generating subcomponent in the plurality of heat-generating subcomponents; The control module is used to control the working state of each heat generating sub-component based on the resource limit ratio of each heat generating sub-component.
12. The device according to claim 11, characterized in that The allocation module is further configured to: Based on the resource limitation ratio of the first heat-generating component and a mapping table, the resource limitation ratios of the various heat-generating sub-components are determined. The mapping table records a plurality of resource limitation ratios corresponding to the first heat-generating component, and the resource limitation ratios of the plurality of heat-generating sub-components corresponding to each of the plurality of resource limitation ratios.
13. The device according to claim 10, characterized in that The adjustment module is further configured to: Determining a resource restriction ratio of the electrical equipment according to the predicted temperature; According to the heat generation of each heat-generating component, the resource limit ratio of the electric device is allocated to the plurality of heat-generating components to obtain the resource limit ratio of each heat-generating component.
14. The device according to any one of claims 10 to 13, characterized in that The working status includes one or more of power consumption, voltage, frequency and load.
15. The device according to any one of claims 10 to 13, characterized in that The at least one heat generating component includes one or more of a system-level chip, a modem, a housing of an electric device, and a battery.
16. The device according to any one of claims 10 to 13, characterized in that The historical temperature of the at least one heat-generating component is directly measured by a temperature sensor; or, the historical temperature of the at least one heat-generating component is calculated by temperatures of other reference positions, and the temperatures of the other reference positions include temperatures of other components or structures of the electrical equipment except the at least one heat-generating component.
17. The device according to any one of claims 10 to 13, characterized in that The power-consuming device includes a central processing unit, a graphics processing unit and a double-speed memory, and the input also includes one or more of the load information of the central processing unit, the load information of the graphics processing unit and the load information of the double-speed memory.
18. The device according to any one of claims 10 to 13, characterized in that The electrical device further includes a cooling device for cooling a target device of the electrical device, and the adjustment module is further configured to: Determining a cooling target temperature of the target device according to the predicted temperature; According to the cooling target temperature, the working state of the cooling device is controlled to cool the target device to the cooling target temperature.
19. An electrical equipment, characterized in that: The electrical equipment comprises a processor and a memory, and the processor is used to execute a computer program stored in the memory to implement the surface temperature control method of the electrical equipment according to any one of claims 1 to 9.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to execute the surface temperature control method of an electrical equipment according to any one of claims 1 to 9.
21. A chip system, characterized in that: The chip system includes a processor, which is coupled to a memory. The processor executes a computer program stored in the memory to implement the steps of the method for controlling the surface temperature of an electrical equipment according to any one of claims 1 to 9.
Citation Information
Patent Citations
Temperature control system and temperature control method of device
CN112416034A
Method, device and equipment for temperature control and storage medium
CN116126052A
Cited By
Electric device, electric device surface temperature control method, electric device surface temperature control apparatus, medium, and chip system
EP4769055A1
Electric device, electric device surface temperature control method, electric device surface temperature control apparatus, medium, and chip system
WO2025067054A1
