Fan control method, intelligent equipment and storage medium

By querying the temperature power consumption relationship table and adjusting the fan gear, it is positively correlated with the temperature value, the problem of excessive fan power consumption in smart devices is solved, and the effect of reducing overall energy consumption and improving user experience is achieved.

CN119957535APending Publication Date: 2025-05-09SHANGHAI WEIJING SEMICONDUCTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510202600.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

The power consumption of fans in smart devices is too high, which affects the overall energy consumption and user experience of the device.

Method used

By querying the temperature power consumption relationship table, calculate the temperature estimate based on the actual operating frequency, operating voltage and power consumption value, and adjust the fan gear according to the internal temperature to make it positively correlated with the temperature value.

Benefits of technology

The fan is realized to operate according to the working conditions, reduce fan power consumption, reduce the overall energy consumption of smart devices, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119957535A_ABST
    Figure CN119957535A_ABST
Patent Text Reader

Abstract

The invention provides a fan control method, intelligent equipment and a storage medium, the fan control method is applied to the intelligent equipment, the intelligent equipment is provided with a fan, and the method comprises the steps that according to the actual working frequency, the actual working voltage and the actual power consumption value, a temperature power consumption relation table is inquired to obtain a corresponding temperature estimated value; the temperature and power consumption relation table comprises a working parameter combination and a mapping relation among a power consumption value and a temperature estimated value, and the working parameter combination comprises working frequency and working voltage; obtaining a first temperature value according to the temperature estimated value and the internal temperature; and the gear of the fan is adjusted according to the first temperature value, so that the gear is in positive correlation with the first temperature value. The fan can operate according to working condition requirements, fan power consumption is reduced, the overall energy consumption of the intelligent equipment is reduced, and the use experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a fan control method, an intelligent device and a storage medium. Background Art

[0002] Power consumption is a very important parameter to measure the equipment. Higher power consumption means more battery consumption and higher usage cost.

[0003] With the increasing application of smart devices, low-power design has received more and more attention.

[0004] If the fan always provides wind force at the minimum gear, this will affect the use effect. If the fan always provides wind force at the maximum gear, this will cause excessive power consumption. Summary of the invention

[0005] The present application provides a fan control method, a smart device and a storage medium, by which the fan can operate according to working conditions, reduce fan power consumption, and thus reduce the overall energy consumption of the smart device and improve the user experience.

[0006] In a first aspect, the present application provides a fan control method, which is applied to a smart device, wherein the smart device is equipped with a fan, and the method comprises the steps of:

[0007] According to the actual operating frequency, the actual operating voltage and the actual power consumption value, query the temperature power consumption relationship table to obtain the corresponding temperature estimated value; the temperature power consumption relationship table includes a mapping relationship between the operating parameter combination, the power consumption value and the temperature estimated value, and the operating parameter combination includes the operating frequency and the operating voltage;

[0008] Obtaining a first temperature value according to the temperature estimation value and the internal temperature;

[0009] The gear position of the fan is adjusted according to the first temperature value, so that the gear position is positively correlated with the first temperature value.

[0010] In some embodiments, adjusting the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value comprises the steps of:

[0011] According to the current preset temperature range to which the first temperature value belongs, controlling the fan to provide wind force at a gear corresponding to the current preset temperature range; or,

[0012] According to a next preset temperature range of the current preset temperature range to which the first temperature value belongs, controlling the fan to provide wind force at a gear corresponding to the next preset temperature range, the next preset temperature range being a preset temperature range adjacent to the current preset temperature range along a direction in which the first temperature value changes;

[0013] Among them, the size of the wind force is positively correlated with the gear position, the size of the gear position is positively correlated with the size of the preset temperature range, and the upper temperature limit value of one of the two adjacent preset temperature ranges is equal to the lower temperature limit value of the other preset temperature range.

[0014] In some embodiments, before adjusting the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value, the step of:

[0015] A second temperature value is obtained by adding and calculating the ambient temperature and the temperature rise setting value;

[0016] The step of adjusting the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value comprises the following steps:

[0017] According to a comparison result between the first temperature value and the second temperature value, the gear position of the fan is adjusted according to the comparison result, so that the gear position is positively correlated with the first temperature value.

[0018] In some embodiments, obtaining the first temperature value according to the temperature estimation value and the internal temperature comprises the steps of:

[0019] A first calculation result is obtained according to the temperature estimation value and a first weight value, and a second calculation result is obtained according to the internal temperature and a second weight value; the sum of the first weight value and the second weight value is equal to 1;

[0020] The first temperature value is obtained by adding the first calculation result and the second calculation result.

[0021] In some embodiments, the step of adjusting the gear position of the fan according to the comparison result between the first temperature value and the second temperature value so that the gear position is positively correlated with the first temperature value comprises the following steps:

[0022] If the comparison result is that the first temperature value is less than the second temperature value, controlling the fan to stop working;

[0023] If the comparison result is that the first temperature value is within any of the set temperature ranges among the multiple set temperature ranges, the fan is controlled to provide wind force at a corresponding gear according to the set temperature range, the lower temperature limit of the set temperature range is at least greater than or equal to the second temperature value, and the upper temperature limit of one of the two adjacent set temperature ranges is equal to the lower temperature limit of the other set temperature range;

