A heat dissipation fan regulation method, device, equipment and storage medium

By dynamically adjusting the fan speed, taking into account equipment temperature and ambient noise, the problem of inflexible fan speed adjustment was solved, achieving improved heat dissipation and user experience while reducing noise.

CN115704399BActive Publication Date: 2026-06-16CHENGDU XGIMI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHENGDU XGIMI TECH CO LTD
Filing Date
2021-08-04
Publication Date
2026-06-16

Smart Images

  • Figure CN115704399B_ABST
    Figure CN115704399B_ABST
Patent Text Reader

Abstract

The application discloses a heat dissipation fan regulation method, device, equipment and storage medium. The method comprises the following steps: obtaining the current temperature of the equipment and a fan noise function, wherein the independent variable of the fan noise function is temperature, and the dependent variable is fan noise; determining the fan noise value of the fan in the equipment according to the current temperature and the fan noise function; obtaining the environmental noise value corresponding to the equipment; obtaining the environmental detection parameter associated with the equipment, and determining the noise detection duration based on the environmental detection parameter; if the fan noise value is less than the environmental noise value within the noise detection duration, then the environmental noise value is taken as the current expected noise value of the fan; determining the expected rotating speed corresponding to the current expected noise value, and increasing the rotating speed of the fan to the expected rotating speed. The rotating speed of the fan can be flexibly adjusted according to the environmental noise, so that the heat dissipation of the equipment is accelerated while the user experience is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electrical applications, and in particular to a method, apparatus, device, and storage medium for controlling a cooling fan. Background Technology

[0002] Currently, many household appliances are equipped with cooling fans, such as projectors. Projectors generate a lot of heat when their optical engine, main chip, and power supply system are operating, resulting in high overall device temperatures. Therefore, fans are used for cooling. However, the high-speed rotation of the fan blades and their contact with the air produce noise. The higher the fan speed, the stronger the cooling capacity, but the louder the noise. Existing technology uses noise-reducing devices to generate sound that is out of phase with the fan noise, achieving a noise reduction effect. However, this method increases design complexity and system cost. To overcome the above problems, existing technology also compares the measured ambient noise value with a preset noise threshold and adjusts the fan speed accordingly to keep the fan noise below the threshold. However, this method does not reflect actual usage conditions, lacks flexibility in fan speed adjustment, and reduces the cooling capacity of the cooling fan. Summary of the Invention

[0003] In view of this, the purpose of this invention is to provide a cooling fan control method, device, equipment, and medium that can accelerate the heat dissipation of equipment while reducing the impact of fan noise, and improve the heat dissipation capacity of the cooling fan, according to environmental conditions. The specific solution is as follows:

[0004] In a first aspect, this application discloses a method for controlling a cooling fan, including:

[0005] Obtain the current temperature and fan noise function of the device, wherein the independent variable of the fan noise function is temperature and the dependent variable is fan noise;

[0006] Based on the current temperature and the fan noise function, determine the fan noise value of the fan in the device;

[0007] Obtain the ambient noise value corresponding to the device;

[0008] Obtain environmental detection parameters associated with the device, and determine the noise detection duration based on the environmental detection parameters;

[0009] If the fan noise value is lower than the ambient noise value throughout the noise detection period, then the ambient noise value is taken as the current expected noise value of the fan.

[0010] Determine the desired speed corresponding to the current desired noise value, and increase the fan speed to the desired speed.

[0011] Optionally, the function for obtaining the current temperature and fan noise of the device includes:

[0012] Determine the heat dissipation strategy for the fan in the device; the heat dissipation strategy includes a first heat dissipation strategy with the body temperature as an indicator and a second heat dissipation strategy with the ambient temperature as an indicator.

[0013] If the heat dissipation strategy is the first heat dissipation strategy, then obtain the device body temperature and the first fan noise function corresponding to the first heat dissipation strategy. The independent variable of the first fan noise function is the device body temperature, and the dependent variable is the fan noise.

[0014] If the heat dissipation strategy is the second heat dissipation strategy, then obtain the device body temperature, the ambient temperature corresponding to the device, and the second fan noise function corresponding to the second heat dissipation strategy. The independent variable of the second fan noise function is the ambient temperature, and the dependent variable is the fan noise.

[0015] Optionally, the process of constructing the first fan noise function includes:

[0016] According to the first heat dissipation strategy, the minimum speed of the first fan corresponding to different body temperatures of the device is determined, and the first temperature speed function is obtained by fitting the objective function; the minimum speed of the first fan is the minimum speed of the fan to keep the device within a safe temperature at the body temperature.

[0017] Based on the fan speed and corresponding fan noise data obtained under noise-free conditions, a speed noise function is constructed.

[0018] A first composite function is obtained by combining the first temperature-speed function and the speed noise function, and the first composite function is used as the first fan noise function.

[0019] Optionally, the process of constructing the second fan noise function includes:

[0020] According to the second heat dissipation strategy, the minimum speed of the second fan corresponding to the device under different ambient temperatures is determined, and a second temperature-speed function is constructed by combining the difference between the body temperature and the safe temperature; the minimum speed of the second fan is the minimum speed of the fan required to keep the device within the safe temperature under the ambient temperature.

[0021] Based on the fan speed and corresponding fan noise data obtained under noise-free conditions, a speed noise function is constructed.

[0022] A second composite function is obtained by combining the second temperature-speed function and the speed noise function, and the second composite function is used as the second fan noise function.

[0023] Optionally, after increasing the fan speed to the desired speed, the method further includes:

[0024] If the fan noise value corresponding to the fan after the speed increase is greater than the newly obtained ambient noise value, then the target fan noise value corresponding to the current temperature is determined according to the current temperature and the fan noise function, the target speed corresponding to the target fan noise value is determined, and the fan speed is adjusted to the target speed.

[0025] Optionally, before adjusting the fan speed to the target speed, the method further includes:

