Fan intelligent temperature control method, device, equipment and medium

By integrating a temperature sensor into the controller and dynamically adjusting the fan speed, the problem of lag in cooling fan speed regulation is solved, resulting in more effective heat dissipation.

CN119778308BActive Publication Date: 2025-10-28深圳市永诚创科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510109275.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-10-28
Estimated Expiration
2045-01-23

AI Technical Summary

Technical Problem

In existing technologies, the speed control of cooling fans suffers from adjustment lag, resulting in poor heat dissipation.

Method used

By integrating a temperature sensor into the controller, temperature sequences are obtained through periodic sampling. The fan speed is then dynamically adjusted using a speed configuration table and a variable speed strategy to avoid adjustment lag.

Benefits of technology

It enables real-time dynamic adjustment of fan speed, improves heat dissipation, avoids lag in fan speed adjustment, and ensures effective heat dissipation of devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119778308B_ABST
    Figure CN119778308B_ABST
Patent Text Reader

Abstract

This invention discloses a method, device, equipment, and medium for intelligent temperature control of a fan. The method includes: upon receiving a start command, issuing a drive control command to the fan main control circuit based on the initial speed; periodically sampling to obtain the temperature sequence at the fan outlet and obtaining the corresponding target speed according to a speed configuration table; determining whether the temperature sequence meets the speed change conditions; if not, issuing a corresponding drive control command based on the target speed; if so, obtaining the speed change coefficient corresponding to the temperature sequence according to a speed change strategy; and issuing a corresponding drive control command to the fan main control circuit based on the target speed and the speed change coefficient. Through this method, the temperature change trend can be obtained based on the temperature sequence corresponding to the sampling period, and the fan speed can be adjusted accordingly, thereby avoiding the lag in the fan speed adjustment process, achieving heat dissipation and temperature control of the device, and significantly improving the fan's heat dissipation effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent control technology, and in particular to a method, device, equipment and medium for intelligent temperature control of a fan. Background Technology

[0002] Cooling fans are widely used in desktop computers, laptops, server hosts, and other devices to dissipate heat from heat-generating components, ensuring their normal operation. Existing fan speed control typically adjusts based on real-time temperature readings or the heat dissipation of the components, thus matching the fan speed to the current temperature or heat dissipation. However, this method cannot adapt the fan speed to changes in temperature or heat dissipation, and there is a delay in both the output of control commands and the adjustment of the fan speed. Therefore, the fan speed adjustment inevitably exhibits a certain lag, failing to effectively control the temperature and heat dissipation of the components, resulting in poor cooling performance. Thus, existing methods for controlling cooling fan speed suffer from the problem of speed adjustment lag. Summary of the Invention

[0003] This invention provides a method, device, equipment, and medium for intelligent temperature control of a fan, aiming to solve the problem of speed regulation lag in existing technical methods for controlling the speed of cooling fans.

[0004] In a first aspect, embodiments of the present invention provide a method for intelligent temperature control of a fan. The method is applied in a controller, which is communicatively connected to a fan main control circuit and a temperature sensor. The fan main control circuit is electrically connected to the fan, and the temperature sensor is located on the air outlet side of the fan. The method includes:

[0005] If a start command is received, a corresponding drive control command is sent to the fan main control circuit according to the preset initial speed, so that the fan main control circuit drives the fan to work according to the drive command;

[0006] Periodic sampling is performed according to preset sampling parameters to obtain a temperature sequence corresponding to one sampling period monitored by the temperature sensor; the temperature sequence includes multiple sampled temperature values ​​obtained within one sampling period by sampling at the sampling frequency in the sampling parameters;

[0007] Obtain the target rotational speed corresponding to the termination temperature value of the temperature sequence according to the preset rotational speed configuration table;

[0008] Determine whether the temperature sequence meets the preset speed change conditions;

[0009] If the temperature sequence does not meet the speed change condition, a corresponding drive control command is sent to the fan main control circuit according to the target speed.