[0024] Among them, the size of the wind force is positively correlated with the gear position, and the upper temperature limit value of one of the two adjacent set temperature ranges is equal to the lower temperature limit value of the other set temperature range; the size of the gear position is positively correlated with the size of the set temperature range, and the upper temperature limit value of one of the two adjacent set temperature ranges is equal to the lower temperature limit value of the other set temperature range.

[0025] In some embodiments, the querying of the temperature-power consumption relationship table to obtain the corresponding temperature estimation value according to the actual operating frequency, the actual operating voltage and the actual power consumption value comprises the following steps:

[0026] Create the temperature-power consumption relationship table.

[0027] In some embodiments, the smart device includes a storage module and a system-level chip, the system-level chip includes multiple functional modules, and the creation of the temperature power consumption relationship table includes the steps of:

[0028] Acquire the first static power consumption and the first dynamic power consumption respectively corresponding to each of the functional modules under a plurality of configuration parameter combinations; the configuration parameter combinations include an operating voltage and an operating frequency;

[0029] Acquire the second static power consumption and the second dynamic power consumption respectively corresponding to the storage module under a plurality of operating parameter combinations; the operating parameter combination includes the configuration parameter combination and the performance parameter;

[0030] Calculate a corresponding first power consumption value according to the first static power consumption and the first dynamic power consumption;

[0031] Calculate a corresponding second power consumption value according to the second static power consumption and the second dynamic power consumption;

[0032] The temperature-power-consumption relationship table is created according to the first power consumption values ​​corresponding to each of the functional modules under the plurality of configuration parameter combinations, the second power consumption values ​​corresponding to each of the storage modules under the plurality of configuration parameter combinations, and the temperature estimation value.

[0033] In some embodiments, calculating the corresponding first power consumption value according to the first static power consumption and the first dynamic power consumption includes the steps of:

[0034] The first power consumption value is obtained according to the sum of the multiplication result and the first static power consumption, wherein the multiplication result is the product of the first dynamic power consumption and the frequency ratio, and the frequency ratio is the quotient of the actual operating frequency as the dividend and the maximum operating frequency as the divisor.

[0035] In a second aspect, the present application further provides a smart device, wherein the smart device is equipped with a fan, and the smart device comprises:

[0036] A query module, used to query a temperature-power consumption relationship table to obtain a corresponding temperature estimated value according to the actual operating frequency, the actual operating voltage and the actual power consumption value; the temperature-power consumption relationship table includes a mapping relationship between an operating parameter combination, a power consumption value and a temperature estimated value, and the operating parameter combination includes an operating frequency and an operating voltage;

[0037] A processing module, configured to obtain a first temperature value according to the temperature estimate and the internal temperature;

[0038] A control module is used to adjust the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value.

[0039] In a third aspect, the present application also provides that when the computer program is executed by a processor, the steps of the fan control method in the first aspect are executed.

[0040] The fan control method, smart device and storage medium provided by the present application, the smart device is equipped with a fan, the method includes the steps of: querying the temperature power consumption relationship table to obtain the corresponding temperature estimation value according to the actual working frequency, the actual working voltage and the actual power consumption value; the temperature power consumption relationship table includes the mapping relationship between the working parameter combination, the power consumption value and the temperature estimation value, and the working parameter combination includes the working frequency and the working voltage; obtaining a first temperature value according to the temperature estimation value and the internal temperature; adjusting the gear position of the fan according to the first temperature value, so that the gear position is positively correlated with the first temperature value. The fan of the present application can operate according to the working condition requirements, reduce the fan power consumption, thereby reducing the overall energy consumption of the smart device and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0042] Figure 1 It is a flow chart of a fan control method provided in an embodiment of the present application;

[0043] Figure 2 It is a flowchart of an example of a fan control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0045] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0046] In order to enable any person skilled in the art to implement and use the present application, the following description is provided. In the following description, details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art can recognize that the present application can also be implemented without using these specific details. In other examples, the known process will not be elaborated in detail to avoid unnecessary details that make the description of the present application embodiment obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in accordance with the embodiments of the present application.

[0047] A fan is a common mechanical device that generates airflow by rotating blades. It is widely used in many fields, including but not limited to household electric fans, cooling fans of computers and other equipment, cooling fans of air conditioning systems, cooling fans of vehicle systems, etc. In short, fans are widely used, almost involving every corner where air flow regulation is required. However, if the fan is operated based on the maximum power consumption and the fan is always running, it is not conducive to the overall power saving of the equipment. Therefore, the energy consumption management of the fan becomes particularly important. For example, in new energy vehicles, since the intelligent driving domain controller (usually referred to as the domain controller) is the core part of the vehicle's intelligent system, it integrates multiple control functions of the vehicle, including but not limited to automatic driving, vehicle dynamic control, and infotainment system. These functions require a lot of calculations and data processing, and the power consumption of the domain controller is relatively high, so it becomes a "power-hungry consumer" in the vehicle. Since the intelligent driving domain controller shares the battery of the entire energy vehicle, it directly obtains power from the battery pack of the vehicle. Due to the limited power of the battery, any unnecessary energy consumption will affect the vehicle's endurance. Therefore, it is particularly important to manage the fan's gear position intelligently.