[0026] If the target fan noise value is less than the newly acquired ambient noise value, then the step of adjusting the fan speed to the target speed is triggered.

[0027] If the target fan noise value is greater than the newly acquired ambient noise value, the current environmental information is acquired. When the current environmental information meets the target environmental conditions, the system display of the device is adjusted to brightness adaptive mode. The target environmental conditions include decibel conditions, illuminance conditions, and time conditions.

[0028] Optionally, increasing the fan speed to the desired speed includes:

[0029] According to the adjustment level of the fan, the speed of the fan is adjusted step by step at preset time intervals until the speed of the fan is increased to the desired speed;

[0030] The adjustment level of the fan is determined based on the accuracy of the pulse width modulation duty cycle corresponding to the fan.

[0031] Optionally, obtaining environmental detection parameters associated with the device and determining the noise detection duration based on the environmental detection parameters includes:

[0032] Obtain the environmental detection parameters associated with the device, and determine the initial detection duration corresponding to each environmental detection parameter based on the detection duration determination rule corresponding to each environmental detection parameter;

[0033] Based on all the initial detection durations, the noise detection duration is determined by averaging or weighted averaging.

[0034] Optionally, the environmental detection parameters include any one or more of the following: current time, environmental image, ambient light level, and the system volume output status of the device.

[0035] The rule for determining the detection duration corresponding to the current time is a rule constructed based on different detection durations corresponding to different time periods; the time periods include daytime time periods and nighttime time periods;

[0036] The detection duration determination rule for the environmental image is a rule constructed based on different detection durations corresponding to different environmental image types; the environmental image types include noisy environment types and quiet environment types;

[0037] The rule for determining the detection duration corresponding to the ambient light intensity is a rule constructed based on different detection durations corresponding to different light intensities;

[0038] The rule for determining the detection duration corresponding to the system volume output state is a rule constructed based on different detection durations corresponding to different volume output states.

[0039] Secondly, this application discloses a cooling fan control device, comprising:

[0040] The acquisition module is used to acquire the current temperature and fan noise function of the device, wherein the independent variable of the fan noise function is temperature and the dependent variable is fan noise.

[0041] A fan noise value determination module is used to determine the fan noise value of the fan in the device based on the current temperature and the fan noise function.

[0042] An environmental noise value acquisition module is used to acquire the environmental noise value corresponding to the device.

[0043] The noise detection duration determination module is used to acquire environmental detection parameters associated with the device and determine the noise detection duration based on the environmental detection parameters.

[0044] The current expected noise value determination module is used to determine the current expected noise value of the fan if the fan noise value is less than the ambient noise value within the noise detection time.

[0045] The fan speed enhancement module is used to determine the desired speed corresponding to the current desired noise value and increase the fan speed to the desired speed.

[0046] Thirdly, this application discloses an electronic device, including:

[0047] Memory, used to store computer programs;

[0048] A processor is used to execute the computer program to implement the aforementioned cooling fan control method.

[0049] Fourthly, this application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the aforementioned cooling fan control method.

[0050] In this application, the current temperature and fan noise function of the device are obtained, wherein the independent variable of the fan noise function is temperature and the dependent variable is fan noise; the fan noise value of the fan in the device is determined based on the current temperature and the fan noise function; the environmental noise value corresponding to the device is obtained; environmental detection parameters associated with the device are obtained, and a noise detection duration is determined based on the environmental detection parameters; if the fan noise value is less than the environmental noise value within the noise detection duration, the environmental noise value is taken as the current expected noise value of the fan; the expected rotational speed corresponding to the current expected noise value is determined, and the rotational speed of the fan is increased to the expected rotational speed. As can be seen, by using the fan noise function, the fan noise value is determined based on the current temperature, and a suitable noise detection duration is determined based on environmental detection parameters. Then, if the fan noise value is lower than the environmental noise value within the noise detection duration, the environmental noise value is taken as the current expected noise value of the fan. The fan speed is then increased based on the current expected noise value. In this way, the fan speed can be flexibly adjusted according to the environmental noise, so as to reduce the impact of fan noise on the user while accelerating the heat dissipation of the equipment and improving the heat dissipation capacity of the cooling fan. Furthermore, controlling whether to start speed adjustment by using the noise detection duration determined by the environmental detection parameters can avoid false triggering of speed adjustment due to sudden short-term strong noise, thus improving the accuracy of speed adjustment triggering. Attached Figure Description

[0051] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0052] Figure 1 A flowchart of a cooling fan control method provided in this application;

[0053] Figure 2 A flowchart illustrating a specific cooling fan control method provided in this application;

[0054] Figure 3 Flowchart of another specific cooling fan control method provided in this application;

[0055] Figure 4 This application provides a schematic diagram of the structure of a cooling fan control device;

[0056] Figure 5 This application provides a structural diagram of an electronic device. Detailed Implementation

[0057] In existing technologies, the fan speed is adjusted based on the comparison between the measured ambient noise level and a preset noise threshold to ensure that the fan noise remains below the threshold. However, this method does not accurately reflect actual usage conditions, lacks flexibility in fan speed adjustment, and reduces the cooling capacity of the cooling fan. To overcome these technical problems, this application proposes a cooling fan control method that can accelerate equipment cooling while minimizing the impact of fan noise, thereby improving the cooling capacity of the cooling fan.

[0058] This application discloses a method for controlling a cooling fan. See also... Figure 1 As shown, the method may include the following steps:

[0059] Step S11: Obtain the current temperature and fan noise function of the device, wherein the independent variable of the fan noise function is temperature and the dependent variable is fan noise.

[0060] In this embodiment, the current temperature of the device and the fan noise function are first obtained. The fan noise function is a function constructed with temperature as the independent variable and fan noise as the dependent variable. It is understood that the fan needs to operate at different speeds to achieve cooling at different temperatures in order to keep the device within a safe temperature range. Therefore, there is a correspondence between temperature and fan speed, and there is also a correspondence between fan speed and fan noise value. Thus, in this embodiment, by utilizing the pre-constructed fan noise function, the corresponding fan noise value can be determined based on the current temperature.