[0010] If the temperature sequence satisfies the speed change condition, the speed change coefficient corresponding to the temperature sequence is obtained according to the preset speed change strategy;

[0011] Based on the target rotation speed and the speed change coefficient, a corresponding drive control command is sent to the fan main control circuit.

[0012] Secondly, embodiments of the present invention provide a fan intelligent temperature control device, which is configured in a controller. The controller is communicatively connected to a fan main control circuit and a temperature sensor. The fan main control circuit is electrically connected to the fan. The temperature sensor is located on the air outlet side of the fan. The device is used to execute the fan intelligent temperature control method as described in the first aspect above. The device includes:

[0013] The first instruction sending unit is used to send a corresponding drive control instruction to the fan main control circuit according to a preset initial speed if a start instruction is received, so that the fan main control circuit drives the fan to work according to the drive instruction;

[0014] A temperature sequence acquisition unit is used to perform periodic sampling according to preset sampling parameters to obtain a temperature sequence corresponding to one sampling period monitored by the temperature sensor; the temperature sequence includes multiple sampled temperature values ​​obtained within one sampling period by sampling at the sampling frequency in the sampling parameters;

[0015] The target rotational speed acquisition unit is used to acquire the target rotational speed corresponding to the termination temperature value of the temperature sequence according to a preset rotational speed configuration table;

[0016] A temperature sequence determination unit is used to determine whether the temperature sequence meets the preset speed change conditions;

[0017] The second instruction sending unit is used to send a corresponding drive control instruction to the fan main control circuit according to the target speed if the temperature sequence does not meet the speed change condition.

[0018] A speed change coefficient acquisition unit is used to acquire the speed change coefficient corresponding to the temperature sequence according to a preset speed change strategy if the temperature sequence satisfies the speed change condition.

[0019] The third instruction sending unit is used to send corresponding drive control instructions to the fan main control circuit according to the target speed and the speed change coefficient.

[0020] Thirdly, embodiments of the present invention also provide a computer device, the computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer device executes the computer program to implement the intelligent fan temperature control method as described in the first aspect above.

[0021] Fourthly, embodiments of the present invention also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program that, when executed by a processor, implements the intelligent fan temperature control method as described in the first aspect above.

[0022] This invention provides a method, device, equipment, and medium for intelligent temperature control of a fan. The method includes: upon receiving a start command, issuing a drive control command to the fan main control circuit based on an initial rotational speed; periodically sampling to obtain a temperature sequence at the fan outlet and acquiring the corresponding target rotational speed according to a rotational speed configuration table; determining whether the temperature sequence meets the speed change conditions; if not, issuing a corresponding drive control command based on the target rotational speed; if so, acquiring a speed change coefficient corresponding to the temperature sequence according to a speed change strategy; and issuing a corresponding drive control command to the fan main control circuit based on the target rotational speed and the speed change coefficient. Through this method, the temperature change trend can be obtained based on the temperature sequence corresponding to the sampling period, and the fan speed can be adjusted accordingly, thereby avoiding the lag in the fan speed adjustment process, achieving heat dissipation and temperature control of the device, and significantly improving the fan's heat dissipation effect. Attached Figure Description

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

[0024] Figure 1 This is a flowchart illustrating the intelligent temperature control method for a fan provided in an embodiment of the present invention.

[0025] Figure 2 This is a schematic diagram illustrating an application scenario of the intelligent temperature control method for fans provided in an embodiment of the present invention;

[0026] Figure 3 This is a schematic block diagram of a fan intelligent temperature control device provided in an embodiment of the present invention;

[0027] Figure 4 A schematic block diagram of a computer device provided for an embodiment of the present invention. Detailed Implementation

