Fan speed regulation method, fan, computer equipment and storage medium

Through the PID speed regulation algorithm and load configuration table of multi-temperature target points, the fan speed is adjusted in combination with the environment and key device temperatures, the heat dissipation problem caused by a single target point is solved, and the fan speed is accurately adjusted to meet different heat dissipation needs.

CN116104792BActive Publication Date: 2025-08-15CHINA GREATWALL TECH GRP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310210838.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-07
Publication Date
2025-08-15
Estimated Expiration
2043-03-07

AI Technical Summary

Technical Problem

In the existing server fan speed regulation method, a single temperature target point causes the heat dissipation requirements to be unable to meet, which may lead to overheating of key devices or waste of heat dissipation resources, and the use habits of different users cannot be taken into account.

Method used

The PID speed regulation algorithm with multiple temperature target points is adopted, combining ambient temperature and key device temperatures, and the fan speed is adjusted through a nonlinear step curve and load configuration table to ensure that the fan speed meets different heat dissipation needs.

Benefits of technology

The precise adjustment of fan speed is achieved according to different temperatures and load conditions, avoiding overheating or overcooling problems caused by a single target point, and meeting different heat dissipation needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116104792B_ABST
    Figure CN116104792B_ABST
Patent Text Reader

Abstract

The present invention discloses a fan speed regulation method, a fan, a computer device, and a storage medium. The fan speed regulation method of one embodiment includes: obtaining the ambient temperature and the temperature of a key component in real time according to a temperature sensor set on the target component; obtaining a first fan speed corresponding to the ambient temperature according to a preset temperature and speed configuration table; obtaining a second fan speed corresponding to the temperature of the key component according to a preset PID speed regulation algorithm, the PID speed regulation algorithm including at least two temperature target points; and adjusting the fan speed with the higher value of the first fan speed and the second fan speed. The fan speed regulation method provided by the present invention obtains the fan speed corresponding to the temperature of the key component through a PID speed regulation algorithm including at least two temperature target points, and adjusts the fan speed according to the first fan speed corresponding to the ambient temperature and the second fan speed corresponding to the temperature of the key component obtained by the PID speed regulation algorithm, thereby meeting different heat dissipation requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fan control, and in particular to a fan speed regulation method, a fan, a computer device and a storage medium. Background Art

[0002] In the existing technology, the main architecture of the server fan speed control method is composed of the key component PID speed control mechanism. The PID speed control mechanism is a single target mechanism, that is, setting a temperature target point. The single target point leads to the following problems:

[0003] 1. Setting the target point too high: This may cause the temperature of key components to fail to reach the PID speed control mechanism. However, if the speed control mechanism is set too low due to the noise demand environment, key components will operate at relatively high temperatures. High temperatures can easily cause component failure.

[0004] 2. The target point is set too low: This may cause the temperature of key components to easily reach the PID speed control mechanism, leading to increased investment in cooling resources: the speed increases, and the noise and power increase.

[0005] 3. Setting the target point midway: This balances cooling performance and cooling resource efficiency. However, for specific users, this is only a compromise and does not take into account individual user habits.

[0006] Therefore, how to adjust the speed of server fans to meet different heat dissipation requirements has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the Invention

[0007] In order to solve at least one of the above problems, the present invention provides a fan speed regulation method in a first aspect, comprising:

[0008] Acquire the ambient temperature and key component temperature in real time based on the temperature sensor set on the target device;

[0009] Obtaining a first fan speed corresponding to the ambient temperature according to a preset temperature and speed configuration table, wherein the temperature and speed configuration table includes different temperatures and fan speeds corresponding to each temperature;

[0010] Obtaining a second fan speed corresponding to the temperature of the key component according to a preset PID speed regulation algorithm, wherein the PID speed regulation algorithm includes at least two temperature target points;

[0011] The fan speed is adjusted according to the higher value of the first fan speed and the second fan speed.