[0061] In this embodiment, obtaining the current temperature and fan noise function of the device may include: determining the heat dissipation strategy of the fan in the device; the heat dissipation strategy includes a first heat dissipation strategy with the device body temperature as an indicator and a second heat dissipation strategy with the ambient temperature as an indicator; if the heat dissipation strategy is the first heat dissipation strategy, then the device body temperature and a first fan noise function corresponding to the first heat dissipation strategy are obtained, where the independent variable of the first fan noise function is the device body temperature and the dependent variable is the fan noise; if the heat dissipation strategy is the second heat dissipation strategy, then the device body temperature, the corresponding ambient temperature, and a second fan noise function corresponding to the second heat dissipation strategy are obtained, where the independent variable of the second fan noise function is the ambient temperature and the dependent variable is the fan noise. It is understood that when the fan cools the device, it can use a first heat dissipation strategy based on the device body temperature, or a second heat dissipation strategy based on both the ambient temperature and the device body temperature. Therefore, the heat dissipation strategy of the fan in the device is first determined, and then the matching fan noise function is determined.

[0062] In this embodiment, the process of constructing the first fan noise function may include: determining the minimum speed of the first fan corresponding to different body temperatures of the device according to the first heat dissipation strategy, and fitting a first temperature-speed function using an objective function; the minimum speed of the first fan is the minimum speed of the fan to keep the device within a safe temperature range at the body temperature; constructing a speed noise function based on the fan speed and corresponding fan noise data obtained under no ambient noise; obtaining a first composite function based on the first temperature-speed function and the speed noise function, and using the first composite function as the first fan noise function.

[0063] Specifically, the minimum fan speed that can keep the chassis within a safe temperature range can be determined by measuring the chassis at several key temperature points. For example, the minimum first fan speed corresponding to several key chassis temperatures is shown in the table below:

[0064] <![CDATA[t 机 ]]> <=25℃ 35℃ 40℃ 45℃ 50℃ 60℃ >=65℃ p 72 90 110 123 135 200 255

[0065] Then, the objective function is fitted to obtain the first temperature-speed function. For example, the objective function can be a linear function in two variables. The temperature between adjacent key temperature points can be calculated according to linear rules. That is, based on the key temperature points and the corresponding speeds, a piecewise linear equation in two variables is constructed to obtain the functional relationship between fuselage temperature and speed, p = f0(t), which is the first temperature-speed function. The speed can be determined by combining the obtained fuselage temperature with this function. For example, if the fuselage temperature t1 is between 35℃ and 40℃, then the corresponding p1 = 90 + ((110-90) / (40-35)) * (t1-35). The same applies to other segments.

[0066] Then, based on the collected fan noise sf and fan speed p data under no ambient noise conditions, the speed noise function sf = f1(p) is obtained. Specifically, if there are N fan levels, the noise values ​​generated under all levels are obtained under no ambient noise conditions, and then the functional relationship between sf and p is generated by fitting the function to obtain the speed noise function. Then, based on the first temperature speed function and the speed noise function, a first composite function is obtained, and this first composite function is used as the first fan noise function to obtain the first fan noise function sf = f1(f0(t)) of the fan noise sf and the chassis temperature t.

[0067] In this embodiment, the process of constructing the second fan noise function may include: determining the minimum second fan speed corresponding to the device under different ambient temperatures according to the second heat dissipation strategy, and constructing a second temperature-speed function by combining the difference between the body temperature and the safe temperature; the minimum second fan speed is the minimum speed of the fan required to keep the device within the safe temperature under the ambient temperature; constructing a speed noise function based on the fan speed and corresponding fan noise data obtained under no ambient noise; obtaining a second composite function based on the second temperature-speed function and the speed noise function, and using the second composite function as the second fan noise function.

[0068] Specifically, by using ambient temperature as the primary factor and chassis temperature as a secondary factor, we can first measure the minimum fan speed that can keep the chassis within a safe temperature range at several key ambient temperature points. For example, the relationship between the ambient temperature at several key points and the minimum speed of the second fan is shown in the table below:

[0069] <![CDATA[t 环 ]]> <=0℃ 10℃ 20℃ 25℃ 30℃ 35℃ >=40℃ p 72 90 110 123 135 200 255