[0028] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0029] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0030] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in the specification and appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0031] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0032] Please see Figure 1 and Figure 2 , Figure 1 This is a flowchart illustrating the intelligent temperature control method for fans provided in an embodiment of the present invention. Figure 2This is a schematic diagram illustrating an application scenario of the intelligent temperature control method for a fan provided in this embodiment of the invention. The intelligent temperature control method is applied in a controller 10. The control output terminal of the controller 10 is connected to the control input terminal of the main fan control circuit 20, and the power output terminal of the main fan control circuit 20 is electrically connected to the power supply port of the fan 11. The controller 10 is also connected to a temperature sensor 30, which is located on the fan's outlet side. The temperature sensor can detect the temperature on the fan's outlet side, obtain a corresponding temperature detection signal, and send it to the controller 10. The controller 10 samples the temperature detection signal to obtain the corresponding sampled temperature value. Controller 10 is a controller installed within the terminal device to control the speed of the fan configured within the terminal device. Controller 10 can be an electronic device with information processing and command transmission / reception functions, such as a fan power supply control chip or a SoC chip used for computer motherboard control. The fan main control circuit 20 is a control circuit used to receive command signals from controller 10 and adjust the output duty cycle accordingly. The terminal device can be a desktop computer, laptop computer, server host, etc. In addition to controller 10, fan main control circuit 20, and fan 11, the terminal device can also be equipped with a CPU chip, non-volatile memory (such as a hard disk drive), volatile memory (such as RAM), graphics card (graphics processor), power supply, etc. Fan 11 can be a fan specifically for cooling controller 10, and is positioned close to the side of the device to be cooled; fan 11 can also be a fan specifically for cooling other electronic devices (such as CPU chips, non-volatile memory, graphics cards, or power supplies). Figure 1 As shown, the method includes steps S110 to S170.

[0033] S110. If a start command is received, a corresponding drive control command is sent to the fan main control circuit according to the preset initial speed, so that the fan main control circuit drives the fan to work according to the drive command.

[0034] Upon receiving a start command, the controller sends a corresponding drive control command to the fan main control circuit based on a preset initial speed, causing the fan main control circuit to drive the fan to operate according to the drive command. The user can input a start command into the controller (e.g., by pressing the power button), and the controller, upon receiving the start command, will control the fan to operate. Specifically, the controller can send a corresponding drive control command to the fan main control circuit based on a pre-configured initial speed. The fan main control circuit then outputs a pulse signal to the fan according to the drive control command, and the duty cycle of the output pulse signal corresponds to the command parameters in the drive control command. At this time, the fan speed is equal to the initial speed.

[0035] S120. Perform periodic sampling according to preset sampling parameters to obtain the temperature sequence corresponding to one sampling period monitored by the temperature sensor.

[0036] Periodic sampling is performed according to preset sampling parameters to obtain a temperature sequence corresponding to one sampling period monitored by the temperature sensor. The temperature sequence includes multiple sampled temperature values ​​obtained within one sampling period at the sampling frequency specified in the sampling parameters. Further, the controller can periodically sample the temperature signal monitored by the temperature sensor, and a set of sampled temperature sequences corresponds to one sampling period. Step S120 is repeated once after each sampling period. The sampling parameters can be configured with a period duration. For example, if the period duration in the sampling parameters is 3 seconds, then sampling is performed every 3 seconds to obtain a set of temperature sequences. The sampling parameters also configure a sampling frequency, which is the frequency information for sampling temperature values. For example, if the sampling frequency is set to 10Hz, then the temperature signal is sampled 10 times per second to obtain 10 sampled temperature values. Within a sampling period with a period duration of 3 seconds, 30 sampled temperature values ​​can be obtained. The multiple sampled temperature values ​​obtained within one sampling period are combined to form a temperature sequence corresponding to that sampling period. The sampled temperature values ​​in the temperature sequence are arranged sequentially according to the sampling time of the values.

[0037] S130. Obtain the target rotational speed corresponding to the termination temperature value of the temperature sequence according to the preset rotational speed configuration table.

[0038] The target speed is obtained according to a preset speed configuration table, corresponding to the ending temperature value of the temperature sequence. Specifically, the ending temperature value of the temperature sequence can be obtained, and the speed corresponding to the ending temperature value can be obtained from the speed configuration table as the target speed. The speed configuration table contains multiple speed configuration levels, each corresponding to a temperature range. The ending temperature value can be matched with the temperature range of each speed configuration level in the speed configuration table to obtain the speed set by the speed configuration level corresponding to the matching temperature range as the target speed.