[0048] The fan control method, smart device and storage medium of the present application are described below in conjunction with the drawings in the specification to solve the above-mentioned problems.

[0049] Reference Figure 1 As shown, Figure 1 FIG. 1 is a flow chart of a fan control method provided in an embodiment of the present application. Figure 1 The flowcharts shown in the figures or other figures show a logical order, but in some cases, the steps shown or described may be performed in a different order than that shown in the figure. The fan control method provided in the embodiment of the present application is applied to a smart device, wherein the smart device is equipped with a fan, such as Figure 1 As shown, the fan control method includes the steps of:

[0050] S200, querying a temperature-power consumption relationship table to obtain a corresponding temperature estimated value according to the actual operating frequency, the actual operating voltage and the actual power consumption value; the temperature-power consumption relationship table includes a mapping relationship between an operating parameter combination, a power consumption value and a temperature estimated value, and the operating parameter combination includes an operating frequency and an operating voltage;

[0051] S300, obtaining a first temperature value according to the temperature estimation value and the internal temperature;

[0052] S400: Adjust the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value.

[0053] Specifically, smart devices include but are not limited to smart fans, smart air conditioners, computers, smart cars, etc. Smart devices are equipped with fans whose wind force or wind speed can be adjusted and controlled. The wind force or wind speed of the fan has multiple gears. As the gear increases, the fan or wind force of the fan increases. Conversely, as the gear decreases, the fan or wind force of the fan decreases. Smart devices can also be equipped with heat sinks. The fan can be directly connected to the heat sink or placed on the housing of the smart device. The installation position of the fan can be set according to user needs. The internal temperature can be the junction temperature (Junction Temperature, TJ) of the on-chip temperature sensor inside the chip, that is, the actual operating temperature of the transistor node inside the semiconductor chip. This junction temperature value is an important indicator for measuring the internal working state of the chip and has a direct impact on the performance, stability and life of the chip. The junction temperature value can be directly measured by the on-chip temperature sensor or estimated by indirect methods (such as measuring the surface temperature of the chip and calculating it). The importance of the junction temperature value is that it can reflect the actual operating temperature inside the chip and help determine whether the chip is operating within a safe working range. For example, when the junction temperature exceeds the maximum allowable junction temperature of the chip, it may cause chip damage or functional failure. Therefore, real-time monitoring of the junction temperature through an on-chip temperature sensor can provide the chip with functions such as over-temperature protection, performance adjustment, and life evaluation.

[0054] The smart device obtains a temperature-power consumption relationship table including mapping relationships between multiple operating parameter combinations, multiple power consumption values, and multiple temperature estimation values, and obtains the actual operating frequency, actual operating voltage, and actual power consumption value of the smart device through measurement. In this way, the smart device queries the temperature-power consumption relationship table according to the actual operating frequency, actual operating voltage, and actual power consumption value, so as to obtain the temperature estimation value corresponding to the actual operating frequency, actual operating voltage, and actual power consumption value. The smart device can obtain the internal temperature through the built-in temperature sensor, and then calculate the first temperature value according to the temperature estimation value and the internal temperature, and then adjust the fan gear according to the size of the first temperature value, and the fan gear is positively correlated with the first temperature value, that is, the larger the first temperature value, the larger the fan gear, and vice versa, the smaller the first temperature value, the smaller the fan gear.

[0055] The present application adjusts the gear of the fan by obtaining a first temperature value through temperature estimation and internal temperature calculation. The gear is positively correlated with the first temperature value. In this way, the fan of the smart device can operate according to the working conditions, extend the fan life, and reduce the fan power consumption. The present application intelligently controls the fan heat dissipation, which can save battery power, thereby reducing the overall energy consumption of the smart device and improving the user experience.

[0056] In some embodiments, the step S200, before querying the temperature-power consumption relationship table to obtain the corresponding temperature estimation value according to the actual operating frequency, the actual operating voltage and the actual power consumption value, includes the following steps:

[0057] S100: Create the temperature-power consumption relationship table.

[0058] Specifically, a corresponding temperature-power consumption relationship table is created in advance according to the power consumption values ​​and temperature estimates under multiple configuration parameter combinations. The present application can maintain the temperature-power consumption relationship table through software to record the mapping relationship between the power consumption values ​​and temperature estimates (actual temperature measurement values) under different operating voltages and operating frequencies.

[0059] In some embodiments, the smart device includes a storage module and a system-level chip, the system-level chip includes multiple functional modules, and the step S100 of creating the temperature-power consumption relationship table includes the following steps:

[0060] S110, obtaining first static power consumption and first dynamic power consumption respectively corresponding to each of the functional modules under a plurality of configuration parameter combinations; the configuration parameter combinations include an operating voltage and an operating frequency;

[0061] S120, obtaining a second static power consumption and a second dynamic power consumption respectively corresponding to the storage module under a plurality of operating parameter combinations; the operating parameter combination includes the configuration parameter combination and the performance parameter;

[0062] S130, calculating a corresponding first power consumption value according to the first static power consumption and the first dynamic power consumption;

[0063] S140, calculating a corresponding second power consumption value according to the second static power consumption and the second dynamic power consumption;

[0064] S150. Create the temperature-power consumption relationship table according to the first power consumption values ​​corresponding to each of the functional modules under the multiple configuration parameter combinations, the second power consumption values ​​corresponding to each of the storage modules under the multiple configuration parameter combinations, and the temperature estimation value.