[0012] Furthermore, the PID speed control algorithm includes a nonlinear step curve of temperature and speed formed by the at least two temperature target points, and obtaining the second fan speed corresponding to the key component temperature according to the preset PID speed control algorithm further includes:

[0013] A second fan speed corresponding to the temperature of the key component is obtained according to the nonlinear step curve.

[0014] Furthermore, the nonlinear step curve includes a horizontal line corresponding to each temperature target point, the fan speed corresponding to the horizontal line is the fan speed corresponding to the temperature target point, the temperature starting point and the temperature end point corresponding to the horizontal line are the lower temperature limit and the upper temperature limit with the temperature target point as the midpoint and the preset temperature amplitude as the step, and obtaining the second fan speed corresponding to the key component temperature according to the preset PID speed control algorithm further includes:

[0015] The fan speeds corresponding to the temperatures of key components within the same temperature range are the same.

[0016] Furthermore, the nonlinear step curve includes a first sub-curve located between each temperature range, the first sub-curve is a linear curve, the fan speeds corresponding to the starting point and the end point of the first sub-curve are respectively the fan speeds corresponding to two adjacent temperature target points, the temperatures corresponding to the starting point and the end point of the first sub-curve are the upper temperature limit and the lower temperature limit of the two adjacent temperature ranges, and obtaining the second fan speed corresponding to the key component temperature according to the preset PID speed control algorithm further includes:

[0017] The fan speeds corresponding to the temperatures of the key components belonging to the same first sub-curve are arranged linearly.

[0018] Furthermore, the nonlinear step curve includes a second sub-curve corresponding to each temperature target point, the second sub-curve is a linear curve, the fan speed corresponding to the start point and the end point of the second sub-curve is a preset upper limit and lower limit of the fan speed, the temperature start point and the temperature end point corresponding to the start point and the end point of the second sub-curve are a lower limit and an upper limit of the temperature with the temperature target point as the midpoint and a preset temperature amplitude as the step, and obtaining the second fan speed corresponding to the key component temperature according to the preset PID speed control algorithm further includes:

[0019] The fan speeds corresponding to the temperatures of the key components belonging to the same second sub-curve are arranged linearly.

[0020] Furthermore, the nonlinear step curve includes a third sub-curve located between each temperature range, the third sub-curve is a linear curve, the fan speeds corresponding to the starting point and the end point of the third sub-curve are the upper limit and the lower limit of the fan speed of two adjacent temperature ranges, respectively, and the temperatures corresponding to the starting point and the end point of the third sub-curve are the upper limit and the lower limit of the temperature of the two adjacent temperature ranges, and obtaining the second fan speed corresponding to the temperature of the key component according to the preset PID speed control algorithm further includes:

[0021] The fan speeds corresponding to the temperatures of the key components belonging to the same third sub-curve are arranged linearly.

[0022] Furthermore, it also includes obtaining the load of the target device in real time,

[0023] Before adjusting the fan speed to the higher of the first fan speed and the second fan speed, the fan speed regulation method further comprises: obtaining a third fan speed corresponding to the load according to a preset load and speed configuration table, the load and speed configuration table including different loads and fan speeds corresponding to each load;

[0024] Adjusting the fan speed at a higher value among the first fan speed and the second fan speed further includes adjusting the fan speed at a higher value among the first fan speed, the second fan speed, and the third fan speed.

[0025] A second aspect of the present invention provides a fan, comprising a controller, wherein the controller is configured to:

[0026] Acquire the ambient temperature and key component temperature in real time based on the temperature sensor set on the target device;

[0027] Obtaining a first fan speed corresponding to the ambient temperature according to a preset temperature and speed configuration table, wherein the temperature and speed configuration table includes different temperatures and fan speeds corresponding to each temperature;

[0028] Obtaining a second fan speed corresponding to the temperature of the key component according to a preset PID speed regulation algorithm, wherein the PID speed regulation algorithm includes at least two temperature target points;

