Regulation and control method and system of intelligent regulation and control fan and storage medium
Intelligent regulation of fan speed is achieved by fitting the control curve equation, which solves the problem of inapplicable fan speed regulation standards in the existing technology, reduces testing costs and improves the accuracy and flexibility of regulation.
Patent Information
- Application Number
- CN202510175263.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2025-04-15
AI Technical Summary
In the prior art, fan speed control standards cannot be applied to all laptops and all working modes, resulting in complex and cumbersome development and debugging of the cooling system, and the fan heat test needs to be carried out again every time the equipment changes, which increases the testing cost.
By fitting the control curve equation between the starting point and the end point, intelligent control of the fan speed at any temperature is achieved, and it is suitable for different models of laptop cooling systems and all working modes.
There is no need to re-suspension test, which reduces the testing cost and more accurately and flexibly realizes intelligent control of fan speed, adapted to various types of laptops and different working modes.
Smart Images

Figure CN119825737A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of heat dissipation fans, and in particular to an intelligent fan control method, system and storage medium. Background Art
[0002] In the control of the cooling system of a laptop computer, the main focus is on the heating of the CPU and GPU. Under the premise of considering the influence of fan noise, the fan speed is adjusted to lower the temperature of the entire machine to achieve the best performance. Therefore, fan speed control is very important for laptop products.
[0003] In the prior art, researchers usually develop about 10 CPU temperature stages and their corresponding fan speeds for cooling according to the heat generation of the CPU and the thermal heat dissipation capacity after tedious measurements and verifications. However, only the 10 CPU temperature stages and the corresponding fan speeds cannot be applied to all laptops. In addition, there are multiple working modes during the operation of the laptop. However, this set of fan speed standards cannot be applied to all working modes. Once the CPU, GPU, fan, copper tube, product specifications, etc. are changed arbitrarily, researchers need to re-perform cooling tests and develop new fan speed standards, which greatly increases the testing cost. Summary of the invention
[0004] The present application provides an intelligent fan control method, system and storage medium to solve the problem that the fan speed control standard in the prior art cannot be applied to all laptop computers and all working modes.
[0005] In a first aspect, the present application provides an intelligent fan control method, comprising:
[0006] Preset a starting point and an ending point based on the relationship between temperature and fan speed, wherein the starting point is a preset minimum temperature and a minimum fan speed corresponding to the minimum temperature, and the ending point is a preset maximum temperature and a maximum fan speed corresponding to the maximum temperature;
[0007] According to the starting point and the ending point, fitting a control curve equation between the starting point and the ending point;
[0008] The fan speed is intelligently regulated at various temperatures according to the regulation curve equation.
[0009] Optionally, fitting a control curve between the starting point and the ending point according to the starting point and the ending point includes:
[0010] According to the preset original curve equation, the intermediate control curve equation is obtained;
[0011] A control curve equation is obtained according to the starting point, the end point and the intermediate control curve equation.
[0012] Optionally, the intermediate control curve equation includes a curvature parameter and a fan minimum speed parameter, and obtaining the control curve equation according to the starting point, the end point and the intermediate control curve equation includes:
[0013] According to the starting point, the end point and the intermediate control curve equation, a curvature parameter value and a fan minimum speed parameter value are calculated;
[0014] The control curve equation is obtained according to the curvature parameter value, the fan minimum speed parameter value and the intermediate control curve equation.
[0015] Optionally, the intermediate control curve equation is a nonlinear equation whose independent variable is temperature and whose dependent variable is fan speed, and the curvature parameter value and the fan minimum speed parameter value are calculated according to the starting point, the end point and the intermediate control curve equation, including:
[0016] Control the temperature of the intermediate control curve equation to be zero, and calculate the minimum speed parameter value of the fan;
[0017] The curvature parameter value is calculated according to the starting point, the end point, the preset curvature point, the fan minimum speed parameter value and the intermediate control curve equation.
[0018] Optionally, the curvature parameter value is calculated according to the starting point, the end point, the preset curvature point, the fan minimum speed parameter value and the intermediate control curve equation, including:
[0019] Based on the FanCustomCurve function, the fan minimum speed parameter value is substituted into the intermediate control curve equation, and the starting point, the end point and the preset curvature point are input to calculate the curvature parameter value.
[0020] Optionally, the intelligently regulating the fan speed at various temperatures according to the regulation curve includes:
[0021] Based on the GetFanSpeedPwm function and the control curve equation, various temperatures are input to obtain the fan speed value corresponding to each temperature.
[0022] Optionally, obtaining the intermediate control curve equation according to the preset original curve equation includes:
[0023] The preset original curve equation is subjected to Padé approximation, and the intermediate control curve equation is obtained according to the preset expansion rule.
[0024] In a second aspect, the present application provides an intelligent fan control system, comprising:
[0025] A preset module, used to preset a starting point and an ending point based on the relationship between temperature and fan speed, wherein the starting point is a preset minimum temperature and a minimum fan speed corresponding to the minimum temperature, and the ending point is a preset maximum temperature and a maximum fan speed corresponding to the maximum temperature;
[0026] A fitting module, used for fitting a control curve equation between the starting point and the ending point according to the starting point and the ending point;
[0027] The control module is used to intelligently control the fan speed at various temperatures according to the control curve equation.
[0028] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described above when executing the computer program.
[0029] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method as described above is implemented.
[0030] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages compared with the prior art: the present application realizes intelligent control of the fan speed at any temperature by fitting the control curve equation between the starting point and the ending point, and is suitable for the cooling systems of different models of laptop computers and all working modes. Once the CPU, GPU, fan, copper tube, product specifications, etc. are changed arbitrarily, there is no need to re-perform the fan thermal test through the fitted control curve equation, which is conducive to reducing the cost of the fan thermal test, and realizing intelligent control of the fan speed more accurately and flexibly, and is suitable for various types of laptop computers and different working modes. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0033] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0034] Figure 1 A flow chart of an intelligent fan control method provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of the relationship between temperature and fan speed provided in an embodiment of the present application;
[0036] Figure 3 Provided in the embodiments of this application Figure 1 Schematic diagram of the specific process of S200;
[0037] Figure 4 Provided in the embodiments of this application Figure 3 Schematic diagram of the specific process of S202;
[0038] Figure 5 Provided in the embodiments of this application Figure 3 Schematic diagram of the specific process of S2021;
[0039] Figure 6 A schematic diagram of the structure of an intelligent fan control system provided in an embodiment of the present application.
[0040] Figure 7 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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 ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0042] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0043] In the control of the cooling system of a laptop computer, the main focus is on the heating of the CPU and GPU. Under the premise of considering the influence of fan noise, the fan speed is adjusted to lower the temperature of the entire machine to achieve the best performance. Therefore, fan speed control is very important for laptop products.
[0044] In the prior art, the thermal development department usually develops about 10 CPU temperature stages and their corresponding fan speeds for cooling according to the CPU heating conditions and thermal heat dissipation capacity after tedious measurements and verifications. EC developers use code logic to implement the speed setting for each stage. After the setting is completed and the speed correspondence is verified to be correct, other departments conduct various performance and noise tests, and adjust the speed based on the test results. Multiple departments repeatedly cooperate to obtain the final fan control setting. In traditional development, taking the CPU office mode as an example, it is necessary to set about 10 different speed levels, and each level needs to set the temperature upper limit, temperature lower limit, and speed, a total of 30 data points.
[0045] Generally, laptops have dual fans for CPU and GPU, and the CPU and GPU each have three working modes. In general, there are 180 data points in each fan control setting. This not only increases the time cost of development, but also is not conducive to cooperation between departments.
[0046] The traditional fan control logic is single, the data setting is cumbersome, and there are many situations that affect heat dissipation. Heat dissipation is a relatively important feature of laptops. The traditional single fan control logic and the same set of fan speed control standards cannot be applied to all laptops and all working modes, making the development and debugging process of the cooling system complicated and cumbersome. In addition, the thermal and testing departments also need to spend a lot of time and energy to debug and verify. In addition, every time the CPU, GPU, cooling module, machine shell, etc. change, it is necessary to spend time and energy to test and import again, making the development of the cooling system more complicated and magnifying the shortcomings of traditional fan control technology.
[0047] In order to solve the problems in the prior art, the present application realizes intelligent control of the fan speed at any temperature by fitting a control curve equation between the starting point and the ending point, and is suitable for the cooling systems of different models of laptop computers and all working modes. Once the CPU, GPU, fan, copper tube, product specifications, etc. are changed arbitrarily, there is no need to re-perform the fan thermal test through the fitted control curve equation, which is conducive to reducing the cost of the fan thermal test and realizing intelligent control of the fan speed more accurately and flexibly, and is suitable for various types of laptop computers and different working modes.
[0048] Figure 1An intelligent fan control method provided in an embodiment of the present application includes:
[0049] S100, preset a starting point and an ending point based on the relationship between temperature and fan speed, wherein the starting point is a preset minimum temperature and a minimum fan speed corresponding to the minimum temperature, and the ending point is a preset maximum temperature and a maximum fan speed corresponding to the maximum temperature.
[0050] Figure 2 A schematic diagram of the relationship between temperature and fan speed provided in an embodiment of the present application. In a laptop computer, the fan is used to rotate at different speeds according to the heat generated by the CPU when the computer is running, so as to dissipate the heat of the CPU. Generally, the higher the CPU temperature, the faster the fan speed is to speed up the heat dissipation. Figure 2 As shown, the Y axis represents the fan speed and the X axis represents the CPU temperature. In the temperature and speed trend analysis, the corresponding fan speed can be found at each CPU temperature, that is, the coordinates of each point in the figure represent (temperature, speed). It can be understood that the speed suddenly changes at point P (48, 0). Before point P, the speed is always 0, and after point P, the speed suddenly changes from 0 to 30, indicating that before point P, the laptop was turned off and did not start working. When the computer is turned on, the fan speed suddenly changes to the starting point A (48, 30), that is, the lowest temperature when the fan starts is 48 degrees Celsius and the lowest speed is 30. As the temperature rises, the speed continues to rise in the form of a broken line, and finally reaches the end point B (77, 72) after the platform and no longer rises, that is, the highest temperature when the fan starts is 77 degrees Celsius and the highest speed is 72.
[0051] In an embodiment of the present application, a curve is drawn between the starting point and the end point by the method provided by the present application to fit the traditional broken line correspondence relationship. The curve equation between point A and point B is fitted by an algorithm, and the corresponding fan speed can be calculated at any temperature, thereby realizing intelligent control of the fan speed, which is suitable for various types of laptops and various working modes.
[0052] The present application customizes the temperature and speed at which the fan starts working through the starting point and ending point given by the user. For example, when the user's computer is mainly used for work, it is often in working mode and only needs to support the opening of simple office software such as WPS. Fan cooling is not needed most of the time, or if you want to reduce the noise caused by unnecessary cooling rotation of the fan, you can customize a lower speed or start the fan when the temperature is higher, etc. By presetting the starting point and ending point given by the user, a control curve exclusive to the user's computer can be fitted, personalized services can be supported, and it is conducive to more flexible intelligent control of the fan speed.
[0053] S200, fitting a control curve equation between the starting point and the ending point according to the starting point and the ending point.
[0054] Figure 3 Provided in the embodiments of this application Figure 1 The specific process diagram of S200 is as follows: Figure 3 As shown, the step of fitting the control curve equation between the starting point and the ending point according to the starting point and the ending point includes:
[0055] S201, obtaining an intermediate control curve equation according to a preset original curve equation.
[0056] Specifically, the Padé approximation is used for the preset original curve equation, and the intermediate control curve equation is obtained according to the preset expansion rule.
[0057] In an embodiment of the present application, the method includes:
[0058] (1) The preset original curve equation uses the lnx curve;
[0059] (2) Expanding x, the Padé approximation of y = lnx yields:
[0060]
[0061] (3) According to the above formula, only the square is retained, and the coefficients are 2:4:5 (i.e. 6, 12, 15 in the formula), the equation of the intermediate control curve is obtained:
[0062] y(x)=6x 2 +A 1 x+15A 0 / B 2 x 2 +12x+15
[0063] Among them, y is the fan speed, x is the temperature, A 1 and B 2 is the curvature parameter, A 0 It is the minimum speed parameter of the fan.
[0064] S202: Obtain a control curve equation according to the starting point, the end point and the intermediate control curve equation.
[0065] Figure 4 Provided in the embodiments of this application Figure 3 The specific process diagram of S202 is as follows: Figure 4 As shown, the intermediate control curve equation includes a curvature parameter and a fan minimum speed parameter, and the control curve equation is obtained according to the starting point, the end point and the intermediate control curve equation, including:
[0066] S2021: Calculate a curvature parameter value and a minimum fan speed parameter value according to the starting point, the ending point and the intermediate control curve equation.
[0067] In the embodiment of the present application, the intermediate control curve equation is obtained through S201. The curvature parameter and the fan minimum speed parameter in the intermediate control curve equation need to be calculated to obtain the control curve equation. Specifically, Figure 5 Provided in the embodiments of this application Figure 3 The specific process diagram of S2021 is as follows: Figure 5 As shown, the S2021 includes:
[0068] S1, controlling the temperature of the intermediate control curve equation to be zero, and calculating the minimum speed parameter value of the fan.
[0069] According to the intermediate control curve equation
[0070] y(x)=6x 2 +A 1 x+15A 0 / B 2 x 2 +12x+15
[0071] When the temperature x = 0, the value of y is A 0 The value is the minimum fan speed parameter value.
[0072] S2, calculating the curvature parameter value according to the starting point, the end point, the preset curvature point, the fan minimum speed parameter value and the intermediate control curve equation.
[0073] Specifically, based on the FanCustomCurve function and the intermediate control curve equation, the starting point, the ending point, the fan minimum speed parameter value and the preset curvature point are input to calculate the curvature parameter value.
[0074] In the embodiment of the present application, according to the minimum speed parameter value A calculated in S1 0 , we also need to calculate the curvature parameter value A 1 Parameters and B 2 Parameters, according to the preset starting point and end point, you can get A 1 Parameters and B 2 The parameter value of the parameter. Among them, A 1 Parameters and B 2The parameters control the curvature and degree of concavity of the curve. Since the laptop has multiple working modes, different rotation speeds may occur at the same temperature. For example, in working mode, when the CPU temperature reaches 58 degrees, the rotation speed is 70, while in gaming mode, the user expects the fan speed to be more sensitive. It is possible that the rotation speed is 80 when the CPU temperature reaches 58 degrees. Therefore, for the same preset starting point and end point, two curves with different concavity shapes may appear. In view of this, the present application will also preset the curvature point in advance, that is, the custom curvature, which is used to roughly specify the concavity shape of the curve, and the A calculated by the FanCustomCurve function 1 Parameters and B 2 Parameters are used to finely control the size of specific curvature values.
[0075] Code example: void FanCustomCurve(BYTE StartX,BYTE StartY,BY TE EndX,BYTE EndY,BYTE CustomX,BYTE CustomY), get A based on the output result 1 Parameters and B 2 The specific parameter value of the parameter.
[0076] Among them, StartX, StartY represent the starting point, EndX, EndY represent the ending point, CustomX, CustomY represent the preset curvature point.
[0077] S2022: Obtain the control curve equation according to the curvature parameter value, the fan minimum speed parameter value and the intermediate control curve equation.
[0078] In the embodiment of the present application, all unknown parameters in the intermediate control curve equation are obtained. 0 and A 1 Parameters, B 2 Substitute the parameters into the intermediate control curve equation to obtain the regulation curve equation.
[0079] S300: Intelligently adjust the fan speed at various temperatures according to the adjustment curve.
[0080] Specifically, based on the GetFanSpeedPwm function and the control curve equation, each temperature is input to obtain the fan speed value corresponding to each temperature.
[0081] In the embodiment of the present application, it is mainly aimed at notebook R&D technology companies. It is packaged into the compilation environment of EC in the form of an API library. First, it is necessary to delete the original fan control logic of EC and package the file library into the compilation environment of EC. The FanCustomCurve function is called in the fan initialization function of EC, and the starting point, end point, and preset curvature point are set to obtain the control curve equation. The GetFanSpeedPwm function is called in the 100ms hook function of EC to pass in the CPU temperature, and the returned speed is assigned to the PWM duty cycle register to achieve intelligent control of the fan.
[0082] like Figure 6 As shown, Figure 6 A schematic diagram of the structure of an intelligent fan control system provided in an embodiment of the present application includes:
[0083] A preset module 410, configured to preset a starting point and an ending point based on a relationship between temperature and fan speed, wherein the starting point is a preset minimum temperature and a minimum fan speed corresponding to the minimum temperature, and the ending point is a preset maximum temperature and a maximum fan speed corresponding to the maximum temperature;
[0084] A fitting module 420, configured to fit a control curve between the starting point and the ending point according to the starting point and the ending point;
[0085] The control module 430 is used to intelligently control the fan speed at various temperatures according to the control curve.
[0086] Specifically, the fitting module 420 also includes the following submodules:
[0087] The intermediate control module 421 is used to obtain an intermediate control curve equation according to a preset original curve equation;
[0088] The control curve module 422 is used to obtain a control curve equation according to the starting point, the end point and the intermediate control curve equation.
[0089] Specifically, the intermediate control module 421 also includes the following units:
[0090] A parameter calculation unit 4211 is used to calculate a curvature parameter value and a fan minimum speed parameter value according to the starting point, the end point and the intermediate control curve equation;
[0091] The curve obtaining unit 4212 is used to obtain the control curve equation according to the curvature parameter value, the fan minimum speed parameter value and the intermediate control curve equation.
[0092] Specifically, the parameter calculation unit 4211 also includes the following subunits:
[0093] A fan minimum speed parameter value calculation unit, used to control the temperature of the intermediate control curve equation to be zero, and calculate the fan minimum speed parameter value;
[0094] The curvature parameter value calculation unit is used to calculate the curvature parameter value according to the starting point, the end point, the preset curvature point, the fan minimum speed parameter value and the intermediate control curve equation.
[0095] The curvature parameter value calculation unit is specifically used to calculate the curvature parameter value based on the FanCustomCurve function and the intermediate control curve equation, by inputting the starting point, the ending point, the fan minimum speed parameter value and the preset curvature point.
[0096] The control module 430 is specifically configured to input various temperatures based on the GetFanSpeedPwm function and the control curve equation to obtain the fan speed value corresponding to each temperature.
[0097] The step of obtaining the intermediate control curve equation according to the preset original curve equation includes:
[0098] The intermediate control module 421 is specifically used to apply Padé approximation to the preset original curve equation, and obtain the intermediate control curve equation according to a preset expansion rule.
[0099] like Figure 7 As shown, Figure 7 700 is a schematic diagram of the structure of the terminal device provided in the embodiment of the present application. The computer-readable storage medium 700 of this embodiment includes: a server 710 ( Figure 7 Only one is shown), a client 720 and a data recovery program 721 stored in the client 720 and executable on at least one of the clients 720, the client 720 executes the data recovery program 721 to send a request to the server 710, and the server 710 feeds back a result to implement the steps in the above method embodiment.
[0100] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0101] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0102] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0103] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0104] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0105] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0106] The present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed through a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing.
[0107] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above-mentioned embodiments, a person skilled in the art should understand that the technical solutions described in the above-mentioned embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. An intelligent fan control method, characterized in that: The method comprises: Preset a starting point and an ending point based on the relationship between temperature and fan speed, wherein the starting point is a preset minimum temperature and a minimum fan speed corresponding to the minimum temperature, and the ending point is a preset maximum temperature and a maximum fan speed corresponding to the maximum temperature; According to the starting point and the ending point, fitting a control curve equation between the starting point and the ending point; The fan speed is intelligently regulated at various temperatures according to the regulation curve equation.
2. The method according to claim 1, characterized in that: The step of fitting a control curve equation between the starting point and the ending point according to the starting point and the ending point comprises: According to the preset original curve equation, the intermediate control curve equation is obtained; A control curve equation is obtained according to the starting point, the end point and the intermediate control curve equation.
3. The method according to claim 2, characterized in that: The intermediate control curve equation includes a curvature parameter and a fan minimum speed parameter. The control curve equation is obtained according to the starting point, the end point and the intermediate control curve equation, including: According to the starting point, the end point and the intermediate control curve equation, a curvature parameter value and a fan minimum speed parameter value are calculated; The control curve equation is obtained according to the curvature parameter value, the fan minimum speed parameter value and the intermediate control curve equation.
4. The method according to claim 3, characterized in that: The intermediate control curve equation is a nonlinear equation whose independent variable is temperature and whose dependent variable is fan speed. The curvature parameter value and the fan minimum speed parameter value are calculated according to the starting point, the end point and the intermediate control curve equation, including: Control the temperature of the intermediate control curve equation to be zero, and calculate the minimum speed parameter value of the fan; The curvature parameter value is calculated according to the starting point, the end point, the preset curvature point, the fan minimum speed parameter value and the intermediate control curve equation.
5. The method according to claim 4, characterized in that: The curvature parameter value is calculated based on the starting point, the end point, the preset curvature point, the fan minimum speed parameter value and the intermediate control curve equation, including: Based on the FanCustomCurve function, the fan minimum speed parameter value is substituted into the intermediate control curve equation, and the starting point, the end point and the preset curvature point are input to calculate the curvature parameter value.
6. The method according to claim 1, characterized in that: The intelligently controlling the fan speed at various temperatures according to the control curve equation includes: Based on the GetFanSpeedPwm function and the control curve equation, various temperatures are input to obtain the fan speed value corresponding to each temperature.
7. The method according to claim 2, characterized in that: The step of obtaining the intermediate control curve equation according to the preset original curve equation includes: The preset original curve equation is subjected to Padre approximation, and the intermediate control curve equation is obtained according to the preset expansion rule.
8. An intelligent fan control system, characterized in that: The system comprises: A preset module, used to preset a starting point and an ending point based on the relationship between temperature and fan speed, wherein the starting point is a preset minimum temperature and a minimum fan speed corresponding to the minimum temperature, and the ending point is a preset maximum temperature and a maximum fan speed corresponding to the maximum temperature; A fitting module, used for fitting a control curve equation between the starting point and the ending point according to the starting point and the ending point; The control module is used to intelligently control the fan speed at various temperatures according to the control curve equation.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.