[0065] Specifically, the smart device includes a storage module and a SOC (System on a Chip), and the system-on-chip includes multiple functional modules. The storage module can be DDR (Double Data Rate Synchronous Dynamic Random Access Memory) or RAM (Random Access Memory). For example, for a smart car, multiple functional modules may include but are not limited to an autonomous driving module, a vehicle dynamic control module, a core logic module, an interface module, and an infotainment system module.

[0066] The smart device obtains the first static power consumption and the first dynamic power consumption corresponding to each functional module under multiple operating voltage and operating frequency combinations, the first static power consumption is used to characterize the power consumption when the functional module is in a non-operating state, and the first dynamic power consumption is used to characterize the power consumption when the functional module is in an operating state. Then, the smart device calculates the corresponding first power consumption value according to the first static power consumption and the first dynamic power consumption.

[0067] The intelligent device obtains the second static power consumption and the second dynamic power consumption corresponding to the storage module under multiple working parameter combinations. The second static power consumption is used to characterize the power consumption of the storage module when maintaining data storage. It will exist even when there is no data transmission. It can also be called standby power consumption. The second static power consumption mainly comes from the leakage current power consumption of the transistor of the storage module and the leakage power consumption of the capacitor. The second dynamic power consumption is used to characterize the power consumption generated when the storage module performs data transmission or operation. Among them, the working parameter combination includes the configuration parameter combination and the performance parameter. The performance parameters include but are not limited to the access data volume of the storage module, the overall bandwidth utilization rate (percentage of the total bandwidth), the external temperature, the CPU load, and the access mode. Among them, the access data volume directly affects the number of read and write operations of the storage module. During the read and write operation, the I / O and control signals of the storage module will change, resulting in the charging and discharging of the capacitor, thereby generating dynamic power consumption. Therefore, the larger the access data volume and the more frequent the read and write operations, the higher the dynamic power consumption. Bandwidth utilization refers to the ratio of the data transmission rate actually used by the storage module to the maximum theoretical transmission rate. High bandwidth utilization means that the storage module performs data transmission more frequently, which will lead to more capacitor charging and discharging events, thereby increasing dynamic power consumption. Conversely, if the bandwidth utilization is low, the dynamic power consumption of the storage module will also be relatively low. Access modes include sequential access and random access. The dynamic power consumption of random access is greater than the dynamic power consumption of sequential access. Then, the intelligent device adds the second static power consumption and the second dynamic power consumption to calculate the corresponding second power consumption value. In this way, the intelligent device can create a temperature power consumption relationship table based on the first power consumption values ​​corresponding to each of the functional modules under multiple configuration parameter combinations, the second power consumption values ​​corresponding to each of the storage modules under multiple working parameter combinations, and the temperature estimate.

[0068] The temperature-power consumption relationship table can be in the form of an array, a linked list, or other data structures. Based on the actual internal test results, each row in this table can be mapped to a temperature estimate. In this way, for a given combination of operating voltage and operating frequency, not only the power consumption value (the first power consumption value and the second power consumption value) can be estimated, but also the temperature change caused by the heat generated by these power consumption values ​​can be estimated to obtain a temperature estimate.

[0069] This mapping is based on the direct relationship between power consumption and temperature. The higher the power consumption, the more heat is generated, which leads to higher temperature. Based on this temperature-power consumption relationship table, the fan gear can be adjusted accordingly, so that the fan gear is positively correlated with the first temperature value calculated based on the temperature estimate value of the query temperature-power consumption relationship table, ensuring that the temperature of the smart device can be kept within a safe and stable range under different working conditions, thereby improving the performance and reliability of the smart device. By reasonably controlling the startup and running gear of the fan, the energy consumption of the fan can be reduced while ensuring the temperature safety of the smart device, thereby reducing the power consumption of the entire smart device.

[0070] This application ensures that smart devices run at a safe temperature while saving energy as much as possible by estimating power consumption, monitoring temperature, controlling fans, and utilizing natural heat dissipation.

[0071] In some embodiments, the step S120 of calculating the corresponding first power consumption value according to the first static power consumption and the first dynamic power consumption includes the following steps:

[0072] S121. Obtain the first power consumption value according to the sum of a multiplication result and the first static power consumption, wherein the multiplication result is the product of the first dynamic power consumption and a frequency ratio, and the frequency ratio is a quotient of an actual operating frequency as a dividend and a maximum operating frequency as a divisor.

[0073] Specifically, the power consumption of the functional modules of the chip is divided into the first static power consumption and the first dynamic power consumption. The first static power consumption is mainly caused by leakage current, while the first dynamic power consumption is related to the signal flip frequency and the load capacitance. Substitute the first static power consumption and the first dynamic power consumption into the following public calculation to obtain the corresponding first power consumption value:

[0074] Power_i=PA_i+PM_i*(fA / fR);

[0075] Among them, Power_i is the first power consumption value corresponding to the functional module i, PA_i is the first static power consumption value corresponding to the functional module i, PM_i is the first dynamic power consumption value corresponding to the functional module i, fA is the actual operating frequency of the functional module i at the current moment, and fR is the reference operating frequency of the functional module i at the current moment. The reference operating frequency is usually the highest frequency of the functional module i.