[0029] The fan speed is adjusted according to the higher value of the first fan speed and the second fan speed.

[0030] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.

[0031] A fourth aspect of the present invention provides a computer 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 in the first aspect when executing the program.

[0032] The beneficial effects of the present invention are as follows:

[0033] In response to the current problems, the present invention develops a fan speed regulation method, a fan, a computer device and a storage medium. The fan speed regulation method obtains the fan speed corresponding to the temperature of a key component through a PID speed regulation algorithm including at least two temperature target points, and adjusts the fan speed according to a first fan speed corresponding to the ambient temperature and a second fan speed obtained by the PID speed regulation algorithm corresponding to the temperature of the key component. The method can meet different heat dissipation requirements and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 A flow chart showing a fan speed regulation method according to an embodiment of the present invention is shown;

[0036] Figure 2 A schematic diagram showing the temperature of key components and fan speed according to an embodiment of the present invention;

[0037] Figure 3 A schematic diagram showing the temperature of key components and fan speed according to another embodiment of the present invention;

[0038] Figure 4 A schematic structural diagram of a computer device according to another embodiment of the present invention is shown. DETAILED DESCRIPTION

[0039] In order to more clearly illustrate the present invention, the present invention is further described below in conjunction with preferred embodiments and accompanying drawings. Similar components in the accompanying drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the following detailed description is illustrative rather than restrictive and should not be used to limit the scope of protection of the present invention.

[0040] According to the problems existing in the prior art, such as Figure 1 As shown, an embodiment of the present invention provides a fan speed regulation method, comprising:

[0041] Acquire the ambient temperature and key component temperature in real time based on the temperature sensor set on the target device;

[0042] Obtaining a first fan speed corresponding to the ambient temperature according to a preset temperature and speed configuration table, wherein the temperature and speed configuration table includes different temperatures and fan speeds corresponding to each temperature;

[0043] Obtaining a second fan speed corresponding to the temperature of the key component according to a preset PID speed regulation algorithm, wherein the PID speed regulation algorithm includes at least two temperature target points;

[0044] The fan speed is adjusted according to the higher value of the first fan speed and the second fan speed.

[0045] In this embodiment, the fan speed corresponding to the temperature of the key component is obtained by a PID speed control algorithm including at least two temperature target points, and the fan speed is adjusted according to a first fan speed corresponding to the ambient temperature and a second fan speed obtained by the PID speed control algorithm corresponding to the temperature of the key component. This can meet different heat dissipation requirements and has broad application prospects.

[0046] In a specific example, the fan speed corresponding to the acquired ambient temperature is first obtained from a predefined temperature and speed configuration table. The table includes temperatures and fan speeds that correspond to each temperature, i.e., one fan speed corresponds to one ambient temperature. Based on the real-time acquired ambient temperature of the target device, the corresponding first fan speed is obtained. Then, based on the acquired key device temperature, the corresponding second fan speed is obtained using a PID speed control algorithm.

[0047] In order to solve the problem that setting a single temperature target point in the existing technology cannot meet different needs, such as Figure 2 As shown, the PID speed control algorithm of this embodiment includes a nonlinear step curve L of temperature and speed formed by three temperature target points T1, T2 and T3, and the nonlinear step curve includes multiple segments of curves. The corresponding fan speed is obtained according to the nonlinear step curve based on the real-time acquired key component temperature.

[0048] In this embodiment, the nonlinear step curve L includes a horizontal line L1 corresponding to the temperature target point T1, a horizontal line L2 corresponding to the temperature target point T2, and a horizontal line L3 corresponding to the temperature target point T3, as well as a broken line L4 located between the horizontal lines L1 and L2, and a broken line L5 located between the horizontal lines L2 and L3.