[0039] S140. Determine whether the temperature sequence meets the preset speed change conditions.

[0040] Determine whether the temperature sequence meets the preset speed change conditions. The sampled temperature values ​​contained in the temperature sequence can be obtained, and it can be determined whether the speed change conditions are met. If the speed change conditions are met, the fan speed is controlled by speed change in the next sampling period; if the speed change conditions are not met, the fan speed is controlled by constant speed in the next sampling period.

[0041] In one embodiment, step S140 includes the following steps: obtaining the absolute value of the temperature difference between the starting temperature value and the ending temperature value of the temperature sequence; determining whether the absolute value of the temperature difference is greater than the temperature threshold set in the speed change condition, so as to determine whether the speed change condition is met.

[0042] Specifically, the starting and ending temperature values ​​in the temperature sequence can be obtained. The starting temperature value is the first sampled temperature value in the temperature sequence, and the ending temperature value is the last sampled temperature value in the temperature sequence. The difference between the starting and ending temperature values ​​is calculated and its absolute value is taken to obtain the absolute temperature difference. It is then determined whether the absolute temperature difference is greater than the temperature threshold set in the speed change condition. If the absolute temperature difference is greater than the temperature threshold, it indicates that the temperature change is large in the current sampling period, and the fan speed needs to be controlled by speed change, thus the speed change condition is met. If the absolute temperature difference is not greater than the temperature threshold, it indicates that the temperature change is small in the current sampling period, and the speed change condition is not met.

[0043] S150. If the temperature sequence does not meet the speed change condition, a corresponding drive control command is sent to the fan main control circuit according to the target speed.

[0044] If the temperature sequence does not meet the speed change condition, a corresponding drive control command is sent to the fan main control circuit according to the target speed. If the speed change condition is not met, a corresponding drive control command is sent directly to the fan main control circuit according to the target speed. The drive control command sent at this time can drive the fan to operate at the target speed, and the fan will maintain the target speed during the next sampling period.

[0045] After executing step S150, the process can return to step S120 until a shutdown command is received, at which point the fan speed control process terminates. Returning to step S120 allows the temperature sequence corresponding to the next sampling period to be collected while the fan is running at the target speed, and the above steps are executed repeatedly.

[0046] S160. If the temperature sequence satisfies the speed change condition, obtain the speed change coefficient corresponding to the temperature sequence according to the preset speed change strategy.

[0047] If the temperature sequence meets the speed change condition, a speed change coefficient corresponding to the temperature sequence is obtained according to a preset speed change strategy. The obtained speed change coefficient corresponds to the temperature sequence. The fan speed can then be controlled in the next sampling period using the speed change coefficient.

[0048] In one embodiment, step S160 includes the following steps: segmenting the temperature sequence according to the segmentation rules in the speed change strategy; obtaining the slope value of the first segment and the slope value of the second segment in the segmented temperature sequence; and determining the speed change coefficient corresponding to the current fan speed, the temperature sequence, the slope value of the first segment, and the slope value of the second segment according to the coefficient determination rules in the speed change strategy.

[0049] Specifically, the temperature sequence can be segmented according to the segmentation rules in the speed-changing strategy. The segmentation rules can specify the number of segment values. For example, if the number of segment values ​​is set to 8, the first 8 sampled temperature values ​​in the temperature sequence can be obtained as the first segment, and the last 8 sampled temperature values ​​can be obtained as the second segment. Further, the slope value of the first segment is calculated. The slope value is the difference between the starting and ending values ​​of the first segment divided by the horizontal axis span, where the horizontal axis span is the time span covered by the first segment. Based on the above method, the slope value of the second segment can be calculated accordingly.

[0050] The speed change coefficients corresponding to the current fan speed, temperature sequence, initial slope value, and subsequent slope value are determined according to the coefficient determination rules set in the speed change strategy.