[0076] In some embodiments, the step S400 of adjusting the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value includes the following steps:

[0077] S410, according to the current preset temperature range to which the first temperature value belongs, controlling the fan to provide wind force at a gear corresponding to the current preset temperature range; or,

[0078] S420, according to a next preset temperature range of the current preset temperature range to which the first temperature value belongs, controlling the fan to provide wind force at a gear corresponding to the next preset temperature range, wherein the next preset temperature range is a preset temperature range adjacent to the current preset temperature range along a direction in which the first temperature value changes;

[0079] Among them, the size of the wind force is positively correlated with the gear position, the size of the gear position is positively correlated with the size of the preset temperature range, and the upper temperature limit value of one of the two adjacent preset temperature ranges is equal to the lower temperature limit value of the other preset temperature range.

[0080] Specifically, the temperature upper limit value of one preset temperature range in two adjacent preset temperature ranges is equal to the temperature lower limit value of the other preset temperature range, that is, the temperature upper limit value of the previous preset temperature range is equal to the temperature lower limit value of the current preset temperature range, and the temperature upper limit value of the current preset temperature range is equal to the temperature lower limit value of the next preset temperature range. Get the first temperature value at the current moment and the first temperature value at the previous moment, and compare the first temperature value at the current moment with the first temperature value at the previous moment. If the first temperature value at the current moment is greater than the first temperature value at the previous moment, it indicates that the direction of change of the first temperature value is rising. At this time, the next preset temperature range is the preset temperature range adjacent to the current preset temperature range in the direction of change of the first temperature value, that is, the next preset temperature range is greater than the current preset temperature range. Of course, if the first temperature value at the current moment is less than the first temperature value at the previous moment, it indicates that the direction of change of the first temperature value is falling. At this time, the next preset temperature range is the preset temperature range adjacent to the current preset temperature range in the direction of change of the first temperature value, that is, the next preset temperature range is less than the current preset temperature range. The first temperature value at the current moment is matched with multiple preset temperature ranges to determine which preset temperature range the first temperature value belongs to among the multiple preset temperature ranges. Then, according to the preset temperature range to which the first temperature value belongs, the fan is controlled to provide wind force at the gear corresponding to the preset temperature range to which the first temperature value belongs, or the fan is controlled to provide wind force at the gear corresponding to the next preset temperature range of the current preset temperature range to which the first temperature value belongs. When the first temperature drops relative to the previous moment, the fan will not immediately reduce the speed, but remain at the current gear or reduce it by one gear until the temperature drops to a level high enough to reduce the fan to the lowest gear or the fan does not need to work (natural heat dissipation). When the first temperature rises relative to the previous moment, the fan will not immediately increase the speed, but remain at the current gear or increase it by one gear until the temperature rises to the highest gear. In this way, the temperature can be prevented from dropping or rising too quickly, ensuring that the smart device will not be damaged due to too fast temperature changes.

[0081] For example, assuming that the fan gear includes 5 gears, including 0 to 5, the control logic is as follows:

[0082] P1∈(a1, a2), start the fan at level 0, do not start the fan immediately, and dissipate heat naturally;

[0083] P2∈(a2, a3), start the fan at level 1 to provide the first wind speed;

[0084] P3∈(a3, a4), start the fan at level 2 to provide a second wind force, which is greater than the first wind force;

[0085] P4∈(a4, a5), start the fan at level 3 to provide the third wind speed, which is greater than the second wind speed;

[0086] P5∈(a5, a6), start the fan at level 4 to provide a fourth wind speed, which is greater than the third wind speed.

[0087] In this way, as the first temperature drops, the wind force corresponding to a higher gear can be maintained until the fan is in gear 1. For example, when P2∈(a2, a3), the fan is controlled to provide wind force at a gear corresponding to the next preset temperature range (a3, a4), i.e., gear 2; when P2∈(a1, a2), the fan is controlled to provide wind force at a gear corresponding to the next preset temperature range (a2, a3), i.e., gear 1. Alternatively, as the first temperature drops, the wind force of the corresponding gear can be maintained until the fan is in gear 0. Natural heat dissipation means that when the chip temperature is moderate, the fan can be turned off, and the heat can be naturally dissipated through the heat sink. This method can save power consumption of the device because the fan does not consume additional electricity when it is not working.

[0088] In some embodiments, before adjusting the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value, the step of:

[0089] S350, obtaining a second temperature value by adding and calculating the ambient temperature and the temperature rise setting value;

[0090] The step S400 of adjusting the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value includes the following steps:

[0091] S430: According to a comparison result between the first temperature value and the second temperature value, adjust the gear position of the fan according to the comparison result, so that the gear position is positively correlated with the first temperature value.