[0049] Specifically, the nonlinear step curve L includes horizontal lines L1, L2 and L3 corresponding to the temperature target points, and the fan speed corresponding to each horizontal line is the fan speed corresponding to the temperature target point. For example, the fan speed corresponding to the horizontal line L1 is the fan speed of 4000 corresponding to the temperature target point T1, the fan speed corresponding to the horizontal line L2 is the fan speed of 8000 corresponding to the temperature target point T2, and the fan speed corresponding to the horizontal line L3 is the fan speed of 16000 corresponding to the temperature target point T3. The temperature starting point and temperature end point corresponding to the horizontal lines are the lower temperature limit and the upper temperature limit with the temperature target point as the midpoint and the preset temperature amplitude as the step. For example, the temperature starting point corresponding to the horizontal line L1 is the temperature of the temperature target point T1, which is 45 degrees, minus the preset temperature amplitude of 5 degrees, which is 40 degrees. Similarly, the temperature end point corresponding to the horizontal line L1 is the temperature of the temperature target point T1, which is 45 degrees, plus the preset temperature amplitude of 5 degrees, which is 50 degrees. That is, each horizontal line represents the temperature range corresponding to each temperature target. Horizontal line L1 is the temperature range of 40 to 50 degrees corresponding to the temperature target point T1 of 45 degrees. The fan speed corresponding to the temperature of each key component within this temperature range is the same 4000; horizontal line L2 is the temperature range of 60 to 70 degrees corresponding to the temperature target point T2 of 65 degrees. The fan speed corresponding to the temperature of each key component within this temperature range is the same 8000; horizontal line L3 is the temperature range of 80 to 90 degrees corresponding to the temperature target point T3 of 85 degrees. The fan speed corresponding to the temperature of each key component within this temperature range is the same 16000.

[0050] Broken line L4 is the broken line between horizontal line L1 at temperature target point T1 and horizontal line L2 at temperature target point T2 in the nonlinear step curve L. Broken line L4 is a linear curve. The fan speed at the starting point of broken line L4 is 4000 for temperature target point T1, and the fan speed at the end point of broken line L4 is 8000 for temperature target point T2. The temperature at the starting point of broken line L4 is the upper temperature limit of 50°C for horizontal line L1, and the temperature at the end point of broken line L4 is the lower temperature limit of 60°C for horizontal line L2. The fan speeds corresponding to the key component temperatures along broken line L4 are arranged according to a linear rule, that is, the corresponding fan speeds are obtained on broken line L4 based on the key component temperatures. Similarly, as shown in the figure, the starting point of broken line L5 is the fan speed of 8000 corresponding to the upper temperature limit of 70°C for horizontal line L2, and the end point of broken line L5 is the fan speed of 16000 corresponding to the lower temperature limit of 80°C for horizontal line L3. The fan speeds corresponding to the key component temperatures along broken line L5 are arranged according to a linear rule.

[0051] Based on the real-time temperature of key components, the corresponding second fan speed is obtained according to the PID speed control algorithm, especially the fan speed corresponding to each stage line segment formed according to the set different temperature target points. By comparing the obtained first fan speed and second fan speed, the fan speed value is adjusted according to the fan speed with the higher speed, thereby achieving the setting of different temperature target points through the PID speed control algorithm, and further obtaining the second fan speed corresponding to the key component temperature according to the different temperature target points, thereby avoiding the problems in the prior art when the target point is set too high, too low or in the middle due to setting a single temperature target point, and can meet different heat dissipation requirements.

[0052] In another specific embodiment, Figure 3 As shown, the PID speed control algorithm of this embodiment includes a nonlinear step curve N of temperature and speed formed by three temperature target points T1, T2 and T3, and the nonlinear step curve includes multiple segments of curves. The corresponding fan speed is obtained according to the nonlinear step curve based on the key component temperature obtained in real time.