[0051] In one embodiment, determining the speed change coefficient corresponding to the current fan speed, the temperature sequence, the initial slope value, and the subsequent slope value according to the coefficient determination rule in the speed change strategy includes: obtaining the temperature difference between the ending temperature value and the starting temperature value of the temperature sequence; calculating the current fan speed, the initial slope value, and the subsequent slope value according to the coefficient calculation formula in the coefficient determination rule to obtain the corresponding coefficient value; and combining the numerical sign of the temperature difference value with the coefficient value to obtain the corresponding speed change coefficient.

[0052] Specifically, the temperature difference between the ending temperature and the starting temperature of the temperature sequence can be obtained. This temperature difference is a value greater than or less than zero. Further, the current fan speed, the initial slope value, and the subsequent slope value are calculated according to the coefficient calculation formula to obtain the corresponding coefficient values. The coefficient calculation formula can be expressed by formula (1):

[0053]

[0054] Where S0 is the initial speed, S is the current fan speed, t0 is the period duration set in the sampling parameters, p2 is the slope value of the later stage, p1 is the slope value of the earlier stage, and r is the calculated coefficient value. The calculated coefficient value is a positive value.

[0055] Furthermore, the numerical sign of the temperature difference can be obtained and combined with the coefficient value. The coefficient value can be rounded and combined with the numerical sign of the temperature difference to obtain the speed change coefficient. Then the numerical sign of the temperature difference ("+" or "-") is the same as the numerical sign of the speed change coefficient.

[0056] S170. Based on the target speed and the speed change coefficient, a corresponding drive control command is sent to the fan main control circuit.

[0057] Based on the target speed and the speed change coefficient, the controller sends a corresponding drive control command to the fan main control circuit. Then, the controller adjusts the fan according to the target speed and further performs speed control on the fan based on the speed change coefficient.

[0058] In one embodiment, step S170 includes the following steps: determining the fan control speed at each time point in the next sampling period based on the target speed and the speed change coefficient; and sending drive control commands corresponding to each time point to the fan main control circuit according to the fan control speed at each time point.

[0059] Specifically, the fan speed control can be determined at each time point within the next sampling period based on the target speed and the speed change coefficient. The fan speed control can be set to v. i =v0+t i ×g; where v i To adjust the fan speed at the i-th time point, t i Let v0 be the time parameter corresponding to the i-th time point in the next sampling period, g be the speed change coefficient, and v0 be the target speed. For example, if the time parameter corresponding to the starting time point (the first time point) in the next sampling period is 0, then the fan speed at that time point is also the target speed. If the interval between a certain time point in the next sampling period and the starting time point is 2 seconds, then the corresponding time parameter is 2, and the fan speed at that time point is calculated as v0 + 2 × g.

[0060] Determine whether the fan speed control at each time point is less than the minimum speed value or greater than the maximum speed value. If the calculated fan speed control at a certain time point is less than the minimum speed value, then the minimum speed value is redefined as the fan speed control at that time point; if the calculated fan speed control at a certain time point is greater than the maximum speed value, then the maximum speed value is redefined as the fan speed control at that time point.

[0061] After determining the fan speed control at each time point, upon reaching the corresponding time point, a corresponding drive control command is sent to the fan main control circuit based on the fan speed control at that time point, thereby realizing the variable speed adjustment of the fan. After executing step S170, the process can return to step S120 until the input shutdown command is received, at which point the process of controlling the fan speed terminates. Returning to step S120 allows the temperature sequence corresponding to the next sampling period to be collected while the fan is running at the target speed, and the above steps are executed cyclically.

[0062] By determining the fan speed for the next sampling period in advance based on the temperature sequence of the previous sampling period, the lag in fan speed control in existing technologies is avoided, thereby achieving heat dissipation and temperature control of the device and significantly improving the fan's heat dissipation effect.