[0092] Specifically, the smart device can be connected to the Internet to obtain the current meteorological data from the weather forecast platform, and then obtain the current ambient temperature based on the meteorological data. The smart device can also be connected to the Internet to obtain the current ambient temperature from the ambient temperature sensor installed in the environment where the smart device is located. The temperature rise setting value is a temperature value pre-set by the user, indicating the maximum temperature rise value allowed by the smart device based on the ambient temperature. For example, if the ambient temperature is 15°C and the temperature rise setting value is set to 30°C, then the maximum allowable surface temperature of the smart device is 45°C. If the ambient temperature is 25°C and the temperature rise setting value is set to 20°C, then the maximum allowable surface temperature of the smart device is 45°C. The smart device can add the ambient temperature and the temperature rise setting value to calculate the second temperature value. In this way, the smart device compares the first temperature value and the second temperature value to obtain a comparison result, and adjusts the fan gear according to the comparison result, so that the gear is positively correlated with the first temperature value, that is, the larger the first temperature value, the larger the fan gear, and vice versa, the smaller the first temperature value, the smaller the fan gear.

[0093] In this application, after obtaining a first temperature value by calculating the estimated temperature and the internal temperature, and obtaining a second temperature value by calculating the ambient temperature and the temperature rise set value, the gear of the fan is adjusted according to the comparison result between the first temperature value and the second temperature value. The gear is positively correlated with the first temperature value. In this way, the fan of the smart device can operate according to the working conditions, reduce the power consumption of the fan, and thus reduce the overall energy consumption of the smart device and improve the user experience.

[0094] In some embodiments, the step S300 of obtaining a first temperature value according to the temperature estimation value and the internal temperature includes the following steps:

[0095] S310, obtaining a first calculation result according to the temperature estimation value and a first weight value, and obtaining a second calculation result according to the internal temperature and a second weight value; the sum of the first weight value and the second weight value is equal to 1;

[0096] S320: Obtain the first temperature value by adding the first calculation result and the second calculation result.

[0097] Specifically, a first weight value may be configured for the estimated temperature value and a second weight value may be configured for the internal temperature according to requirements, and the sum of the first weight value and the second weight value is equal to 1. In this way, after obtaining the estimated temperature value, the estimated temperature value is multiplied by the first weight value to obtain a first calculation result, the internal temperature is multiplied by the second weight value to obtain a second calculation result, and the first calculation result and the second calculation result are added to obtain the first temperature value.

[0098] In some embodiments, the step of adjusting the gear position of the fan according to the comparison result between the first temperature value and the second temperature value so that the gear position is positively correlated with the first temperature value comprises the following steps:

[0099] If the comparison result is that the first temperature value is less than the second temperature value, controlling the fan to stop working;

[0100] If the comparison result is that the first temperature value is within any of the set temperature ranges among the multiple set temperature ranges, the fan is controlled to provide wind force at a corresponding gear according to the set temperature range, the lower temperature limit of the set temperature range is at least greater than or equal to the second temperature value, and the upper temperature limit of one of the two adjacent set temperature ranges is equal to the lower temperature limit of the other set temperature range;

[0101] Among them, the size of the wind force is positively correlated with the gear position, and the upper temperature limit value of one of the two adjacent set temperature ranges is equal to the lower temperature limit value of the other set temperature range; the size of the gear position is positively correlated with the size of the set temperature range, and the upper temperature limit value of one of the two adjacent set temperature ranges is equal to the lower temperature limit value of the other set temperature range.

[0102] Specifically, the set temperature range may be the same as or different from the preset temperature range. The temperature upper limit value of one set temperature range in two adjacent set temperature ranges is equal to the temperature lower limit value of the other set temperature range, that is, the temperature upper limit value of the previous set temperature range is equal to the temperature lower limit value of the current set temperature range, and the temperature upper limit value of the current set temperature range is equal to the temperature lower limit value of the next set temperature range. The first temperature value and the second temperature value at the current moment are obtained, and the first temperature value and the second temperature value are compared. If the first temperature value is less than the second temperature value, the fan is controlled to stop working. Of course, if the first temperature value is greater than the second temperature value, the first temperature value at the current moment is matched with multiple set temperature ranges to determine which set temperature range of the multiple set temperature ranges the first temperature value belongs to. Then, according to the set temperature range to which the first temperature value belongs, the fan is controlled to provide wind force at the gear corresponding to the set temperature range to which the first temperature value belongs, or the fan is controlled to provide wind force at the gear corresponding to the next set temperature range of the current set temperature range to which the first temperature value belongs.

[0103] For example, Figure 2As shown, assuming that the fan gear includes 5 gears, namely, gear 0 to gear 5, T1 is set as the first temperature value, T2 is set as the second temperature value, and the critical values ​​of the multiple set temperature ranges are T2, T2*(1+a%), T2*(1+b%), T2*(1+c%), a, b and c are positive numbers, and a<b<c. ​​Then, the control logic is as follows:

[0104] 0<T1≤T2, start the fan at level 0, that is, do not start the fan, and dissipate heat naturally;

[0105] T2<T1≤T2*(1+a%), start the fan at level 1 to provide the first wind speed;

[0106] T2(1+a%)<T1≤T2*(1+b%), start the fan at level 2 to provide a second wind force, which is greater than the first wind force;

[0107] T2(1+b%)<T1≤T2*(1+c%), start the fan at level 3 to provide the third wind speed, which is greater than the second wind speed;

[0108] T2(1+c%)<T1, start the fan at level 4 to provide a fourth wind speed, which is greater than the third wind speed.

[0109] In this way, as the first temperature value decreases, the wind force corresponding to a higher gear can be maintained until the fan is at gear 1. For example, when T2<T1≤T2*(1+a%), the fan is controlled to provide wind force at a gear corresponding to the next preset temperature range T2(1+a%)<T1≤T2*(1+b%), i.e., gear 2. Alternatively, as the first temperature value decreases, the wind force corresponding to the gear can be maintained until the fan is at gear 0.