[0053] In this embodiment, the nonlinear step curve N includes a curve N1 corresponding to the temperature target point T1, a curve N2 corresponding to the temperature target point T2, and a curve N3 corresponding to the temperature target point T3, as well as a curve N4 located between the curves N1 and N2, and a curve N5 located between the curves N2 and N3.

[0054] Specifically, the nonlinear step curve N includes curves N1, N2 and N3 corresponding to the temperature target points, and the fan speed corresponding to each curve is a preset fan speed. For example, the temperature range corresponding to curve N1 is 40 degrees to 50 degrees centered on the temperature target point T1 of 45 degrees. Curve N1 is a linear curve from a fan speed of 2500 corresponding to the starting point of 40 degrees to a fan speed of 4000 corresponding to the end point of 50 degrees. The fan speeds corresponding to the key component temperatures on curve N1 are arranged according to a nonlinear rule; similarly, curve N2 is a linear curve from a fan speed of 6000 corresponding to the starting point of 60 degrees to a fan speed of 8000 corresponding to the end point of 70 degrees. The fan speeds corresponding to the key component temperatures on curve N2 are arranged according to a nonlinear rule; curve N3 is a linear curve from a fan speed of 13000 corresponding to the starting point of 80 degrees to a fan speed of 16000 corresponding to the end point of 90 degrees. The fan speeds corresponding to the key component temperatures on curve N3 are arranged according to a nonlinear rule.

[0055] Curve N4 is the curve between curve N1, which includes temperature target point T1, and curve N2, which includes temperature target point T2, in the nonlinear step curve L. Curve N4 is a linear curve. The fan speed at the starting point of curve N4 is 4000, corresponding to the upper temperature limit of 50 degrees Celsius on curve N1, and the fan speed at the end point of curve N4 is 6000, corresponding to the lower temperature limit of 60 degrees Celsius on curve N2. The fan speeds corresponding to the key component temperatures on curve N4 are arranged according to a linear rule, that is, the corresponding fan speeds are obtained on curve N4 based on the key component temperatures. Similarly, as shown in the figure, the starting point of curve N5 is 8000, corresponding to the upper temperature limit of 70 degrees Celsius on curve N2, and the end point of curve N5 is 13000, corresponding to the lower temperature limit of 80 degrees Celsius on curve N3. The fan speeds corresponding to the key component temperatures on the broken line curve N5 are arranged according to a linear rule.

[0056] Based on the real-time temperature of key components, the corresponding second fan speed is obtained according to the PID speed control algorithm, especially the fan speed corresponding to each curve formed according to the set different temperature target points. By comparing the obtained first fan speed and second fan speed, the fan speed value is adjusted according to the fan speed with the higher speed, thereby achieving the setting of different temperature target points through the PID speed control algorithm, and further obtaining the second fan speed corresponding to the temperature of the key component according to the different temperature target points, thereby avoiding the problems in the prior art when the target point is set too high, too low or in the middle due to setting a single temperature target point, and can meet different heat dissipation requirements.

[0057] Further taking into account the requirements of the real-time load of the target device for the fan speed, in an optional embodiment, the fan speed regulation method also includes: obtaining the load of the target device in real time, and before adjusting the fan speed with the higher value of the first fan speed and the second fan speed, the fan speed regulation method also includes: obtaining a third fan speed corresponding to the load according to a preset load and speed configuration table, and the load and speed configuration table includes different loads and fan speeds corresponding to each load one by one; adjusting the fan speed with the higher value of the first fan speed and the second fan speed further includes: adjusting the fan speed with the higher value of the first fan speed, the second fan speed and the third fan speed.

[0058] In this embodiment, by adding a third fan speed corresponding to the real-time load of the target device, the fan speed is further adjusted according to the higher value of the first fan speed, the second fan speed and the third fan speed, thereby achieving the selection of an appropriate fan speed according to the real-time ambient temperature, key device temperature and real-time load of the target device, further improving the accuracy of the fan speed setting.