[0070] Then, combining the difference between the fuselage temperature and the safe temperature, a second temperature-speed function is constructed. For example, the temperature between adjacent key temperature points can be fitted using a linear function of two variables, and compensated for based on the difference between the fuselage temperature and the safe temperature, resulting in a second temperature-speed function p = f0'(t) for the ambient temperature and speed. This second temperature-speed function is then used to determine the speed based on the obtained ambient and fuselage temperatures. For instance, if the ambient temperature t2 is between 10℃ and 20℃, and the fuselage temperature is less than 65℃, then the corresponding p1 = 90 + ((110-90) / (20-10)) * (t1) -10), and the same applies to other segments. When the chassis temperature is greater than 65℃, for every 1℃ increase in chassis temperature, the speed calculated by the above formula can be increased by 10 levels. For example, if the current chassis temperature is 68℃, then the corresponding speed is p1=90+((110-90) / (20-10))*(t1-10)+(68-65)*10. When p1>255, p1 is 255. This allows for different speeds to be used for different ambient temperatures, and the speed can be appropriately increased based on the relationship between chassis temperature and safe temperature. Similarly, the speed noise function sf=f1(p) is obtained from the above speed and fan noise value, thus obtaining the fan noise sf and ambient temperature t function sf=f1(f0'(t)). Then, based on the above-mentioned second temperature speed function and speed noise function, a second composite function is obtained, and this second composite function is used as the second fan noise function to obtain the second fan noise function sf = f1(f0'(t)) of the fan noise sf and the chassis temperature t.

[0071] Step S12: Determine the fan noise value of the fan in the device based on the current temperature and the fan noise function.

[0072] In this embodiment, after obtaining the current temperature and fan noise function, the fan noise value of the fan in the device is determined based on the current temperature and fan noise function.

[0073] Step S13: Obtain the environmental noise value corresponding to the device.

[0074] In this embodiment, the ambient noise value corresponding to the device can be obtained through a local microphone configured inside the device, or through a microphone outside the device located in the same environment. Furthermore, the distance between the local microphone and the fan can be greater than or equal to a preset distance threshold; that is, if the microphone is inside the device, to avoid the influence of fan noise on the microphone, the distance between the microphone and the fan can be set to be greater than or equal to the preset distance threshold, or a sound insulation device can be used between the fan and the microphone for sound insulation. The preset distance threshold can be determined based on the type of fan and experimental testing of the device structure.

[0075] Step S14: Obtain the environmental detection parameters associated with the device, and determine the noise detection duration based on the environmental detection parameters.

[0076] In this embodiment, environmental detection parameters associated with the aforementioned device are acquired, and then a noise detection duration is determined based on these parameters. This noise detection duration is used to detect whether a speed adjustment operation is triggered. It is understood that in actual use, there may be sudden, short-term, strong noise that causes the ambient noise level to exceed the fan noise level. If the fan speed is immediately increased at this time, the fan speed must be immediately reduced again when the brief abnormal noise disappears, which can damage the fan motor. Therefore, by acquiring the environmental detection parameters associated with the device and determining the noise detection duration that matches the current device, and controlling whether to initiate speed adjustment based on the noise detection duration, false triggering of speed adjustment due to sudden, short-term, strong noise can be avoided, improving the accuracy of speed adjustment triggering.

[0077] Of course, the noise detection duration mentioned above can also be a fixed value; that is, a fixed noise detection duration can be preset as the preset detection duration, and the preset detection duration can be adjusted according to the environment corresponding to the device after it is started to obtain the final noise detection duration; specifically, the preset detection duration can be adjusted up or down according to the time period corresponding to the current time; the time period includes daytime and nighttime; and / or, an environmental image can be acquired, and the preset detection duration can be adjusted up or down according to the type of the environmental image; the type of the environmental image includes noisy environment type and quiet environment type; and / or, the ambient illuminance can be acquired, and the preset detection duration can be adjusted up or down according to the relationship between the ambient illuminance and the preset illuminance threshold; and / or, the system volume output status of the device can be acquired, and the preset detection duration can be adjusted up or down according to the system volume output status.

[0078] For example, when the device is detected to be in a late-night period (11:00 PM to 5:00 AM), the preset detection duration can be adjusted to be smaller; during the daytime period (5:00 AM to 11:00 PM), the preset detection duration can be increased. Similarly, if the current environment is detected to be noisy, the preset detection duration can be decreased; if the current environment is detected to be quiet, the preset detection duration can be increased. Furthermore, by considering ambient light, when the ambient light is detected to be greater than or equal to a certain threshold, it can be determined that the user is in a relatively noisy environment with a higher probability of abnormal noise, and the preset detection duration can be increased; when the ambient light is detected to be less than a certain threshold, it can be determined that the user is in a relatively quiet environment with a lower probability of abnormal noise, and the preset detection duration can be decreased. Finally, by considering the device's own system volume, when the device's own system volume is increased and there is data output from the audio channel, the preset detection duration can be shortened accordingly. Alternatively, in this embodiment, the above methods can be selectively combined to adjust the preset detection duration. Specific adjustment parameters can be set by the user and are not limited here.

[0079] Step S15: If the fan noise value is less than the ambient noise value throughout the noise detection period, then the ambient noise value is taken as the current expected noise value of the fan.

[0080] In this embodiment, if the fan noise value is lower than the ambient noise value throughout the noise detection period, the ambient noise value is used as the current expected noise value of the fan. That is, if the fan noise value is lower than the ambient noise value throughout the noise detection period, the fan speed can be increased. In order to prevent the fan noise from exceeding the ambient noise and affecting the user experience, the ambient noise value is used as the current expected noise value of the fan.

[0081] Step S16: Determine the desired rotational speed corresponding to the current desired noise value, and increase the rotational speed of the fan to the desired rotational speed.

[0082] In this embodiment, after determining the current desired noise value of the fan, the desired rotational speed corresponding to the current desired noise value is determined, and the rotational speed of the fan is increased to the desired rotational speed. It can be understood that according to the current desired noise value, that is, the current ambient noise value, when the rotational speed of the fan is increased, the fan noise value is the same as the current ambient noise value after the rotational speed of the fan is increased. Thus, while not affecting the user experience, the device can be cooled as much as possible.

[0083] In this embodiment, increasing the rotational speed of the fan to the desired rotational speed may include: according to the adjustment level of the fan, gradually adjusting the rotational speed of the fan at a preset time interval until the rotational speed of the fan is increased to the desired rotational speed; wherein, the adjustment level of the fan is determined according to the accuracy of the pulse width modulation duty cycle corresponding to the fan. For example, if the accuracy of the pulse width modulation duty cycle pwm corresponding to the fan is 1 / 255, then N is 255, that is, N is the minimum progress of fan control, which is also the fan level. At this time, if the rotational speed of the fan is increased, the rotational speed of the fan can be increased by 1 / N every interval duration B until the desired rotational speed is reached.

[0084] For example Figure 2 As shown, if the ambient noise se collected at this time, when sf < se and the duration Ts exceeds the noise detection duration ΔT, the rotational speed p of the fan is gradually increased. The adjustment can be made according to the rule of increasing 1 fan level per second, so that the finally adjusted fan noise value is basically equal to the current ambient noise value. And, after the strategy of increasing the rotational speed of the fan takes effect, if it is detected that the body temperature drops to a preset temperature point, that is, when there is no need to accelerate heat dissipation, the strategy can be stopped, and the fan can continue to dissipate heat according to the minimum rotational speed corresponding to the current temperature determined by the temperature rotational speed function. Thus, it can be avoided that the fan noise is greater than the ambient noise and affects the user experience. Under the condition of ensuring the overall heat dissipation requirements of the machine, heat dissipation is accelerated in the case of large ambient noise, and, without adding soundproofing equipment, the fan noise is reduced. The overall machine temperature is reduced in a high-noise environment, and the fan noise is minimized when the user uses it in a low ambient noise situation to improve the product use experience.

[0085] In this embodiment, after increasing the rotational speed of the fan to the desired rotational speed, it may further include: if the fan noise value corresponding to the fan after the rotational speed is increased is greater than the newly obtained ambient noise value, then determine the target fan noise value corresponding to the current temperature according to the current temperature and the fan noise function, determine the target rotational speed corresponding to the target fan noise value, and adjust the rotational speed of the fan to the target rotational speed.

[0086] In this embodiment, if the final fan noise value corresponding to the fan after the speed increase is greater than the newly acquired ambient noise value, the target fan noise value corresponding to the current temperature is determined using the aforementioned fan noise function, and the target speed corresponding to the target fan noise value is determined. Then, the fan speed is adjusted to the target speed. That is, accelerating heat dissipation is stopped, and only the basic heat dissipation requirements of the device are maintained.

[0087] In this embodiment, before adjusting the fan speed to the target speed, the process may further include: if the target fan noise value is less than the newly acquired ambient noise value, then triggering the step of adjusting the fan speed to the target speed; if the target fan noise value is greater than the newly acquired ambient noise value, then acquiring current environmental information, and when the current environmental information meets the target environmental conditions, adjusting the system display of the device to a brightness adaptive mode; the target environmental conditions include decibel conditions, illuminance conditions, and time conditions.

[0088] In this embodiment, if the target fan noise value is less than the newly acquired ambient noise value, the step of adjusting the fan speed to the target speed is triggered. If the target fan noise value is greater than the newly acquired ambient noise value, the current environmental information is acquired. When the current environmental information meets the target environmental conditions, the device's system display is adjusted to a brightness adaptive mode. The target environmental conditions include decibel conditions, illuminance conditions, and time conditions. That is, if the fan noise value corresponding to the device's basic heat dissipation requirements is higher than the ambient noise value, the system's display brightness is reduced to decrease heat dissipation. This method can be applied to devices such as computers and projectors. For example, if the target fan noise value is greater than the newly acquired ambient noise value, then based on the ambient noise, ambient light, and time period, if all three simultaneously meet the set values, for example, ambient noise: 30 dB; ambient light: 80 LUX; time period: 23:00~06:00, then it is determined that the current user environment is in a quiet and dark environment at midnight, and the system mode is switched to brightness adaptive mode. In this mode, the ambient light is divided into 30 equal parts, and each part of the ambient light corresponds to a light engine brightness. The brighter the ambient light, the brighter the light engine brightness, so as to achieve the purpose of automatically adjusting the brightness of the light source according to the ambient light brightness, thereby reducing the temperature of the whole machine and reducing fan noise in dark environments. If the current environmental information does not meet the target environmental conditions—that is, the fan noise value corresponding to the basic heat dissipation requirements of the equipment is higher than the ambient noise value, and the system brightness is not suitable for adjustment based on the current environment—then the step of determining the target speed corresponding to the target fan noise value and adjusting the fan speed to the target speed can be performed to ensure the normal operating temperature of the equipment. Alternatively, before determining the target speed corresponding to the target fan noise value and adjusting the fan speed to the target speed, a system brightness adjustment request can be sent to the user to inquire whether they accept the system brightness adjustment. If the user accepts the system brightness adjustment, the system brightness of the equipment is reduced; if the user does not accept the system brightness adjustment, then the step of determining the target speed corresponding to the target fan noise value and adjusting the fan speed to the target speed is performed.

[0089] As can be seen from the above, in this embodiment, the current temperature of the device and the fan noise function are obtained, where the independent variable of the fan noise function is temperature and the dependent variable is fan noise; the fan noise value of the fan in the device is determined based on the current temperature and the fan noise function; the environmental noise value corresponding to the device is obtained; environmental detection parameters associated with the device are obtained, and the noise detection duration is determined based on the environmental detection parameters; if the fan noise value is less than the environmental noise value within the noise detection duration, the environmental noise value is used as the current expected noise value of the fan; the expected speed corresponding to the current expected noise value is determined, and the fan speed is increased to the expected speed. As can be seen, by using the fan noise function, the fan noise value is determined based on the current temperature, and a suitable noise detection duration is determined based on environmental detection parameters. Then, if the fan noise value is lower than the environmental noise value within the noise detection duration, the environmental noise value is taken as the current expected noise value of the fan. The fan speed is then increased based on the current expected noise value. In this way, the fan speed can be flexibly adjusted according to the environmental noise, so as to reduce the impact of fan noise on the user while accelerating the heat dissipation of the equipment and improving the heat dissipation capacity of the cooling fan. Furthermore, controlling whether to start speed adjustment by using the noise detection duration determined by the environmental detection parameters can avoid false triggering of speed adjustment due to sudden short-term strong noise, thus improving the accuracy of speed adjustment triggering.

[0090] This application discloses a specific method for controlling a cooling fan. See [link to relevant documentation]. Figure 3 As shown, the method may include the following steps:

[0091] Step S21: Obtain the current temperature and fan noise function of the device, wherein the independent variable of the fan noise function is temperature and the dependent variable is fan noise;

[0092] Step S22: Determine the fan noise value of the fan in the device based on the current temperature and the fan noise function;

[0093] Step S23: Obtain the ambient noise value corresponding to the device;

[0094] Step S24: Obtain the environmental detection parameters associated with the device, and determine the initial detection duration corresponding to each environmental detection parameter based on the detection duration determination rule corresponding to each environmental detection parameter.

[0095] In this embodiment, after obtaining the environmental detection parameters associated with the device, the initial detection duration for each environmental detection parameter is determined based on the detection duration determination rule corresponding to each environmental detection parameter. The aforementioned environmental detection parameters may include any one or more of the following: current time, environmental image, ambient light level, and the system volume output status of the device.

[0096] Step S25: Based on all the initial detection durations, determine the noise detection duration by means of average calculation or weighted average calculation.

[0097] In this embodiment, the noise detection duration is determined by averaging or weighted averaging based on all the obtained initial detection durations.

[0098] In this embodiment, the environmental detection parameters may include any one or more of the following: current time, environmental image, ambient light intensity, and the system volume output status of the device; the detection duration determination rule corresponding to the current time is a rule constructed based on different detection durations corresponding to different time periods; the time periods include daytime and nighttime periods; the detection duration determination rule corresponding to the environmental image is a rule constructed based on different detection durations corresponding to different environmental image types; the environmental image types include noisy environment types and quiet environment types; the detection duration determination rule corresponding to the ambient light intensity is a rule constructed based on different detection durations corresponding to different light intensities; the detection duration determination rule corresponding to the system volume output status is a rule constructed based on different detection durations corresponding to different volume output statuses.

[0099] Understandably, noise types differ under different environmental conditions. For example, abnormal noise is more likely to occur during the day, such as the sound of drilling next door; conversely, abnormal noise is relatively less common at night. Therefore, when the device is detected during the nighttime period A (23:00–5:00), the detection duration can be set to a smaller value, such as 3 seconds. During the daytime period B (5:00–23:00), the detection duration can be set to a larger value, such as 10 seconds.

[0100] In this embodiment, image recognition technology can be combined. If the device is detected in a noisy environment with many people during the day, the detection duration can be set smaller since noise is generally continuous in such environments. Conversely, if the device is detected in a quiet indoor environment, the detection duration can be set larger to reduce the impact of abnormal noise. The detection of the environmental image type can be performed using a trained neural network model. Specifically, image sample sets including both noisy and quiet environments can be acquired first. These image sample sets are then used to train a classification network capable of accurately classifying noisy and quiet environments. This classification network can be a network structure such as VGG Net, ResNet, ResNeXt, or SE-Net. Later, during device use, an image acquisition device, such as a camera, can capture environmental images. The classification network can then process these images to identify the type of environment. If a noisy environment is detected, the detection duration can be set smaller; if a quiet environment is detected, the detection duration can be set larger.

[0101] In this embodiment, by combining ambient light, when the detected ambient light is greater than or equal to a certain threshold, it can be determined that the user is in a relatively non-quiet environment with a higher probability of abnormal noise, and the specific value of the detection duration can be set to be larger; when the detected ambient light is less than a certain threshold, it can be determined that the user is in a relatively quiet environment with a lower probability of abnormal noise, and the specific value of the detection duration can be set to be smaller.

[0102] In this embodiment, the detection time can also be shorter when the system volume of the device itself is increased and there is data output from the audio channel. Alternatively, this embodiment can selectively combine the above methods and determine the noise detection time by averaging or weighted averaging. For example, the acquired environmental detection parameters include both current time and environmental image. Based on the current time being daytime, the initial detection duration is determined to be 10 seconds. Based on the environmental image type being a noisy environment, the initial detection duration is determined to be 2 seconds. Then, a weighted average is taken to obtain the final noise detection duration. For example, if the weight corresponding to the current time is 0.3 and the weight corresponding to the environmental image is 0.7, then the final noise detection duration t = (0.3*10 + 0.7*2) / 2 = 2.2 seconds. That is, each initial detection duration is multiplied by its corresponding weight, and then the average is calculated. The weights of each environmental detection parameter can be set according to the actual usage environment. For example, the current time method is more suitable for indoor homes, where the current time has a higher weight. Conversely, the environmental image method is more suitable for public places like shopping malls that may still be busy at night, where the environmental image has a higher weight.

[0103] Step S26: If the fan noise value is less than the ambient noise value throughout the noise detection period, then the ambient noise value is taken as the current expected noise value of the fan.

[0104] Step S27: Determine the desired speed corresponding to the current desired noise value, and increase the fan speed to the desired speed.

[0105] The specific processes of steps S21-S23, S26 and S27 can be found in the relevant content disclosed in the foregoing embodiments, and will not be repeated here.

[0106] As can be seen from the above, in this embodiment, by acquiring the environmental detection parameters associated with the device and determining the initial detection duration corresponding to each environmental detection parameter based on the detection duration determination rule, the noise detection duration is determined. Then, based on all the initial detection durations, the noise detection duration is determined by averaging or weighted averaging. Thus, a noise detection duration matching the current environment can be obtained. Controlling whether to initiate speed adjustment based on this noise detection duration can avoid false triggering of speed adjustment due to sudden short-term strong noise, improving the accuracy of speed adjustment triggering.

[0107] Accordingly, this application also discloses a cooling fan control device, see [link to relevant documentation]. Figure 4 As shown, the device includes:

[0108] The acquisition module 11 is used to acquire the current temperature and fan noise function of the device, wherein the independent variable of the fan noise function is temperature and the dependent variable is fan noise.

[0109] The fan noise value determination module 12 is used to determine the fan noise value of the fan in the device based on the current temperature and the fan noise function;

[0110] The environmental noise value acquisition module 13 is used to acquire the environmental noise value corresponding to the device.

[0111] The noise detection duration determination module 14 is used to acquire environmental detection parameters associated with the device and determine the noise detection duration based on the environmental detection parameters.

[0112] The current expected noise value determination module 15 is used to determine the current expected noise value of the fan if the fan noise value is less than the ambient noise value within the noise detection time.

[0113] The fan speed enhancement module 16 is used to determine the desired speed corresponding to the current desired noise value and to enhance the fan speed to the desired speed.

[0114] As can be seen from the above, in this embodiment, the fan noise value is determined based on the current temperature using a fan noise function, and a suitable noise detection duration is determined based on environmental detection parameters. Then, if the fan noise value is lower than the environmental noise value within the noise detection duration, the environmental noise value is used as the current expected noise value of the fan. The fan speed is then increased based on the current expected noise value. In this way, the fan speed can be flexibly adjusted according to the environmental noise, so as to reduce the impact of fan noise on the user while accelerating the heat dissipation of the device and improving the heat dissipation capacity of the cooling fan. Furthermore, controlling whether to start speed adjustment by using the noise detection duration determined by the environmental detection parameters can avoid false triggering of speed adjustment due to sudden short-term strong noise, thus improving the accuracy of speed adjustment triggering.

[0115] In some specific embodiments, the acquisition module 11 may specifically include:

[0116] A heat dissipation strategy determination unit is used to determine the heat dissipation strategy of the fan in the device; the heat dissipation strategy includes a first heat dissipation strategy with the body temperature as an indicator and a second heat dissipation strategy with the ambient temperature as an indicator.

[0117] The first fan noise function acquisition unit is used to acquire the device body temperature and the first fan noise function corresponding to the first heat dissipation strategy if the heat dissipation strategy is the first heat dissipation strategy. The independent variable of the first fan noise function is the device body temperature and the dependent variable is the fan noise.

[0118] The second fan noise function acquisition unit is used to acquire, if the heat dissipation strategy is the second heat dissipation strategy, the device body temperature, the ambient temperature corresponding to the device, and the second fan noise function corresponding to the second heat dissipation strategy, wherein the independent variable of the second fan noise function is the ambient temperature and the dependent variable is the fan noise.

[0119] In some specific embodiments, the cooling fan control device may specifically include:

[0120] The target fan noise value determination unit is used to determine the target fan noise value corresponding to the current temperature based on the current temperature and the fan noise function if the fan noise value corresponding to the fan after the speed increase is greater than the newly acquired environmental noise value, then determine the target speed corresponding to the target fan noise value, and adjust the fan speed to the target speed.

[0121] In some specific embodiments, the target fan noise value determination unit may specifically include:

[0122] A triggering unit is configured to trigger the step of adjusting the fan speed to the target speed if the target fan noise value is less than the newly acquired ambient noise value.

[0123] The target environmental condition judgment unit is used to obtain current environmental information if the target fan noise value is greater than the newly acquired environmental noise value, and adjust the system display of the device to brightness adaptive mode when the current environmental information meets the target environmental conditions; the target environmental conditions include decibel conditions, illuminance conditions and time conditions.

[0124] In some specific embodiments, the fan speed enhancement module may specifically include:

[0125] The fan speed adjustment unit is used to adjust the fan speed step by step according to the fan adjustment level and at a preset time interval until the fan speed is increased to the desired speed; wherein, the fan adjustment level is determined according to the accuracy of the pulse width modulation duty cycle corresponding to the fan.

[0126] In some specific embodiments, the noise detection duration determination module may specifically include:

[0127] The initial detection duration determination unit is used to acquire environmental detection parameters associated with the device and determine the initial detection duration corresponding to each environmental detection parameter based on the detection duration determination rule corresponding to each environmental detection parameter.

[0128] The noise detection duration determination unit is used to determine the noise detection duration based on all the initial detection durations by means of average calculation or weighted average calculation.

[0129] In some specific embodiments, the environmental detection parameters include any one or more of the following: current time, environmental image, ambient light level, and the system volume output status of the device;

[0130] The rule for determining the detection duration corresponding to the current time is a rule constructed based on different detection durations corresponding to different time periods; the time periods include daytime time periods and nighttime time periods;

[0131] The detection duration determination rule for the environmental image is a rule constructed based on different detection durations corresponding to different environmental image types; the environmental image types include noisy environment types and quiet environment types;

[0132] The rule for determining the detection duration corresponding to the ambient light intensity is a rule constructed based on different detection durations corresponding to different light intensities;

[0133] The rule for determining the detection duration corresponding to the system volume output state is a rule constructed based on different detection durations corresponding to different volume output states.

[0134] Furthermore, this application also discloses an electronic device, see [link to relevant documentation]. Figure 5 As shown, the content in the figure should not be considered as any limitation on the scope of use of this application.

[0135] Figure 5 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the cooling fan control method disclosed in any of the foregoing embodiments.

[0136] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.

[0137] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored on it include operating system 221, computer program 222 and data 223 including current temperature, etc. The storage method can be temporary storage or permanent storage.

[0138] The operating system 221 manages and controls the various hardware devices on the electronic device 20 and the computer program 222 to enable the processor 21 to perform calculations and processing on the massive amounts of data 223 in the memory 22. The operating system 221 can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program capable of performing the cooling fan control method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include computer programs capable of performing other specific tasks.

[0139] Furthermore, this application also discloses a computer storage medium storing computer-executable instructions. When the computer-executable instructions are loaded and executed by a processor, they implement the cooling fan control method steps disclosed in any of the foregoing embodiments.

[0140] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0141] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0142] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0143] The above provides a detailed description of a cooling fan control method, device, equipment, and medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for controlling a cooling fan, characterized in that, include: Obtain the current temperature and fan noise function of the device, wherein the independent variable of the fan noise function is temperature and the dependent variable is fan noise; Based on the current temperature and the fan noise function, determine the fan noise value of the fan in the device; Obtain the ambient noise value corresponding to the device; The system acquires environmental detection parameters associated with the device and determines the noise detection duration based on these parameters. The environmental detection parameters include the current time, environmental image, ambient light level, and the system volume output status of the device. If the fan noise value is lower than the ambient noise value throughout the noise detection period, then the ambient noise value is taken as the current expected noise value of the fan. Determine the desired speed corresponding to the current desired noise value, and increase the fan speed to the desired speed; The step of acquiring environmental detection parameters associated with the device and determining the noise detection duration based on the environmental detection parameters includes: The environmental detection parameters associated with the device are obtained, and the initial detection duration corresponding to each environmental detection parameter is determined based on the detection duration determination rule. Based on all the initial detection durations, the noise detection duration is determined by averaging or weighted averaging. The detection duration determination rule for the environmental image is a rule constructed based on different detection durations corresponding to different environmental image types; the type of the environmental image is determined by the trained neural network model, and the types of the environmental image include noisy environment type and quiet environment type.