[0110] For example, the main chip SOC of a smart car can control the gear (wind force) of the fan through a signal. Different power domains in the main control SOC chip can use different voltages and frequencies. The default voltage is determined by the hardware, and the module operating frequency can be dynamically adjusted by the software interface. The power domain includes the intelligent driving domain (autonomous driving domain), cockpit domain, vehicle control domain (body control domain), communication / network domain, etc. These power domains are functional modules. Power consumption estimation is divided into two parts:

[0111] a. Power consumption of functional modules: Based on chip design, the first power consumption value Power1 of each module under different chip voltages and frequencies can be obtained.

[0112] Power1 = first static power consumption + first dynamic power consumption * actual operating frequency / reference operating frequency.

[0113] b. Power consumption of memory (DDR): The second power consumption value Power2 of the SOC chip DDR is related to the second dynamic power consumption (related to the amount of accessed data) and the second static power consumption, that is, Power2 = second static power consumption + second dynamic power consumption. Different second power consumption values ​​Power2 can be calculated based on the manual of the specific memory model.

[0114] Take the results of a) + b) above and maintain a power consumption estimation table (or array, linked list, there are many specific implementation methods) corresponding to different voltages + different frequencies in the software. Based on the actual internal test results (correction), map each row in the table to a corresponding temperature estimation value to obtain the temperature power consumption relationship table.

[0115] At the same time, refer to the junction temperature value of the on-chip temperature sensor inside the chip (i.e., the internal temperature of this application), the customer's temperature rise budget (i.e., the temperature rise setting value of this application) and the ambient temperature. Under the ambient temperature, the temperature rise setting value, i.e., the chip surface temperature cannot be 20° or 30° higher than the ambient temperature, etc. The temperature rise setting value can be configured. Substitute the temperature estimate, the first weight value, the internal temperature and the second weight value into the following formula to calculate the first temperature value, and substitute the ambient temperature and the temperature rise setting value into the following formula to calculate the second temperature value:

[0116] T1=t1*w1+t2*w2;

[0117] T2 = t3 + t4;

[0118] Where, T1 is the first temperature value, t1 is the estimated temperature value, w1 is the first weight value, t2 is the internal temperature, w2 is the second weight value, T2 is the second temperature value, t3 is the ambient temperature, and t4 is the temperature rise setting value. w1 and w2 can be adjusted and set arbitrarily. Compare T1 with T2, that is, compare t1*w1+t2*w2 and t3+t4.

[0119] This application is based on chip design in advance. We can obtain the power consumption (static power consumption and dynamic power consumption) of each module with different voltages and frequencies, plus the on-chip chip temperature obtained during the power consumption verification test, and the customer's temperature rise budget, and maintain a power consumption estimation table (or array) in the software. Based on the services (functional modules) enabled by the customer and the frequency of use, first estimate a power consumption level, map the power consumption of the corresponding level to the chip temperature, and refer to the junction temperature value of the on-chip temperature sensor inside the chip (a unit for testing temperature) to determine the fan level (level 1, level 2, level 3, level 4) for starting the chip or device; cool the chip and device, or do not start the fan at the appropriate temperature, and dissipate heat through a natural heat sink, which also saves the power consumption of the device (power consumption when the fan is not turned on).

[0120] The present application obtains a temperature estimate through module power consumption to more accurately control the start-up of the fan and the corresponding wind speed (gear), thereby saving power consumption of the entire device, especially the power of the battery device, and extending the use time of the chip and the fan.

[0121] In a second aspect, the present application further provides a smart device, wherein the smart device is equipped with a fan, and the smart device comprises:

[0122] A query module, used to query a temperature-power consumption relationship table to obtain a corresponding temperature estimated value according to the actual operating frequency, the actual operating voltage and the actual power consumption value; the temperature-power consumption relationship table includes a mapping relationship between an operating parameter combination, a power consumption value and a temperature estimated value, and the operating parameter combination includes an operating frequency and an operating voltage;

[0123] A processing module, configured to obtain a first temperature value according to the temperature estimate and the internal temperature;

[0124] A control module is used to adjust the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value.

[0125] In a third aspect, the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the fan control method described in the above embodiment are executed.

[0126] In specific implementation, the above units or modules can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The above units or modules can implement the fan control method with reference to the previous method embodiments, which will not be repeated here.

[0127] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling related hardware through instructions, and the instructions can be stored in a computer-readable storage medium, and loaded and executed by a processor to implement the above method embodiments. The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0128] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the data acquisition system and its corresponding units described above can refer to the description of the fan control method in the above embodiment, and will not be repeated here.

[0129] The above is a detailed introduction to a fan control method and system provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A fan control method, characterized in that: Applied to a smart device, the smart device is equipped with a fan, and the method comprises the steps of: According to the actual operating frequency, the actual operating voltage and the actual power consumption value, query the temperature power consumption relationship table to obtain the corresponding temperature estimated value; the temperature power consumption relationship table includes a mapping relationship between the operating parameter combination, the power consumption value and the temperature estimated value, and the operating parameter combination includes the operating frequency and the operating voltage; Obtaining a first temperature value according to the temperature estimation value and the internal temperature; The gear position of the fan is adjusted according to the first temperature value, so that the gear position is positively correlated with the first temperature value.