[0063] In the intelligent temperature control method for fans provided in this embodiment of the invention, the method includes: upon receiving a start command, issuing a drive control command to the fan main control circuit based on the initial speed; periodically sampling to obtain the temperature sequence at the fan outlet and obtaining the corresponding target speed according to the speed configuration table; determining whether the temperature sequence meets the speed change conditions; if not, issuing a corresponding drive control command based on the target speed; if so, obtaining the speed change coefficient corresponding to the temperature sequence according to the speed change strategy; and issuing a corresponding drive control command to the fan main control circuit based on the target speed and the speed change coefficient. Through this method, the temperature change trend can be obtained based on the temperature sequence corresponding to the sampling period, and the fan speed can be adjusted based on the temperature change trend, thereby avoiding the lag in the fan speed adjustment process, achieving heat dissipation and temperature control of the device, and significantly improving the fan's heat dissipation effect.

[0064] This invention also provides a smart fan temperature control device, which can be configured in a controller 10. The control output terminal of the controller 10 is connected to the control input terminal of the fan main control circuit 20, and the power output terminal of the fan main control circuit 20 is electrically connected to the power supply port of the fan 11. The controller 10 is also communicatively connected to a temperature sensor 30, which is located on the fan outlet side, allowing the temperature sensor to detect the temperature at the fan outlet side. This smart fan temperature control device is used to execute any embodiment of the aforementioned smart fan temperature control method. For details, please refer to... Figure 3 , Figure 3 This is a schematic block diagram of a fan intelligent temperature control device provided in an embodiment of the present invention.

[0065] like Figure 3As shown, the intelligent temperature control device for fans 100 includes a first instruction sending unit 110, a temperature sequence acquisition unit 120, a target speed acquisition unit 130, a temperature sequence judgment unit 140, a second instruction sending unit 150, a speed change coefficient acquisition unit 160, and a third instruction sending unit 170.

[0066] The first instruction sending unit 110 is used to send a corresponding drive control instruction to the fan main control circuit according to a preset initial speed if a start instruction is received, so that the fan main control circuit drives the fan to work according to the drive instruction.

[0067] The temperature sequence acquisition unit 120 is used to perform periodic sampling according to preset sampling parameters to obtain a temperature sequence corresponding to one sampling period monitored by the temperature sensor; the temperature sequence includes multiple sampled temperature values ​​obtained by sampling at the sampling frequency in the sampling parameters within one sampling period.

[0068] The target rotational speed acquisition unit 130 is used to acquire the target rotational speed corresponding to the termination temperature value of the temperature sequence according to a preset rotational speed configuration table.

[0069] Temperature sequence determination unit 140 is used to determine whether the temperature sequence meets the preset speed change conditions.

[0070] The second instruction sending unit 150 is used to send a corresponding drive control instruction to the fan main control circuit according to the target speed if the temperature sequence does not meet the speed change condition.

[0071] The speed change coefficient acquisition unit 160 is used to acquire the speed change coefficient corresponding to the temperature sequence according to a preset speed change strategy if the temperature sequence meets the speed change condition.

[0072] The third instruction sending unit 170 is used to send corresponding drive control instructions to the fan main control circuit according to the target speed and the speed change coefficient.

[0073] The intelligent fan temperature control device provided in this embodiment of the invention applies the above-mentioned intelligent fan temperature control method. The method includes: upon receiving a start command, issuing a drive control command to the fan main control circuit based on the initial speed; periodically sampling to obtain the temperature sequence at the fan outlet and obtaining the corresponding target speed according to the speed configuration table; determining whether the temperature sequence meets the speed change condition; if not, issuing a corresponding drive control command based on the target speed; if so, obtaining the speed change coefficient corresponding to the temperature sequence according to the speed change strategy; and issuing a corresponding drive control command to the fan main control circuit based on the target speed and the speed change coefficient. Through this method, the temperature change trend can be obtained based on the temperature sequence corresponding to the sampling period, and the fan speed can be adjusted based on the temperature change trend, thereby avoiding the lag in the fan speed adjustment process, achieving heat dissipation and temperature control of the device, and significantly improving the fan's heat dissipation effect.