2. The cooling fan control method according to claim 1, characterized in that, The function for obtaining the current temperature and fan noise of the device includes: Determine the heat dissipation strategy for the fan in the device; the heat dissipation strategy includes a first heat dissipation strategy with the body temperature as an indicator and a second heat dissipation strategy with the ambient temperature as an indicator. If the heat dissipation strategy is the first heat dissipation strategy, then obtain the device body temperature and the first fan noise function corresponding to the first heat dissipation strategy. The independent variable of the first fan noise function is the device body temperature, and the dependent variable is the fan noise. If the heat dissipation strategy is the second heat dissipation strategy, then obtain the device body temperature, the ambient temperature corresponding to the device, and the second fan noise function corresponding to the second heat dissipation strategy. The independent variable of the second fan noise function is the ambient temperature, and the dependent variable is the fan noise.

3. The cooling fan control method according to claim 2, characterized in that, The process of constructing the first fan noise function includes: According to the first heat dissipation strategy, the minimum speed of the first fan corresponding to different body temperatures of the device is determined, and the first temperature speed function is obtained by fitting the objective function; the minimum speed of the first fan is the minimum speed of the fan to keep the device within a safe temperature at the body temperature. Based on the fan speed and corresponding fan noise data obtained under noise-free conditions, a speed noise function is constructed. A first composite function is obtained by combining the first temperature-speed function and the speed noise function, and the first composite function is used as the first fan noise function.