[0059] Corresponding to the fan speed regulation method provided in the above embodiment, an embodiment of the present application also provides a fan for implementing the above fan speed regulation method, including a controller, wherein the controller is configured to: obtain the ambient temperature and the temperature of the key component in real time according to the temperature sensor set on the target device; obtain the first fan speed corresponding to the ambient temperature according to a preset temperature and speed configuration table, and the temperature and speed configuration table includes different temperatures and fan speeds corresponding to each temperature; obtain the second fan speed corresponding to the key component temperature according to a preset PID speed regulation algorithm, and the PID speed regulation algorithm includes at least two temperature target points; adjust the fan speed with the higher value of the first fan speed and the second fan speed.

[0060] The fan of this embodiment obtains the fan speed corresponding to the temperature of the key component through a PID speed control algorithm including at least two temperature target points, and adjusts the fan speed according to a first fan speed corresponding to the ambient temperature and a second fan speed obtained by the PID speed control algorithm corresponding to the temperature of the key component. It can meet different heat dissipation requirements and has broad application prospects.

[0061] Since the fan provided in the embodiment of the present application corresponds to the fan speed regulation method provided in the above-mentioned embodiments, the previous implementation is also applicable to the fan provided in this embodiment and will not be described in detail in this embodiment.

[0062] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements: obtaining the ambient temperature and the temperature of a key component in real time according to a temperature sensor set on a target component; obtaining a first fan speed corresponding to the ambient temperature according to a preset temperature and speed configuration table, wherein the temperature and speed configuration table includes different temperatures and fan speeds corresponding to each temperature; obtaining a second fan speed corresponding to the temperature of the key component according to a preset PID speed control algorithm, wherein the PID speed control algorithm includes at least two temperature target points; and adjusting the fan speed at the higher value of the first fan speed and the second fan speed.

[0063] In practical applications, the computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0064] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0065] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0066] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0067] like Figure 4As shown, a structural diagram of a computer device provided by another embodiment of the present invention. Figure 4 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0068] like Figure 4 As shown, computer device 12 is implemented as a general-purpose computing device. Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 that connects various system components (including system memory 28 and processing unit 16).

[0069] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0070] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.

[0071] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 4 Not shown, often called a "hard drive"). Although Figure 4 Not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.

[0072] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally implement the functions and / or methods of the embodiments described herein.

[0073] The computer device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may occur through an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. Figure 4 As shown, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0074] The processor unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing a fan speed adjustment method provided by an embodiment of the present invention.

[0075] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the scope of protection of the present invention.

Claims

1. A fan speed regulation method, characterized in that: include: Acquire the ambient temperature and key component temperature in real time based on the temperature sensor set on the target device; Obtaining a first fan speed corresponding to the ambient temperature according to a preset temperature and speed configuration table, wherein the temperature and speed configuration table includes different temperatures and fan speeds corresponding to each temperature; Obtaining a second fan speed corresponding to the temperature of the key component according to a preset PID speed regulation algorithm, wherein the PID speed regulation algorithm includes at least two temperature target points; adjusting the fan speed to a higher value between the first fan speed and the second fan speed; The method further includes obtaining a load of the target device in real time. Before adjusting the fan speed at the higher of the first fan speed and the second fan speed, the method further includes: obtaining a third fan speed corresponding to the load according to a preset load and speed configuration table, wherein the load and speed configuration table includes different loads and fan speeds corresponding to each load; Adjusting the fan speed at a higher value among the first fan speed and the second fan speed further includes adjusting the fan speed at a higher value among the first fan speed, the second fan speed, and the third fan speed.

2. The fan speed regulation method according to claim 1, wherein: The PID speed control algorithm includes a nonlinear step curve of temperature and speed formed by the at least two temperature target points, and obtaining the second fan speed corresponding to the key component temperature according to the preset PID speed control algorithm further includes: A second fan speed corresponding to the temperature of the key component is obtained according to the nonlinear step curve.