[0074] The aforementioned intelligent temperature control method for fans can be implemented as a computer program, and the intelligent temperature control device for fans can be implemented as a computer device. This computer program can be used in various ways, such as... Figure 4 The computer device shown runs on the computer. The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the computer device executes the computer program, it implements the intelligent fan temperature control method as described in the above embodiments.

[0075] Please see Figure 4 , Figure 4 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. The computer device can be a controller used to execute a fan intelligent temperature control method to control the fan speed for heat dissipation and temperature control.

[0076] See Figure 4 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a system bus 501. The memory may include a storage medium 503 and internal memory 504.

[0077] The storage medium 503 may store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it enables the processor 502 to execute a fan intelligent temperature control method. The storage medium 503 may be a volatile storage medium or a non-volatile storage medium.

[0078] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0079] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the intelligent temperature control method for the fan.

[0080] This network interface 505 is used for network communication, such as providing data transmission. Those skilled in the art will understand that... Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device 500 to which the present invention is applied. The specific computer device 500 may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0081] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned intelligent temperature control method for fans.

[0082] Those skilled in the art will understand that Figure 4 The embodiments of the computer device shown do not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. For example, in some embodiments, the computer device may include only memory and a processor. In such embodiments, the structure and function of the memory and processor are different from those shown. Figure 4 The embodiments shown are consistent and will not be described again here.

[0083] It should be understood that, in this embodiment of the invention, the processor 502 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0084] In another embodiment of the invention, a computer-readable storage medium is provided. This computer-readable storage medium may be volatile or non-volatile. The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps included in the above-described intelligent fan temperature control method.

[0085] Those skilled in the art will readily understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.

[0086] In the embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Units with the same function may be grouped into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, or it may be an electrical, mechanical, or other form of connection.

[0087] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention, depending on actual needs.

[0088] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0089] If the integrated unit is implemented as 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 technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a computer-readable storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned computer-readable storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks.

[0090] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for intelligent temperature control of a fan, wherein the method is applied in a controller, the controller is communicatively connected to a fan main control circuit and a temperature sensor, the fan main control circuit is electrically connected to the fan, and the temperature sensor is disposed on the air outlet side of the fan, characterized in that, The method includes: If a start command is received, a corresponding drive control command is sent to the fan main control circuit according to the preset initial speed, so that the fan main control circuit drives the fan to work according to the drive command; Periodic sampling is performed according to preset sampling parameters to obtain a temperature sequence corresponding to one sampling period monitored by the temperature sensor; the temperature sequence includes multiple sampled temperature values ​​obtained within one sampling period by sampling at the sampling frequency in the sampling parameters; Obtain the target rotational speed corresponding to the termination temperature value of the temperature sequence according to the preset rotational speed configuration table; Determine whether the temperature sequence meets the preset speed change conditions; If the temperature sequence does not meet the speed change condition, a corresponding drive control command is sent to the fan main control circuit according to the target speed. If the temperature sequence satisfies the speed change condition, the speed change coefficient corresponding to the temperature sequence is obtained according to the preset speed change strategy; Based on the target rotation speed and the speed change coefficient, a corresponding drive control command is sent to the fan main control circuit; The step of obtaining the speed change coefficient corresponding to the temperature sequence according to the preset speed change strategy includes: The temperature sequence is segmented according to the segmentation rules in the speed change strategy; Obtain the slope value of the first segment corresponding to the first segment and the slope value of the second segment corresponding to the second segment of the segmented temperature sequence; The speed change coefficients corresponding to the current fan speed, the temperature sequence, the initial slope value, and the subsequent slope value are determined according to the coefficient determination rules in the speed change strategy. The step of determining the speed change coefficients corresponding to the current fan speed, the temperature sequence, the initial slope value, and the subsequent slope value according to the coefficient determination rules in the speed change strategy includes: Obtain the temperature difference between the ending temperature value and the starting temperature value of the temperature sequence; The current fan speed, the initial slope value, and the subsequent slope value are calculated according to the coefficient calculation formula in the coefficient determination rule to obtain the corresponding coefficient values; the coefficient calculation formula is as follows: Where S0 is the initial speed, S is the current fan speed, t0 is the period duration set in the sampling parameters, p2 is the slope value of the later section, p1 is the slope value of the earlier section, and r is the calculated coefficient value; the calculated coefficient value is a positive value. The numerical sign of the temperature difference is obtained and combined with the coefficient value to obtain the corresponding speed change coefficient.