4. The cooling fan control method according to claim 2, characterized in that, The process of constructing the second fan noise function includes: According to the second heat dissipation strategy, the minimum speed of the second fan corresponding to the device under different ambient temperatures is determined, and a second temperature-speed function is constructed by combining the difference between the body temperature and the safe temperature; the minimum speed of the second fan is the minimum speed of the fan required to keep the device within the safe temperature under the ambient temperature. Based on the fan speed and corresponding fan noise data obtained under noise-free conditions, a speed noise function is constructed. A second composite function is obtained by combining the second temperature-speed function and the speed noise function, and the second composite function is used as the second fan noise function.

5. The cooling fan control method according to claim 1, characterized in that, After increasing the fan speed to the desired speed, the method further includes: If the fan noise value corresponding to the fan after the speed increase is greater than the newly obtained ambient noise value, then the target fan noise value corresponding to the current temperature is determined according to the current temperature and the fan noise function, the target speed corresponding to the target fan noise value is determined, and the fan speed is adjusted to the target speed.

6. The cooling fan control method according to claim 5, characterized in that, Before adjusting the fan speed to the target speed, the method further includes: If the target fan noise value is less than the newly acquired ambient noise value, then the step of adjusting the fan speed to the target speed is triggered. If the target fan noise value is greater than the newly acquired ambient noise value, the current environmental information is acquired. When the current environmental information meets the target environmental conditions, the system display of the device is adjusted to brightness adaptive mode. The target environmental conditions include decibel conditions, illuminance conditions, and time conditions.