2. The fan control method according to claim 1, characterized in that: The step of adjusting the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value comprises the following steps: According to the current preset temperature range to which the first temperature value belongs, controlling the fan to provide wind force at a gear corresponding to the current preset temperature range; or, According to a next preset temperature range of the current preset temperature range to which the first temperature value belongs, controlling the fan to provide wind force at a gear corresponding to the next preset temperature range, the next preset temperature range being a preset temperature range adjacent to the current preset temperature range along a direction in which the first temperature value changes; Among them, the size of the wind force is positively correlated with the gear position, the size of the gear position is positively correlated with the size of the preset temperature range, and the upper temperature limit value of one of the two adjacent preset temperature ranges is equal to the lower temperature limit value of the other preset temperature range.

3. The fan control method according to claim 1, characterized in that: Before the gear position of the fan is adjusted according to the first temperature value so that the gear position is positively correlated with the first temperature value, the method further includes the following steps: A second temperature value is obtained by adding and calculating the ambient temperature and the temperature rise setting value; The step of adjusting the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value comprises the following steps: According to a comparison result between the first temperature value and the second temperature value, the gear position of the fan is adjusted according to the comparison result, so that the gear position is positively correlated with the first temperature value.

4. The fan control method according to claim 1, characterized in that: The step of obtaining a first temperature value according to the temperature estimation value and the internal temperature comprises the following steps: A first calculation result is obtained according to the temperature estimation value and a first weight value, and a second calculation result is obtained according to the internal temperature and a second weight value; the sum of the first weight value and the second weight value is equal to 1; The first temperature value is obtained by adding the first calculation result and the second calculation result.

5. The fan control method according to claim 3, characterized in that: The step of adjusting the gear position of the fan according to the comparison result between the first temperature value and the second temperature value so that the gear position is positively correlated with the first temperature value comprises the following steps: If the comparison result is that the first temperature value is less than the second temperature value, controlling the fan to stop working; If the comparison result is that the first temperature value is within any of the set temperature ranges among the multiple set temperature ranges, the fan is controlled to provide wind force at a corresponding gear according to the set temperature range, the lower temperature limit of the set temperature range is at least greater than or equal to the second temperature value, and the upper temperature limit of one of the two adjacent set temperature ranges is equal to the lower temperature limit of the other set temperature range; Among them, the size of the wind force is positively correlated with the gear position, and the upper temperature limit value of one of the two adjacent set temperature ranges is equal to the lower temperature limit value of the other set temperature range; the size of the gear position is positively correlated with the size of the set temperature range, and the upper temperature limit value of one of the two adjacent set temperature ranges is equal to the lower temperature limit value of the other set temperature range.

6. The fan control method according to claim 1, characterized in that: The method of querying the temperature-power consumption relationship table to obtain the corresponding temperature estimation value according to the actual operating frequency, the actual operating voltage and the actual power consumption value comprises the following steps: Create the temperature-power consumption relationship table.

7. The fan control method according to claim 6, characterized in that: The smart device includes a storage module and a system-level chip, the system-level chip includes multiple functional modules, and the creation of the temperature power consumption relationship table includes the steps of: Acquire the first static power consumption and the first dynamic power consumption respectively corresponding to each of the functional modules under a plurality of configuration parameter combinations; the configuration parameter combinations include an operating voltage and an operating frequency; Acquire the second static power consumption and the second dynamic power consumption respectively corresponding to the storage module under a plurality of operating parameter combinations; the operating parameter combination includes the configuration parameter combination and the performance parameter; Calculate a corresponding first power consumption value according to the first static power consumption and the first dynamic power consumption; Calculate a corresponding second power consumption value according to the second static power consumption and the second dynamic power consumption; The temperature-power-consumption relationship table is created according to the first power consumption values ​​corresponding to each of the functional modules under the plurality of configuration parameter combinations, the second power consumption values ​​corresponding to each of the storage modules under the plurality of configuration parameter combinations, and the temperature estimation value.

8. The fan control method according to claim 7, characterized in that: The step of calculating the first power consumption value according to the first static power consumption and the first dynamic power consumption comprises the following steps: The first power consumption value is obtained according to the sum of the multiplication result and the first static power consumption, wherein the multiplication result is the product of the first dynamic power consumption and the frequency ratio, and the frequency ratio is the quotient of the actual operating frequency as the dividend and the maximum operating frequency as the divisor.

9. A smart device, characterized in that: The smart device is equipped with a fan, and the smart device includes: A query module, used to query a temperature-power consumption relationship table to obtain a corresponding temperature estimated value according to the actual operating frequency, the actual operating voltage and the actual power consumption value; the temperature-power consumption relationship table includes a mapping relationship between an operating parameter combination, a power consumption value and a temperature estimated value, and the operating parameter combination includes an operating frequency and an operating voltage; A processing module, configured to obtain a first temperature value according to the temperature estimate and the internal temperature; A control module is used to adjust the gear position of the fan according to the first temperature value so that the gear position is positively correlated with the first temperature value.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the fan control method according to any one of claims 1 to 8 are executed.