2. The intelligent temperature control method for a fan according to claim 1, characterized in that, The step of determining whether the temperature sequence meets the preset speed change conditions includes: Obtain the absolute value of the temperature difference between the starting temperature value and the ending temperature value of the temperature sequence; Determine whether the absolute value of the temperature difference is greater than the temperature threshold set in the speed change conditions to determine whether the speed change conditions are met.

3. The intelligent temperature control method for a fan according to claim 1, characterized in that, The step of issuing corresponding drive control commands to the fan main control circuit based on the target speed and the speed change coefficient includes: The fan control speed at each time point in the next sampling period is determined based on the target speed and the speed change coefficient. According to the fan speed adjustment at each time point, the corresponding drive control command is sent to the fan main control circuit.

4. A smart temperature control device for a fan, characterized in that, The intelligent temperature control device for the fan is configured in the controller. The controller is communicatively connected to the main control circuit of the fan and the temperature sensor. The main control circuit of the fan is electrically connected to the fan. The temperature sensor is located on the air outlet side of the fan. The intelligent temperature control device for the fan is used to execute the intelligent temperature control method for the fan as described in any one of claims 1-3. The intelligent temperature control device for the fan includes: The first instruction sending unit is used to send a corresponding drive control instruction to the fan main control circuit according to a preset initial speed if a start instruction is received, so that the fan main control circuit drives the fan to work according to the drive instruction; A temperature sequence acquisition unit is used to perform periodic sampling according to preset sampling parameters to obtain a temperature sequence corresponding to one sampling period monitored by the temperature sensor; the temperature sequence includes multiple sampled temperature values ​​obtained within one sampling period by sampling at the sampling frequency in the sampling parameters; The target rotational speed acquisition unit is used to acquire the target rotational speed corresponding to the termination temperature value of the temperature sequence according to a preset rotational speed configuration table; A temperature sequence determination unit is used to determine whether the temperature sequence meets the preset speed change conditions; The second instruction sending unit is used to send a corresponding drive control instruction to the fan main control circuit according to the target speed if the temperature sequence does not meet the speed change condition. A speed change coefficient acquisition unit is used to acquire the speed change coefficient corresponding to the temperature sequence according to a preset speed change strategy if the temperature sequence satisfies the speed change condition. The third instruction sending unit is used to send corresponding drive control instructions to the fan main control circuit according to the target speed and the speed change coefficient.

5. The intelligent temperature control device for a fan according to claim 4, characterized in that, The temperature sequence determination unit includes: The absolute temperature difference acquisition unit is used to acquire the absolute temperature difference between the starting temperature value and the ending temperature value of the temperature sequence. The absolute value of temperature difference is used to determine whether the absolute value of the temperature difference is greater than the temperature threshold set in the speed change condition, so as to determine whether the speed change condition is met.

6. The intelligent temperature control device for a fan according to claim 4, characterized in that, The speed change coefficient acquisition unit includes: A temperature sequence segmentation unit is used to segment the temperature sequence according to the segmentation rules in the speed change strategy; The slope value acquisition unit is used to acquire the slope value of the first segment corresponding to the first segment and the slope value of the second segment corresponding to the second segment in the segmented temperature sequence. The speed change coefficient determination unit is used to determine the speed change coefficient corresponding to the current fan speed, the temperature sequence, the first slope value, and the second slope value according to the coefficient determination rules in the speed change strategy.

7. A computer device, the computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the computer device executes the computer program, it implements the intelligent temperature control method for the fan as described in any one of claims 1 to 3.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the intelligent temperature control method for a fan as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • A fan control method, a fan control device, and an electronic device

    CN110799757A

  • Case heat dissipation control method and device, equipment and storage medium

    CN113867500A