7. The cooling fan control method according to claim 1, characterized in that, Increasing the fan speed to the desired speed includes: According to the adjustment level of the fan, the speed of the fan is adjusted step by step at preset time intervals until the speed of the fan is increased to the desired speed; The adjustment level of the fan is determined based on the accuracy of the pulse width modulation duty cycle corresponding to the fan.

8. The cooling fan control method according to claim 1, characterized in that, The rule for determining the detection duration corresponding to the current time is a rule constructed based on different detection durations corresponding to different time periods; the time periods include daytime time periods and nighttime time periods; The rule for determining the detection duration corresponding to the ambient light intensity is a rule constructed based on different detection durations corresponding to different light intensities; The rule for determining the detection duration corresponding to the system volume output state is a rule constructed based on different detection durations corresponding to different volume output states.

9. A cooling fan control device, characterized in that, include: The acquisition module is used to acquire the current temperature and fan noise function of the device, wherein the independent variable of the fan noise function is temperature and the dependent variable is fan noise. A fan noise value determination module is used to determine the fan noise value of the fan in the device based on the current temperature and the fan noise function. An environmental noise value acquisition module is used to acquire the environmental noise value corresponding to the device. The noise detection duration determination module is used to acquire environmental detection parameters associated with the device and determine the noise detection duration based on the environmental detection parameters; the environmental detection parameters include the current time, environmental image, ambient light level, and the system volume output status of the device; The current expected noise value determination module is used to determine the current expected noise value of the fan if the fan noise value is less than the ambient noise value within the noise detection time. A fan speed enhancement module is used to determine the desired speed corresponding to the current desired noise value and increase the fan speed to the desired speed. The noise detection duration determination module is used to acquire environmental detection parameters associated with the device and determine the initial detection duration corresponding to each environmental detection parameter based on the detection duration determination rule corresponding to each environmental detection parameter. Based on all the initial detection durations, the noise detection duration is determined by averaging or weighted averaging. The detection duration determination rule for the environmental image is a rule constructed based on different detection durations corresponding to different environmental image types; the type of the environmental image is determined by the trained neural network model, and the types of the environmental image include noisy environment type and quiet environment type.

10. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the cooling fan control method as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that, Used to store computer programs; wherein the computer programs, when executed by a processor, implement the cooling fan control method as described in any one of claims 1 to 8.