3. The fan speed regulation method according to claim 2, wherein: The nonlinear step curve includes a horizontal line corresponding to each temperature target point, the fan speed corresponding to the horizontal line is the fan speed corresponding to the temperature target point, the temperature starting point and the temperature end point corresponding to the horizontal line are the lower temperature limit and the upper temperature limit with the temperature target point as the midpoint and the preset temperature amplitude as the step, and obtaining the second fan speed corresponding to the key component temperature according to the preset PID speed control algorithm further includes: The fan speeds corresponding to the temperatures of key components within the same temperature range are the same.

4. The fan speed regulation method according to claim 3, characterized in that: The nonlinear step curve includes a first sub-curve located between each temperature range, the first sub-curve is a linear curve, the fan speeds corresponding to the starting point and the end point of the first sub-curve are respectively the fan speeds corresponding to two adjacent temperature target points, the temperatures corresponding to the starting point and the end point of the first sub-curve are the upper temperature limit and the lower temperature limit of the two adjacent temperature ranges, and obtaining the second fan speed corresponding to the key component temperature according to the preset PID speed control algorithm further includes: The fan speeds corresponding to the temperatures of the key components belonging to the same first sub-curve are arranged linearly.

5. The fan speed regulation method according to claim 2, wherein: The nonlinear step curve includes a second sub-curve corresponding to each temperature target point, the second sub-curve is a linear curve, the fan speed corresponding to the start point and the end point of the second sub-curve is a preset upper limit and lower limit of the fan speed, the temperature start point and the temperature end point corresponding to the start point and the end point of the second sub-curve are a lower limit and an upper limit of the temperature with the temperature target point as the midpoint and a preset temperature amplitude as a step, and obtaining the second fan speed corresponding to the key component temperature according to the preset PID speed control algorithm further includes: The fan speeds corresponding to the temperatures of the key components belonging to the same second sub-curve are arranged linearly.

6. The fan speed regulation method according to claim 5, characterized in that: The nonlinear step curve includes a third sub-curve located between each temperature range, the third sub-curve is a linear curve, the fan speeds corresponding to the starting point and the end point of the third sub-curve are the upper limit and the lower limit of the fan speed of two adjacent temperature ranges, respectively, and the temperatures corresponding to the starting point and the end point of the third sub-curve are the upper limit and the lower limit of the temperature of the two adjacent temperature ranges, and obtaining the second fan speed corresponding to the temperature of the key component according to the preset PID speed control algorithm further includes: The fan speeds corresponding to the temperatures of the key components belonging to the same third sub-curve are arranged linearly.

7. A fan, characterized in that: comprising a controller configured to: Acquire the ambient temperature and key component temperature in real time based on the temperature sensor set on the target device; Obtaining a first fan speed corresponding to the ambient temperature according to a preset temperature and speed configuration table, wherein the temperature and speed configuration table includes different temperatures and fan speeds corresponding to each temperature; Obtaining a second fan speed corresponding to the temperature of the key component according to a preset PID speed regulation algorithm, wherein the PID speed regulation algorithm includes at least two temperature target points; adjusting the fan speed to a higher value between the first fan speed and the second fan speed; It also includes real-time acquisition of the load of the target device. Before adjusting the fan speed with the higher value of the first fan speed and the second fan speed, the fan speed regulation method also includes: obtaining a third fan speed corresponding to the load according to a preset load and speed configuration table, the load and speed configuration table including different loads and fan speeds corresponding to each load; adjusting the fan speed with the higher value of the first fan speed and the second fan speed further includes: adjusting the fan speed with the higher value of the first fan speed, the second fan speed and the third fan speed.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Charger and core controller and heat-dissipation control method thereof

    CN107577224A

  • Heat dissipation control method and device, equipment and storage medium

    CN113133286A

  • Rotation control method, information processing device, and non-transitory computer-readable recording medium storing rotation control program

    US20170099748A1