Intelligent temperature control method, device and equipment for fan and medium
By applying intelligent fan temperature control method in the controller, the fan speed is adjusted in real time to adapt to temperature changes, the problem of speed adjustment lag in the existing technology is solved, and the cooling effect of the fan is significantly improved.
Patent Information
- Application Number
- CN202510109275.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2045-01-23
AI Technical Summary
The method used for speed control of the cooling fan in the prior art has the problem of speed adjustment lag, which leads to poor fan heat dissipation effect.
By applying the intelligent fan temperature control method in the controller, the temperature sensor is used to sample the temperature sequence, and adjust the fan speed in real time according to the preset speed configuration table and speed change strategy to adapt to the temperature change trend.
It effectively avoids the hysteresis of fan speed adjustment, realizes heat dissipation and temperature control of the device, and greatly improves the heat dissipation effect of the fan.
Smart Images

Figure CN119778308A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to a fan intelligent temperature control method, device, equipment and medium. Background Art
[0002] Cooling fans are widely used in desktop computers, laptops, server hosts and other equipment. The cooling fans can be used to dissipate heat from heat generating devices, thereby ensuring the normal operation of the heat generating devices. Existing fans usually adjust the fan speed according to the temperature value obtained by real-time detection or the heat power consumption of the device, so that the fan operating speed is adapted to the current temperature value or heat power consumption. However, in the process of adjusting the fan speed by this technical method, the fan speed cannot be adjusted to adapt to the trend of temperature value or heat power consumption generation or decrease, and the output of the control instruction and the adjustment of the fan speed have a certain delay, so the adjustment of the fan speed inevitably has a certain lag, so it is impossible to achieve heat dissipation and temperature control of the device, resulting in poor fan heat dissipation effect. Therefore, the technical method for heat dissipation fan speed control in the prior art has the problem of speed adjustment lag. Summary of the invention
[0003] The embodiments of the present invention provide a fan intelligent temperature control method, device, equipment and medium, aiming to solve the problem of speed regulation lag existing in the technical methods for controlling the speed of a heat dissipation fan in the prior art.
[0004] In a first aspect, an embodiment of the present invention provides a fan intelligent temperature control method, the method is applied to a controller, the controller is communicatively connected with a fan main control circuit and a temperature sensor, the fan main control circuit is electrically connected with the fan, and the temperature sensor is arranged on the air outlet side of the fan, the method comprises:
[0005] If a start command is received, a corresponding drive control command is sent to the fan main control circuit according to a preset initial speed, so that the fan main control circuit drives the fan to work according to the drive command;
[0006] Perform periodic sampling according to preset sampling parameters to obtain a temperature sequence corresponding to a sampling period monitored by the temperature sensor; the temperature sequence includes a plurality of sampled temperature values obtained by sampling at a sampling frequency in the sampling parameters within a sampling period;
[0007] Obtaining a target speed corresponding to the end temperature value of the temperature sequence according to a preset speed configuration table;
[0008] Determining whether the temperature sequence satisfies a preset speed change condition;
[0009] If the temperature sequence does not satisfy the speed change condition, issuing a corresponding drive control instruction to the fan main control circuit according to the target speed;
[0010] If the temperature sequence satisfies the speed change condition, obtaining a speed change coefficient corresponding to the temperature sequence according to a preset speed change strategy;
[0011] A corresponding driving control instruction is issued to the fan main control circuit according to the target speed and the speed change coefficient.
[0012] In a second aspect, an embodiment of the present invention provides a fan intelligent temperature control device, which is configured in a controller, the controller is communicatively connected with a fan main control circuit and a temperature sensor, the fan main control circuit is electrically connected with the fan, and the temperature sensor is arranged 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, and the device includes:
[0013] A first instruction sending unit is used for sending a corresponding drive control instruction to the fan main control circuit according to a preset initial speed upon receiving a start instruction, so that the fan main control circuit drives the fan to work according to the drive instruction;
[0014] A temperature sequence acquisition unit, used to perform periodic sampling according to preset sampling parameters to obtain a temperature sequence corresponding to a sampling period monitored by the temperature sensor; the temperature sequence includes a plurality of sampled temperature values obtained by sampling at a sampling frequency in the sampling parameters within a sampling period;
[0015] A target speed acquisition unit, configured to acquire a target speed corresponding to the end temperature value of the temperature sequence according to a preset speed configuration table;
[0016] A temperature sequence judging unit, used to judge whether the temperature sequence satisfies a preset speed change condition;
[0017] a second instruction sending unit, configured to send a corresponding drive control instruction to the fan main control circuit according to the target speed if the temperature sequence does not satisfy the speed change condition;
[0018] a speed change coefficient acquisition unit, configured to acquire a 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 a corresponding drive control instruction to the fan main control circuit according to the target speed and the speed change coefficient.
[0020] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer device executes the computer program, the fan intelligent temperature control method as described in the first aspect above is implemented.
[0021] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the fan intelligent temperature control method as described in the first aspect above is implemented.
[0022] The embodiment of the present invention provides a method, device, equipment and medium for intelligent temperature control of a fan. The method includes: upon receiving a startup instruction, a drive control instruction is issued to the fan main control circuit according to the initial speed, periodic sampling is performed to obtain the temperature sequence on the fan outlet side and the corresponding target speed is obtained according to the speed configuration table, and it is determined whether the temperature sequence meets the speed change condition. If not, a corresponding drive control instruction is issued according to the target speed; if it meets the condition, a speed change coefficient corresponding to the temperature sequence is obtained according to the speed change strategy, and a corresponding drive control instruction is issued to the fan main control circuit according to the target speed and the speed change coefficient. Through the above 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 of the fan speed adjustment process, achieving heat dissipation and temperature control of the device, and greatly improving the heat dissipation effect of the fan. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0024] Figure 1 A schematic diagram of a flow chart of a fan intelligent temperature control method provided by an embodiment of the present invention;
[0025] Figure 2 A schematic diagram of an application scenario of the fan intelligent temperature control method provided by an embodiment of the present invention;
[0026] Figure 3 A schematic block diagram of a fan intelligent temperature control device provided by an embodiment of the present invention;
[0027] Figure 4 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work 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 "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0030] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0031] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0032] See also Figure 1 and Figure 2 , Figure 1 A schematic diagram of a flow chart of a fan intelligent temperature control method provided by an embodiment of the present invention. Figure 2Schematic diagram of application scenario of the intelligent temperature control method for a fan provided in an embodiment of the present invention; the intelligent temperature control method for a fan is applied to a controller 10, the control output end of the controller 10 is connected to the control input end of a fan main control circuit 20, and the power output end 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, and the temperature sensor 30 is arranged on the outlet side of the fan, then the temperature sensor can detect the temperature on the outlet side of the fan, obtain a corresponding temperature detection signal and send it to the controller 10, the controller 10 samples the temperature detection signal to obtain a corresponding sampled temperature value. The controller 10 is a controller installed in the terminal device to control the speed of the fan configured in the terminal device. The controller 10 can be an electronic device with information processing and command receiving and sending functions, such as a fan power supply control chip, a Soc chip for computer motherboard control, etc.; the fan main control circuit 20 is a control circuit for receiving command signals from the controller 10 and adjusting the output duty cycle accordingly; the terminal device can be a desktop computer, a laptop computer, a server host, etc. In addition to the controller 10, the fan main control circuit 20 and the fan 11, the terminal device can also be equipped with a CPU chip, a non-volatile memory (such as a storage hard disk), a volatile memory (such as a memory stick), a graphics card (graphics processor), a power supply, etc. The fan 11 can be a fan dedicated to dissipating heat for the controller 10, and the fan 11 is set close to one side of the device to be dissipated; the fan 11 can also be a fan dedicated to dissipating heat for 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 instruction is received, a corresponding drive control instruction is sent to the fan main control circuit according to a preset initial rotation speed, so that the fan main control circuit drives the fan to work according to the drive instruction.
[0034] If a start command is received, a corresponding drive control command is issued 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. The user can input a start command to the controller (such as the user pressing the power on button), and the controller controls the fan to work after receiving the start command. Specifically, the controller can issue a corresponding drive control command to the fan main control circuit according to the pre-configured initial speed, and the fan main control circuit outputs a pulse signal to the fan according to the drive control command. The duty cycle of the pulse signal output by the fan main control circuit corresponds to the command parameter in the drive control command. At this time, the speed of the fan is equal to the initial speed.
[0035] S120: Perform periodic sampling according to preset sampling parameters to obtain a temperature sequence corresponding to a sampling period monitored by the temperature sensor.
[0036] According to the preset sampling parameters, periodic sampling is performed to obtain a temperature sequence corresponding to a 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 a sampling period. Further, the controller can perform periodic sampling on the temperature signal monitored by the temperature sensor, and a set of temperature sequences obtained by sampling corresponds to a sampling period, and step S120 is repeated once after each sampling period. The sampling parameter can be configured with a cycle duration. For example, if the cycle duration in the sampling parameter is 3 seconds, sampling is performed every 3 seconds and a set of temperature sequences is obtained. The sampling parameter is also configured with a sampling frequency, which is the frequency information for sampling the temperature value. If the sampling frequency is set to 10Hz, the temperature signal is sampled 10 times every 1 second to obtain 10 sampled temperature values, and 30 sampled temperature values can be obtained in a sampling period with a cycle duration of 3 seconds; the multiple sampled temperature values obtained within a sampling period are combined into a set of temperature sequences corresponding to the sampling period, and the sampled temperature values in the temperature sequence are arranged in order according to the sampling time of the numerical value.
[0037] S130. Obtaining a target speed corresponding to the end temperature value of the temperature sequence according to a preset speed configuration table.
[0038] The target speed corresponding to the termination temperature value of the temperature sequence is obtained according to the preset speed configuration table. Specifically, the termination temperature value of the temperature sequence can be obtained, and the speed corresponding to the termination temperature value can be obtained from the speed configuration table according to the termination temperature value as the target speed. The speed configuration table contains multiple speed configuration gears, each speed configuration gear corresponds to a temperature value interval, and the termination temperature value can be matched with the temperature value interval of each speed configuration gear in the speed configuration table, so as to obtain the speed set by the speed configuration gear corresponding to the matching temperature value interval as the target speed.
[0039] S140: Determine whether the temperature sequence satisfies a preset speed change condition.
[0040] Determine whether the temperature sequence satisfies a preset speed change condition. The sampled temperature value contained in the temperature sequence may be obtained, and it may be determined whether the speed change condition is met. If the speed change condition is met, the fan speed is controlled to be variable speed in the next sampling period; if the speed change condition is not met, the fan speed is controlled to be constant 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; and determining whether the absolute value of the temperature difference is greater than the temperature threshold set in the speed change condition to determine whether the speed change condition is met.
[0042] Specifically, the starting temperature value and the ending temperature value 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 temperature value and the ending temperature value is calculated and the absolute value is taken to obtain the absolute value of the temperature difference; it is determined whether the absolute value of the temperature difference is greater than the temperature threshold set in the speed change condition. If the absolute value of the temperature difference is greater than the temperature threshold, it indicates that the temperature changes greatly during the current sampling period, and the speed of the fan needs to be controlled at a variable speed, and it is determined that the speed change condition is met; if the absolute value of the temperature difference is not greater than the temperature threshold, it indicates that the temperature changes little during the current sampling period, and it is determined that the speed change condition is not met.
[0043] S150: If the temperature sequence does not satisfy the speed change condition, a corresponding drive control instruction is issued 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 instruction is issued to the fan main control circuit according to the target speed. If the speed change condition is not met, a corresponding drive control instruction is directly issued to the fan main control circuit according to the target speed. The drive control instruction issued at this time can drive the fan to operate at the target speed, and the fan will maintain the target speed for operation in the next sampling period.
[0045] After executing step S150, the process can return to step S120 until the input shutdown command is received to terminate the process of controlling the fan speed. Returning to step S120, the temperature sequence corresponding to the next sampling period can be collected during the fan running at the target speed and the above steps can be executed cyclically.
[0046] S160: If the temperature sequence satisfies the speed change condition, a speed change coefficient corresponding to the temperature sequence is obtained according to a preset speed change strategy.
[0047] If the temperature sequence meets the speed change condition, the speed change coefficient corresponding to the temperature sequence is obtained according to the preset speed change strategy. If the temperature sequence meets the speed change condition, the corresponding speed change coefficient can be obtained according to the speed change strategy, and the obtained speed change coefficient corresponds to the temperature sequence. The speed change coefficient can be used to control the speed of the fan in the next sampling period.
[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 front segment slope value corresponding to the front segment in the segmented temperature sequence and the rear segment slope value corresponding to the rear segment in the temperature sequence; determining the speed change coefficient corresponding to the current fan speed, the temperature sequence, the front segment slope value and the rear segment slope value 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 change strategy. The number of segmentation values can be set in the segmentation rules. For example, if the number of segmentation values set in the segmentation rules is 8, the first 8 sampled temperature values in the temperature sequence can be obtained as the first segment of the temperature sequence; the last 8 sampled temperature values in the temperature sequence can be obtained as the second segment of the temperature sequence. Further, the first segment slope value of the sampled temperature values contained in the first segment of the temperature sequence is calculated. The first segment slope value is the difference between the starting value and the ending value of the first segment of the temperature sequence divided by the horizontal axis span, where the horizontal axis span is also the time span covered by the first segment of the temperature sequence. According to the above method, the second segment slope value of the second segment of the temperature sequence can be calculated accordingly.
[0050] The speed change coefficient corresponding to the current fan speed, temperature sequence, front-end slope value and rear-end slope value is determined according to the coefficient determination rule set in the speed change strategy.
[0051] In one embodiment, the speed change coefficient corresponding to the current fan speed, the temperature sequence, the front slope value and the rear slope value is determined according to the coefficient determination rule in the speed change strategy, including: obtaining the temperature difference between the end temperature value and the start temperature value of the temperature sequence; calculating the current fan speed, the front slope value and the rear slope value according to the coefficient calculation formula in the coefficient determination rule to obtain the corresponding coefficient value; obtaining the numerical sign of the temperature difference and combining it with the coefficient value to obtain the corresponding speed change coefficient.
[0052] Specifically, the temperature difference between the end temperature value and the start temperature value of the temperature sequence can be obtained. The temperature difference is a value greater than zero or less than zero. The current fan speed, the front slope value and the back slope value are further calculated according to the coefficient calculation formula to obtain the corresponding coefficient value. The coefficient calculation formula can be expressed by formula (1):
[0053]
[0054] Among them, S0 is the initial speed, S is the current fan speed, t0 is the cycle length set in the sampling parameters, p2 is the slope value of the latter section, p1 is the slope value of the former section, 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, and 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, issuing a corresponding drive control instruction to the fan main control circuit according to the target speed and the speed change coefficient.
[0057] The corresponding drive control instruction is sent to the fan main control circuit according to the target speed and the speed coefficient. The controller adjusts the fan according to the target speed and further controls the fan according to the speed 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 according to the target speed and the speed change coefficient; and sending drive control instructions 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 control speed at each time point in the next sampling period can be determined according to the target speed and the speed change coefficient. The fan control speed can be set to v i =v0+t i ×g; where v i is the fan speed control at the i-th time point, t i is the time parameter corresponding to the i-th time point of the next sampling cycle, g is the speed coefficient, and v0 is the target speed. For example, if the time parameter corresponding to the starting time point (the first time point) in the next sampling cycle is 0, then the fan control speed at this time point is also the target speed. If the interval between a certain time point and the starting time point in the next sampling cycle is 2 seconds, then the corresponding time parameter is 2, and the fan control speed at this time point is calculated to be v0+2×g.
[0060] Determine whether the fan control speed at each time point is less than the minimum speed value or greater than the maximum speed value. If the fan control speed at a certain time point is calculated to be less than the minimum speed value, then redetermine the minimum speed value as the fan control speed at that time point; if the fan control speed at a certain time point is calculated to be greater than the maximum speed value, then redetermine the maximum speed value as the fan control speed at that time point.
[0061] After determining the fan speed control at each time point, when the corresponding time point is reached, the corresponding drive control instruction is sent to the fan main control circuit according to the fan speed control at that time point, so as to achieve variable speed adjustment of the fan. After executing step S170, the process can return to step S120 until the input shutdown instruction is received to terminate the process of fan speed control. Returning to step S120, the temperature sequence corresponding to the next sampling period can be collected during the operation of the fan at the target speed and the above steps can be executed cyclically.
[0062] Since the speed of the fan to be regulated in the next sampling period is determined in advance according to the temperature sequence of the previous sampling period, the hysteresis existing in the regulation of the fan speed in the prior art is avoided, the heat dissipation temperature control of the device is achieved and the heat dissipation effect of the fan is greatly improved.
[0063] In the fan intelligent temperature control method provided in the embodiment of the present invention, the method includes: upon receiving the start-up instruction, a drive control instruction is issued to the fan main control circuit according to the initial speed, periodic sampling is performed to obtain the temperature sequence on the fan outlet side and the corresponding target speed is obtained according to the speed configuration table, and it is determined whether the temperature sequence meets the speed change condition. If not, a corresponding drive control instruction is issued according to the target speed; if it meets the condition, a speed change coefficient corresponding to the temperature sequence is obtained according to the speed change strategy, and a corresponding drive control instruction is issued to the fan main control circuit according to the target speed and the speed change coefficient. Through the above 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 of the fan speed adjustment process, realizing heat dissipation and temperature control of the device, and greatly improving the heat dissipation effect of the fan.
[0064] The embodiment of the present invention also provides a fan intelligent temperature control device, which can be configured in a controller 10, wherein the control output end of the controller 10 is connected to the control input end of the fan main control circuit 20, and the power output end of the fan main 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 for communication, and the temperature sensor 30 is arranged on the outlet side of the fan, so that the temperature sensor can detect the temperature on the outlet side of the fan. The fan intelligent temperature control device is used to execute any embodiment of the aforementioned fan intelligent temperature control method. Specifically, please refer to Figure 3 , Figure 3 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 fan intelligent temperature control device 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 coefficient acquisition unit 160 and a third instruction sending unit 170.
[0066] The first instruction sending unit 110 is used for sending a corresponding driving control instruction to the fan main control circuit according to a preset initial speed upon receiving a start instruction, so that the fan main control circuit drives the fan to work according to the driving 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 a 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 a sampling period.
[0068] The target speed acquisition unit 130 is used to acquire the target speed corresponding to the end temperature value of the temperature sequence according to a preset speed configuration table.
[0069] The temperature sequence determination unit 140 is used to determine whether the temperature sequence satisfies a preset speed change condition.
[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 a corresponding drive control instruction to the fan main control circuit according to the target speed and the speed change coefficient.
[0073] The fan intelligent temperature control device provided in the embodiment of the present invention applies the above-mentioned fan intelligent temperature control method, and the method includes: upon receiving the start-up instruction, a drive control instruction is issued to the fan main control circuit according to the initial speed, periodic sampling is performed to obtain the temperature sequence on the fan outlet side and the corresponding target speed is obtained according to the speed configuration table, and it is determined whether the temperature sequence meets the speed change condition. If not, a corresponding drive control instruction is issued according to the target speed; if it meets, a speed change coefficient corresponding to the temperature sequence is obtained according to the speed change strategy, and a corresponding drive control instruction is issued to the fan main control circuit according to the target speed and the speed change coefficient. Through the above 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 of the fan speed adjustment process, realizing heat dissipation and temperature control of the device, and greatly improving the heat dissipation effect of the fan.
[0074] The above-mentioned fan intelligent temperature control method can be implemented in the form of a computer program, and the fan intelligent temperature control device can be implemented as a computer device. The computer program can be implemented in the form of a computer program. Figure 4 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, the fan intelligent temperature control method described in the above embodiment is implemented.
[0075] See also Figure 4 , Figure 4 is a schematic block diagram of a computer device provided by an embodiment of the present invention. The computer device may be a controller for executing a fan intelligent temperature control method to control the speed of a fan to achieve heat dissipation and temperature control.
[0076] See also Figure 4 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a storage medium 503 and an internal memory 504 .
[0077] The storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute the fan intelligent temperature control method, wherein the storage medium 503 can be a volatile storage medium or a non-volatile storage medium.
[0078] The processor 502 is used to provide 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 fan intelligent temperature control method.
[0080] The network interface 505 is used for network communication, such as providing data information transmission, etc. Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device 500 to which the solution of the present invention is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[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 fan intelligent temperature control method.
[0082] Those skilled in the art will understand that Figure 4 The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those of the embodiment of the present invention. Figure 4 The embodiments shown are consistent and will not be described again here.
[0083] It should be understood that in the embodiment of the present invention, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0084] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps included in the above-mentioned fan intelligent temperature control method are implemented.
[0085] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0086] In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined 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 mutual 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 may be an electrical, mechanical or other form of connection.
[0087] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0088] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0089] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially 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, and the computer software product is stored in a computer-readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned computer-readable storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk or an optical disk.
[0090] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A fan intelligent temperature control method, the method is applied to a controller, the controller is communicatively connected with a fan main control circuit and a temperature sensor, the fan main control circuit is electrically connected with a fan, and the temperature sensor is arranged at the air outlet side of the fan, characterized in that: The method comprises: If a start command is received, a corresponding drive control command is sent to the fan main control circuit according to a preset initial speed, so that the fan main control circuit drives the fan to work according to the drive command; Perform periodic sampling according to preset sampling parameters to obtain a temperature sequence corresponding to a sampling period monitored by the temperature sensor; the temperature sequence includes a plurality of sampled temperature values obtained by sampling at a sampling frequency in the sampling parameters within a sampling period; Obtaining a target speed corresponding to the end temperature value of the temperature sequence according to a preset speed configuration table; Determining whether the temperature sequence satisfies a preset speed change condition; If the temperature sequence does not satisfy the speed change condition, issuing a corresponding drive control instruction to the fan main control circuit according to the target speed; If the temperature sequence satisfies the speed change condition, obtaining a speed change coefficient corresponding to the temperature sequence according to a preset speed change strategy; A corresponding driving control instruction is issued to the fan main control circuit according to the target speed and the speed change coefficient.
2. The fan intelligent temperature control method according to claim 1, characterized in that: The determining whether the temperature sequence satisfies a preset speed change condition includes: Obtaining the absolute value of the temperature difference between the starting temperature value and the ending temperature value of the temperature sequence; It is determined whether the absolute value of the temperature difference is greater than a temperature threshold set in the speed change condition to determine whether the speed change condition is satisfied.
3. The fan intelligent temperature control method according to claim 1, characterized in that: The step of obtaining a speed change coefficient corresponding to the temperature sequence according to a preset speed change strategy includes: Segmenting the temperature sequence according to the segmentation rules in the speed change strategy; Obtaining a front-segment slope value corresponding to a front segment in the segmented temperature sequence and a rear-segment slope value corresponding to a rear segment in the segmented temperature sequence; The speed change coefficient corresponding to the current fan speed, the temperature sequence, the front-end slope value and the rear-end slope value is determined according to the coefficient determination rule in the speed change strategy.
4. The fan intelligent temperature control method according to claim 3, characterized in that: The determining of the speed change coefficient corresponding to the current fan speed, the temperature sequence, the front-end slope value and the rear-end slope value according to the coefficient determination rule in the speed change strategy includes: Obtaining the temperature difference between the end temperature value and the start temperature value of the temperature sequence; Calculating the current fan speed, the front-end slope value and the rear-end slope value according to the coefficient calculation formula in the coefficient determination rule to obtain a corresponding coefficient value; The numerical sign of the temperature difference is obtained and combined with the coefficient value to obtain a corresponding speed change coefficient.
5. The fan intelligent temperature control method according to claim 1, characterized in that: The step of sending a corresponding drive control instruction to the fan main control circuit according to the target speed and the speed change coefficient includes: Determine the fan control speed at each time point in the next sampling period according to the target speed and the speed change coefficient; According to the fan control speed at each time point, the drive control instructions corresponding to each time point are respectively sent to the fan main control circuit.
6. A fan intelligent temperature control device, characterized in that: The fan intelligent temperature control device is configured in a controller, the controller is in communication connection with a fan main control circuit and a temperature sensor, the fan main control circuit is electrically connected with the fan, the temperature sensor is arranged at the air outlet side of the fan, the fan intelligent temperature control device is used to execute the fan intelligent temperature control method according to any one of claims 1 to 5, and the fan intelligent temperature control device comprises: A first instruction sending unit is used for sending a corresponding drive control instruction to the fan main control circuit according to a preset initial speed upon receiving a start instruction, so that the fan main control circuit drives the fan to work according to the drive instruction; A temperature sequence acquisition unit, used to perform periodic sampling according to preset sampling parameters to obtain a temperature sequence corresponding to a sampling period monitored by the temperature sensor; the temperature sequence includes a plurality of sampled temperature values obtained by sampling at a sampling frequency in the sampling parameters within a sampling period; A target speed acquisition unit, configured to acquire a target speed corresponding to the end temperature value of the temperature sequence according to a preset speed configuration table; A temperature sequence judging unit, used to judge whether the temperature sequence satisfies a preset speed change condition; a second instruction sending unit, configured to send a corresponding drive control instruction to the fan main control circuit according to the target speed if the temperature sequence does not satisfy the speed change condition; a speed change coefficient acquisition unit, configured to acquire a 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 a corresponding drive control instruction to the fan main control circuit according to the target speed and the speed change coefficient.
7. The intelligent temperature control device for a fan according to claim 6, characterized in that: The temperature sequence judgment unit comprises: A temperature difference absolute value acquisition unit, used to acquire the absolute value of the temperature difference between the starting temperature value and the ending temperature value of the temperature sequence; The temperature difference absolute value judgment unit is used to judge whether the temperature difference absolute value is greater than the temperature threshold set in the speed change condition, so as to determine whether the speed change condition is met.
8. The intelligent temperature control device for a fan according to claim 6, characterized in that: The speed change coefficient acquisition unit includes: A temperature sequence segmentation unit, used for segmenting the temperature sequence according to the segmentation rules in the speed change strategy; A slope value acquisition unit, used to acquire a front-segment slope value corresponding to a front segment in the segmented temperature sequence and a rear-segment slope value corresponding to a rear 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 front-end slope value and the rear-end slope value according to the coefficient determination rule in the speed change strategy.
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 computer device executes the computer program, the fan intelligent temperature control method according to any one of claims 1 to 5 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the fan intelligent temperature control method according to any one of claims 1 to 5 is implemented.
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
Server fan rotating speed optimization adjusting method and device and storage medium
CN115306744A
Fan tower footing cooling system
CN116517796A
Intelligent control method for cooling fan of electronic equipment
CN117212221A
Cited By
Server fan control method and electronic equipment
CN120739726A