A fan speed regulation system, method, device, medium and product

By designing a fan speed control system including a substrate management controller, memory, temperature sensor and fan, the problem of low flexibility in fan speed control in the existing technology is solved, and the function of dynamically adjusting the fan speed according to different heat dissipation needs is realized, which improves the heat dissipation effect and user satisfaction of electronic equipment.

CN119878575BActive Publication Date: 2025-06-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510379988.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-06-27
Estimated Expiration
2045-03-28

AI Technical Summary

Technical Problem

In the prior art, fan speed regulation is low, and fan speed cannot be flexibly adjusted according to different heat dissipation needs.

Method used

A fan speed control system is designed, including a substrate management controller, memory, multiple temperature sensors and fans. Through the memory, the temperature sensor collects temperature data from different parts of the electronic device in real time. The substrate management controller calculates the initial pulse width modulation value based on the operating parameters and temperature data, combined with the preset calculation model, and dynamically adjusts the fan speed. A variety of power consumption modes are set up in the system, such as equalization mode, denoising mode and performance mode, allowing users to choose appropriate power consumption modes according to different heat dissipation needs.

Benefits of technology

It realizes the flexibility and accuracy of fan speed regulation, and can dynamically adjust the fan speed according to different heat dissipation needs, improving the heat dissipation effect and user satisfaction of electronic equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119878575B_ABST
    Figure CN119878575B_ABST
Patent Text Reader

Abstract

The present application discloses a fan speed regulation system, method, device, medium and product, relating to the technical field of automatic control. The configuration of the baseboard management controller enables the baseboard management controller to calculate an initial fan speed according to a plurality of operating parameters and a plurality of initial temperatures in combination with a preset calculation model, drive the fan to rotate according to the initial fan speed, and perform real-time adjustment of the fan speed during the operation of the fan. A variety of power consumption modes are set in the fan speed regulation system, such as an equilibrium mode, a noise reduction mode and a performance mode, allowing users to select a suitable power consumption mode according to different heat dissipation requirements to meet different heat dissipation requirements, improving the accuracy of fan speed regulation, and avoiding the problem that the single fan speed regulation mode cannot adapt to different heat dissipation requirements. Therefore, the fan speed regulation system can solve the technical problem of low flexibility of fan speed regulation and achieve the technical effect of improving user satisfaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automatic control technology, and particularly to a fan speed regulation system, method, device, medium and product. Background Art

[0002] With the development of automatic control technology, servers have been widely used. A large amount of heat is generated during the use of servers, and how to cool the servers has become an urgent problem to be solved currently.

[0003] In related technologies, a control algorithm is set in the server to regulate the fan speed, thereby achieving temperature control. However, the related technologies have the problem of low flexibility in regulating the fan speed and cannot flexibly regulate the fan speed according to different heat dissipation requirements. Summary of the Invention

[0004] The present application provides a fan speed regulation system, method, device, medium and product to at least solve the problem of low flexibility in regulating the fan speed in related technologies.

[0005] The present application provides a fan speed regulation system, which includes a baseboard management controller, a memory, a plurality of temperature sensors and a fan connected to the baseboard management controller;

[0006] The memory is configured to store a plurality of operating parameters; the plurality of operating parameters are used to indicate pre-configured power consumption modes, and the power consumption modes are one of an equilibrium mode, a noise reduction mode and a performance mode;

[0007] The plurality of temperature sensors are configured to collect the initial temperatures of multiple parts of the electronic device to be cooled;

[0008] The baseboard management controller is configured to obtain the plurality of operating parameters and the plurality of initial temperatures; calculate an initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures and a pre-designed calculation model corresponding to the power consumption mode; control the fan to rotate based on the initial pulse width modulation value, adjust the initial pulse width modulation value, and control the fan to rotate based on the adjusted pulse width modulation value.

[0009] The present application also provides a fan speed regulation method, including:

[0010] Obtain a plurality of operating parameters from the memory; the plurality of operating parameters are used to indicate pre-configured power consumption modes, and the power consumption modes are one of an equilibrium mode, a noise reduction mode and a performance mode;

[0011] Obtain a plurality of initial temperatures from the plurality of temperature sensors, and the plurality of temperature sensors are arranged at multiple parts of the electronic device to be cooled;

[0012] Calculate an initial pulse width modulation value according to a pre-designed calculation model corresponding to multiple operating parameters, multiple initial temperatures, and a power consumption mode;

[0013] Control the rotation of the fan based on the initial pulse width modulation value, adjust the initial pulse width modulation value during the rotation of the fan, and control the rotation of the fan based on the adjusted pulse width modulation value to cool down the electronic device.

[0014] This application also provides a fan speed regulation device, including:

[0015] An operating parameter acquisition module for acquiring multiple operating parameters from a memory; the multiple operating parameters are used to indicate a pre-configured power consumption mode, and the power consumption mode is one of a balanced mode, a noise reduction mode, and a performance mode;

[0016] An initial temperature module for acquiring multiple initial temperatures from multiple temperature sensors, and the multiple temperature sensors are arranged at multiple parts of the electronic device to be cooled;

[0017] An initial pulse width modulation value calculation module for calculating an initial pulse width modulation value according to a pre-designed calculation model corresponding to multiple operating parameters, multiple initial temperatures, and a power consumption mode;

[0018] A cooling module for controlling the rotation of the fan based on the initial pulse width modulation value, adjusting the initial pulse width modulation value during the rotation of the fan, and controlling the rotation of the fan based on the adjusted pulse width modulation value to cool down the electronic device.

[0019] This application also provides an electronic device, including: a memory for storing a computer program; a processor for implementing the steps of any of the above fan speed regulation methods when executing the computer program.

[0020] This application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above fan speed regulation methods are implemented.

[0021] This application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of any of the above fan speed regulation methods are implemented.

[0022] A fan speed regulation system, method, device, medium and product of the present application. The memory is configured to store a plurality of operating parameters, enabling the electronic device to record the power consumption mode selected by the user. When the electronic device restarts, it can automatically read the power consumption mode used by the user last time without the user having to set it again, thus improving the convenience of use of the fan speed regulation system. The configuration of multiple temperature sensors enables the fan speed regulation system to collect temperature data of different parts of the electronic device in real time, thereby providing accurate thermal distribution information and optimizing the fan speed regulation strategy based on this to achieve an efficient heat dissipation effect. The configuration of the baseboard management controller enables the baseboard management controller to calculate the initial fan speed according to a plurality of operating parameters and a plurality of initial temperatures, combined with a preset calculation model, and drive the fan to rotate according to the initial fan speed, and adjust the fan speed in real time during the operation of the fan. A variety of power consumption modes are set in the fan speed regulation system, such as balanced mode, noise reduction mode and performance mode, allowing users to select appropriate power consumption modes according to different heat dissipation requirements to meet different heat dissipation needs, improving the accuracy of fan speed regulation, and avoiding the problem that the single fan speed regulation mode cannot adapt to different heat dissipation requirements. Therefore, the fan speed regulation system can solve the technical problem of low flexibility of fan speed regulation and achieve the technical effect of improving user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0024] Figure 1 The hardware architecture of a fan speed regulation system provided by an embodiment of the present application Figure 1 ;

[0025] Figure 2 The hardware architecture of a fan speed regulation system provided by an embodiment of the present application Figure 2 ;

[0026] Figure 3 The hardware architecture of a fan speed regulation system provided by an embodiment of the present application Figure 3 ;

[0027] Figure 4 The flowchart of a fan speed regulation method provided by an embodiment of the present application Figure 1 ;

[0028] Figure 5 The flowchart of a fan speed regulation method provided by an embodiment of the present application Figure 2 ;

[0029] Figure 6 Schematic structural diagram of a fan speed regulation device provided by an embodiment of the present application;

[0030] Figure 7 Schematic structural diagram of an electronic device provided by the present application. Detailed implementation manners

[0031] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0032] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0033] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent the implementation manners consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0034] Next, the technical solutions of the present invention will be described in detail with specific embodiments. The following several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Next, the embodiments of the present invention will be described in conjunction with the accompanying drawings.

[0035] To clearly understand the technical solutions of the present application, the solutions of the related technologies will be introduced in detail first. During the use of the server, a large amount of heat will be generated. How to cool the server has become an urgent problem to be solved currently. In the related technologies, a control algorithm is set in the server to regulate the fan speed. The control algorithm monitors the temperature in real time, compares it with the target temperature, calculates the error value, and then regulates the fan speed according to the error value to achieve dynamic temperature control.

[0036] However, the related technology has the problem of low flexibility in regulating the fan speed, and it is unable to flexibly regulate the fan speed according to different heat dissipation requirements. The regulation of the fan speed usually depends on a fixed control logic and cannot dynamically respond to different heat dissipation requirements. This limitation means that when the working requirements of the electronic device change, the fan may not be able to adjust its speed in time to optimize the heat dissipation efficiency, resulting in the device may overheat or the energy consumption may increase unnecessarily.

[0037] Therefore, aiming at the problem of low flexibility in regulating the fan speed, it is found in the research that to solve this problem, a fan speed regulation system, method, device, medium and product with multiple power consumption modes can be developed to adjust the power consumption mode of the fan according to different heat dissipation requirements, thereby improving the flexibility of fan speed regulation: ① Firstly, various fan power consumption mode requirements can be collected, such as low-noise requirements, high-performance requirements, and balanced operation requirements, etc. ② According to various fan power consumption mode requirements, multiple fan power consumption modes can be integrated into a multi-power consumption mode management system, and users can select different fan power consumption modes according to different requirements. ③ Different functional modules can be set for the multi-power consumption mode management system. For example, designing an operation interface module can facilitate users to select the power consumption mode, and designing a temperature sensor module can obtain temperature data in a timely manner.

[0038] Specifically:

[0039] A multi-power consumption mode fan control system can be designed to improve the flexibility of fan speed regulation by providing multiple power consumption modes. Users can freely switch different power consumption modes according to the current usage scenario and personal needs, and the system can also automatically adjust the fan speed according to the real-time monitored data. This design of multiple power consumption modes improves the flexibility of fan regulation and enhances the user experience.

[0040] A fan speed regulation system, method, device, medium and product according to an embodiment of the present application. The memory is configured to store a plurality of operating parameters, enabling the electronic device to record the power consumption mode selected by the user. When the electronic device restarts, it can automatically read the power consumption mode used by the user last time without the user having to set it again, thereby improving the usability of the fan speed regulation system. The configuration of multiple temperature sensors enables the fan speed regulation system to collect temperature data of different parts of the electronic device in real time, thereby providing accurate thermal distribution information and optimizing the fan speed regulation strategy based on this to achieve an efficient heat dissipation effect. The configuration of the baseboard management controller enables the baseboard management controller to calculate the initial fan speed according to a plurality of operating parameters and a plurality of initial temperatures, combined with a preset calculation model, and drive the fan to rotate according to the initial fan speed, and adjust the fan speed in real time during the operation of the fan. A variety of power consumption modes are set in the fan speed regulation system, such as the balanced mode, the noise reduction mode and the performance mode, allowing the user to select a suitable power consumption mode according to different heat dissipation requirements to meet different heat dissipation needs, improving the accuracy of fan speed regulation, and avoiding the problem that the single fan speed regulation mode cannot adapt to different heat dissipation requirements. Therefore, the fan speed regulation system can solve the technical problem of low flexibility of fan speed regulation and achieve the technical effect of improving user satisfaction.

[0041] Based on the above creative findings, the technical solution of the present application is proposed.

[0042] In order to enable those skilled in the art of this technology to better understand the solution of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0043] Combined with the specific application environment architecture or specific hardware architecture on which the execution of the fan speed regulation system, method, device, medium and product depends, the specific application environment architecture or specific hardware architecture is described herein. Refer to Figure 1 , Figure 1 is the hardware architecture of a fan speed regulation system provided by an embodiment of the present application Figure 1 . The system includes a baseboard management controller and a memory, a plurality of temperature sensors and a fan connected to the baseboard management controller.

[0044] Both the fan and the temperature sensor are connected to the baseboard management controller through the Inter-Integrated Circuit (I2C) interface, and the memory is connected to the baseboard management controller through the Peripheral Component Interconnect (PCI) interface. I2C is a two-wire serial communication bus that allows multiple devices to communicate through two lines. Through the I2C interface, the baseboard management controller can obtain the data of the temperature sensor in real time and adjust the speed of the fan according to this data. PCI is a high-speed interface standard that provides higher data transfer rates and larger bandwidths. Through the PCI interface, the baseboard management controller can efficiently access and manage the data in the memory.

[0045] A memory, configured to store a plurality of operating parameters; the plurality of operating parameters are used to indicate pre-configured power consumption modes, and the power consumption modes are one of an equilibrium mode, a noise reduction mode, and a performance mode.

[0046] Specifically, the memory can store a plurality of operating parameters through firmware or software configuration. These parameters are used to indicate different power consumption modes, such as an equilibrium mode, a noise reduction mode, and a performance mode. Each mode corresponds to a different fan speed strategy to optimize the heat dissipation efficiency and noise level of the electronic device. In the equilibrium mode, the system may achieve a balance between performance and noise; in the noise reduction mode, the system gives priority to reducing noise; in the performance mode, the system may give priority to improving the heat dissipation efficiency to support high-performance operation.

[0047] Among them, the power consumption mode refers to the operating mode adopted by the electronic device during operation according to different requirements and power consumption targets.

[0048] A plurality of temperature sensors, configured to collect the initial temperatures of multiple parts of the electronic device to be cooled.

[0049] Specifically, temperature sensors can be installed at key parts of the electronic device. These sensors collect the initial temperatures of each part in real time and transmit them to the baseboard management controller. By obtaining this temperature information, the system can accurately evaluate the thermal state of the electronic device, so that the baseboard management controller can dynamically adjust the speed of the fan according to the temperature conditions of different parts and the preset power consumption mode to improve the heat dissipation efficiency.

[0050] A baseboard management controller, configured to obtain a plurality of operating parameters and a plurality of initial temperatures; calculate an initial pulse width modulation value according to a plurality of operating parameters, a plurality of initial temperatures, and a pre-designed calculation model corresponding to the power consumption mode; control the rotation of the fan based on the initial pulse width modulation value, adjust the initial pulse width modulation value, and control the rotation of the fan based on the adjusted pulse width modulation value.

[0051] Specifically, the baseboard management controller obtains multiple operating parameters and multiple initial temperatures by connecting to the memory and temperature sensors. The baseboard management controller has a preset calculation model built in, which calculates an initial pulse width modulation value based on different power consumption modes and the obtained operating parameters and initial temperatures. The initial pulse width modulation value is used to control the fan speed to achieve an appropriate heat dissipation effect. The baseboard management controller also has the ability to dynamically adjust, adjusting the initial pulse width modulation value according to real-time temperature changes, thereby optimizing the heat dissipation efficiency.

[0052] Among them, the pulse width modulation value refers to the value used to control the duty cycle of a signal in pulse width modulation technology. The duty cycle refers to the proportion of time that the signal is at a high level within one cycle. In the regulation of fan speed, the pulse width modulation value determines the fan speed, and a higher pulse width modulation value means a higher speed.

[0053] Among them, the initial pulse width modulation value is the pulse width modulation value calculated by inputting multiple operating parameters and multiple initial temperatures into the preset calculation model corresponding to the power consumption mode.

[0054] A fan speed regulation system provided in this embodiment, the system includes a baseboard management controller and a memory, multiple temperature sensors and a fan connected to the baseboard management controller; the memory is configured to store multiple operating parameters; the multiple temperature sensors are configured to collect the initial temperatures of multiple parts of the electronic device to be cooled; the baseboard management controller is configured to obtain the multiple operating parameters and the multiple initial temperatures; calculate an initial pulse width modulation value according to the multiple operating parameters, the multiple initial temperatures and a pre-designed calculation model corresponding to the power consumption mode; control the rotation of the fan based on the initial pulse width modulation value, adjust the initial pulse width modulation value, and control the rotation of the fan based on the adjusted pulse width modulation value. A fan speed regulation system achieves the following technical effects: the memory is configured to store multiple operating parameters, enabling the electronic device to record the power consumption mode selected by the user. When the electronic device is restarted, it can automatically read the power consumption mode used by the user last time without the user having to set it again, thus improving the usability; the configuration of multiple temperature sensors enables the fan speed regulation system to collect the temperature data of different parts of the electronic device in real time, thereby providing accurate thermal distribution information and optimizing the fan speed regulation strategy based on this to achieve an efficient heat dissipation effect; the configuration of the baseboard management controller enables the baseboard management controller to calculate the initial fan speed according to the multiple operating parameters and the multiple initial temperatures, combined with the preset calculation model, drive the fan to rotate according to the initial fan speed, and adjust the fan speed in real time during the operation of the fan. Multiple power consumption modes, such as the balanced mode, the noise reduction mode and the performance mode, are set in the fan speed regulation system, allowing the user to select a suitable power consumption mode according to different heat dissipation requirements to meet different heat dissipation needs, improving the accuracy of fan speed regulation, and avoiding the problem that the single fan speed regulation mode cannot adapt to different heat dissipation requirements. Therefore, the fan speed regulation system can solve the technical problem of low flexibility in fan speed regulation and achieve the technical effect of improving user satisfaction.

[0055] Reference Figure 2 , Figure 2 is the hardware architecture of a fan speed regulation system provided in an embodiment of the present application Figure 2 . The system further includes an operation interface, and the operation interface is in the client or the web interface.

[0056] The operation interface is connected to the baseboard management controller through a representational state transfer (RESTful) interface.

[0057] The operation interface is configured to obtain the power consumption mode input by the user and send the input power consumption mode to the baseboard management controller.

[0058] Specifically, the user can select the required power consumption mode through the operation interface of the client or web interface. When the user inputs the power consumption mode on the operation interface, the operation interface sends this information to the baseboard management controller. This function enables the user to independently select an appropriate power consumption mode according to the current usage requirements. By setting the operation interface, an intuitive way is provided to adjust the fan speed strategy to meet personalized heat dissipation needs.

[0059] The baseboard management controller is further configured to determine the input power consumption mode as a pre-configured power consumption mode and store multiple operating parameters corresponding to the pre-configured power consumption mode in the memory.

[0060] Specifically, after receiving the power consumption mode input by the user through the operation interface, the baseboard management controller determines it as a pre-configured power consumption mode and stores multiple operating parameters related to this mode in the memory. After the device shuts down, the multiple operating parameters are stored in the memory, enabling the device to record the power consumption mode selected by the user before shutdown. When the device restarts, it can automatically read the power consumption mode used by the user last time without the user having to set it again, thus improving the usage convenience and response efficiency.

[0061] The technical effect of this solution in this embodiment is that by adding an operation interface to the fan speed regulation system, the convenience of the user for selecting the power consumption mode is improved. At the same time, the configuration of storing the operating parameters corresponding to the power consumption mode selected by the user in the memory enables the electronic device to automatically restore to the previous power consumption mode after startup, enhancing the continuity of the user experience and reducing the need for repeated configuration.

[0062] In a possible design, the operation interface is further configured to:

[0063] Before obtaining the power consumption mode input by the user and sending the input power consumption mode to the baseboard management controller, obtain the control mode input by the user and send the input control mode to the baseboard management controller, where the control mode is manual control or automatic control.

[0064] Specifically, the user can select the manual control or automatic control mode on the operation interface. This selection is made before the user inputs the power consumption mode and is sent to the baseboard management controller through the operation interface. The implementation of this function can be completed through buttons, drop-down menus or other interactive elements, enabling the user to clearly specify the control method of the system. When the manual control mode is selected, the user can directly intervene in parameters such as the fan speed; when the automatic control mode is selected, the system automatically adjusts the fan speed according to the pre-set power consumption mode, and this design provides greater flexibility for the user.

[0065] The baseboard management controller is further configured to determine the input power consumption mode as a pre-configured power consumption mode if it is determined that the control mode is automatic control.

[0066] Specifically, when the control mode is determined to be automatic control, the baseboard management controller directly sets the power consumption mode input by the user as the pre-configured power consumption mode. By directly confirming that the mode input by the user is the preset power consumption mode, the power consumption mode selected by the user can be quickly responded to, and the operating parameters corresponding to the power consumption mode can be stored in the memory in a timely manner.

[0067] The technical effect of this solution in this embodiment is that: manual control and automatic control modes are configured in the operation interface, enabling users to flexibly select the power consumption mode configuration method. In the automatic control mode, the system automatically adjusts according to the power consumption mode input by the user without manual intervention by the user. This design improves the intelligence level of the system, simplifies the user operation process, and enhances the user experience.

[0068] In a possible design, the memory is an electrically erasable programmable read-only memory.

[0069] Specifically, an electrically erasable programmable read-only memory is a non-volatile memory that can retain data when the device is powered off. By using an electrically erasable programmable read-only memory, the system can reliably store the preset operating parameters in the memory. Even after the device is shut down or restarted, this information is still retained. The selection of this memory ensures that the settings of the system and user preferences are not lost due to power-off, thereby improving the stability of the electronic device and the continuity of the user experience.

[0070] The technical effect of this solution in this embodiment is that: the electrically erasable programmable read-only memory can retain the operating parameters set by the user in the event of a power-off. The non-volatile characteristic of this memory ensures that the electronic device can resume the previous configuration state after restart. In addition, the electrically erasable programmable read-only memory supports multiple erasures and writes, enabling the system to flexibly update the stored content to adapt to changes in user needs. The use of the electrically erasable programmable read-only memory improves the user experience and ensures the stability of the device in different scenarios.

[0071] In a possible design, a plurality of temperature sensors are arranged at the air inlet position of the electronic device and at a plurality of device positions; the plurality of initial temperatures include the air inlet temperature and a plurality of device temperatures, and the pre-designed calculation models corresponding to the power consumption modes include the proportional-integral-derivative model corresponding to the power consumption mode and the linear relationship model corresponding to the power consumption mode;

[0072] The baseboard management controller is configured to:

[0073] Input multiple operating parameters and multiple device temperatures into the proportional-integral-derivative (PID) model corresponding to the power consumption mode, and use the PID model corresponding to the power consumption mode to calculate and output multiple first pulse-width modulation (PWM) values.

[0074] Specifically, during the operation of the electronic device, the temperatures of multiple devices can change rapidly and irregularly due to factors such as power consumption changes, environmental conditions, and workloads. The PID model can process these dynamic changes in real time and provide precise feedback regulation through three control parameters: proportional, integral, and derivative. Therefore, the PID model is used to calculate the PWM values of multiple device temperatures. Through a real-time feedback mechanism, the PID model can quickly respond to temperature changes, provide refined fan control, and reduce the impact of temperature fluctuations on device performance.

[0075] Among them, the first PWM value is the PWM value calculated by the PID model corresponding to the power consumption mode.

[0076] Among them, the PID model is a feedback control algorithm consisting of three parts: the proportional control adjusts the output according to the current error, the integral control adjusts the output according to the accumulation of the error to eliminate the steady-state error, and the derivative control adjusts the output according to the rate of change of the error to predict the future error trend.

[0077] Input multiple operating parameters and the inlet temperature into the linear relationship model corresponding to the power consumption mode, and use the linear relationship model corresponding to the power consumption mode to calculate and output the second PWM value.

[0078] Specifically, the inlet temperature usually has relatively stable and linear change characteristics because it is mainly affected by the ambient temperature and the basic fan speed, rather than the complex internal thermal dynamics of the device. Therefore, a linear relationship model is used to calculate the PWM value of the inlet temperature. The linear relationship model can effectively handle this relatively simple and predictable temperature change, adjust the fan speed through a direct proportional relationship to ensure sufficient cold air flows into the device. This method simplifies the calculation process, reduces the occupancy of system resources, and effectively maintains the heat dissipation efficiency of the electronic device.

[0079] Among them, the inlet temperature refers to the temperature at the inlet of the electronic device, usually measured at the inlet of the electronic device. A lower inlet temperature usually helps to reduce the device temperature inside the electronic device, thereby improving the performance of the electronic device.

[0080] Determine the maximum value among multiple first PWM values and the second PWM value as the initial PWM value.

[0081] Specifically, the baseboard management controller receives multiple first pulse width modulation values calculated from the proportional-integral-derivative model and a second pulse width modulation value calculated from the linear relationship model, and then selects the maximum value among them as the initial pulse width modulation value by comparing these values. This process is used to ensure that the fan speed can provide sufficient cooling capacity for temperature reduction, prevent overheating, and maintain the stability of the electronic device.

[0082] The technical effect of this solution in this embodiment is as follows: By combining the proportional-integral-derivative model and the linear relationship model, the changes in the temperatures of multiple devices and the air inlet temperature are processed respectively, the corresponding pulse width modulation values are calculated, and the maximum value among them is selected as the initial pulse width modulation value. This method ensures that the fan speed can provide sufficient cooling capacity for temperature reduction, enabling the electronic device to maintain within a safe temperature range under various operating conditions, preventing overheating, and enhancing the stability of the electronic device.

[0083] In a possible design, the baseboard management controller is configured to:

[0084] Obtain multiple first weights of the preset multiple first pulse width modulation values and a second weight of the second pulse width modulation value; the multiple first weights are used to represent the importance levels of multiple devices, and the second weight is used to represent the importance level of the air inlet.

[0085] Specifically, a set of weight parameters can be pre-stored in the baseboard management controller, and these weight parameters can be configured according to the design of the device. The multiple first weights are used to represent the importance levels of different devices, while the second weight is used to represent the importance level of the air inlet. These weights are used to reasonably allocate the influence degrees of different temperature sources on the fan speed when calculating the weighted pulse width modulation value, thereby optimizing the heat dissipation effect.

[0086] Among them, the multiple first weights refer to a set of numerical values used to quantify and represent the importance or priority of different devices in the overall system. In the fan speed modulation, these weights help determine the priorities of each device in the heat dissipation management, and higher weights are usually assigned to the devices that are crucial to the system performance.

[0087] Calculate multiple first weighted pulse width modulation values according to the multiple first pulse width modulation values and the multiple first weights.

[0088] Specifically, the baseboard management controller can multiply the first pulse width modulation value by its corresponding first weight to obtain the weighted pulse width modulation value, that is, the first weighted pulse width modulation value. This process is used to assign different importance weights to different device temperatures when comprehensively considering the influence of multiple device temperatures on the fan speed. Through this weighting method, the system can accurately reflect the contribution of each device to the overall heat dissipation requirement, thereby optimizing the adjustment of the fan speed.

[0089] Calculate the second weighted pulse width modulation value based on the second pulse width modulation value and the second weight.

[0090] Specifically, the baseboard management controller can multiply the second pulse width modulation value by its corresponding second weight to obtain the second weighted pulse width modulation value. This process is used to reasonably consider the importance of the inlet temperature for the overall heat dissipation requirement when determining the fan speed. By applying the weight, the system can accurately reflect the impact of the inlet temperature on the device's heat dissipation performance, thereby optimizing the fan speed adjustment.

[0091] Take the maximum value among multiple first weighted pulse width modulation values and second weighted pulse width modulation values as the initial pulse width modulation value.

[0092] Specifically, the baseboard management controller can traverse multiple first weighted pulse width modulation values and second weighted pulse width modulation values, compare these values, and select the maximum value as the initial pulse width modulation value. This process is used to ensure that the fan speed can respond to the most critical heat dissipation requirements first, whether it is due to the high temperature state of an important device or the change of the inlet temperature, thereby effectively preventing the device from overheating.

[0093] The technical effect of this solution in this embodiment is that the baseboard management controller performs weighted calculations on multiple first pulse width modulation values and second pulse width modulation values according to preset weights, and selects the maximum value after weighting as the initial pulse width modulation value. This method enables the system to dynamically optimize the fan speed adjustment according to the importance of different devices and the influence of the inlet temperature.

[0094] In a possible design, the baseboard management controller is configured to:

[0095] Perform average filtering on multiple first weighted pulse width modulation values and second weighted pulse width modulation values to obtain the average filtered multiple first weighted pulse width modulation values and the average filtered second weighted pulse width modulation values.

[0096] Specifically, the baseboard management controller can apply a sliding window to the weighted pulse width modulation value and calculate the average value within the window to smooth out short-term fluctuations. This process is used to reduce the noise and instantaneous changes in the pulse width modulation value, making the adjustment of the fan speed more stable and smooth.

[0097] Normalize the average filtered multiple first weighted pulse width modulation values and the average filtered second weighted pulse width modulation values to obtain the normalized multiple first weighted pulse width modulation values and the normalized second weighted pulse width modulation values.

[0098] Specifically, the baseboard management controller can first determine the maximum and minimum values in the averaged and filtered pulse width modulation values, and then perform a linear transformation on the averaged and filtered pulse width modulation values to map them to a standardized range, such as 0 to 1. This process is used to standardize the pulse width modulation values from different sources so that they can be compared and processed on the same scale. Normalization helps eliminate the dimensional differences between different pulse width modulation values, thereby improving the accuracy when selecting the maximum value as the initial pulse width modulation value.

[0099] Take the maximum value among the multiple normalized first weighted pulse width modulation values and the normalized second weighted pulse width modulation values as the initial pulse width modulation value.

[0100] Specifically, the baseboard management controller will traverse the normalized first and second weighted pulse width modulation values, compare these values, and select the maximum value among them as the initial pulse width modulation value. This process is used to ensure that the setting of the fan speed can preferentially meet the most critical heat dissipation requirements. By selecting the maximum value, the system can dynamically respond to the highest heat dissipation requirements of the device, improve the heat dissipation efficiency and operating stability of the electronic device, and prevent overheating problems.

[0101] The technical effect of this solution in this embodiment is that by performing average filtering and normalization on the weighted pulse width modulation values, the accuracy of fan speed regulation is improved. Average filtering reduces short-term fluctuations and noise, making the pulse width modulation values smoother. Normalization processes the pulse width modulation values from different sources to the same scale, ensuring the accuracy when selecting the maximum value. Finally, by selecting the normalized maximum value as the initial pulse width modulation value, the system can effectively respond to the highest heat dissipation requirements of the electronic device and improve the heat dissipation performance of the electronic device.

[0102] In a possible design, the power consumption mode is the denoising mode, and the baseboard management controller is further configured to:

[0103] Before calculating the initial pulse width modulation value according to multiple operating parameters, multiple initial temperatures, and a pre-designed calculation model corresponding to the power consumption mode, obtain the pre-designed calculation model in the balanced mode.

[0104] Specifically, the baseboard management controller can read the pre-designed calculation model associated with the balanced mode from the memory. This model contains the parameters and formulas for calculating the initial pulse width modulation value. This process is used to adjust the model parameters of the balanced mode to adapt to specific denoising requirements in the denoising mode.

[0105] Adjust the first parameter value of the pre-designed calculation model in the balanced mode to obtain the pre-designed calculation model in the denoising mode; the first parameter value is the upper limit value of the temperature range of the pre-designed calculation model in the balanced mode.

[0106] Specifically, by adjusting specific parameters, such as the upper limit value of the temperature range, it is possible to quickly switch from the pre-designed calculation model in the balanced mode to the pre-designed calculation model in the noise reduction mode, reducing the fan noise while retaining the basic heat dissipation performance in the balanced mode. This method avoids the complex calculations and resource consumption required for re-building the model and improves the resource utilization efficiency.

[0107] The technical effect of this solution in this embodiment is that by adjusting parameters based on the pre-designed calculation model in the balanced mode instead of re-building the model, the switching from the pre-designed calculation model in the balanced mode to the pre-designed calculation model in the noise reduction mode is achieved. This method improves the response speed and resource utilization rate of the system.

[0108] In a possible design, the baseboard management controller is configured to:

[0109] Add a preset temperature revision value to the first parameter value to obtain the upper limit value of the temperature range of the pre-designed calculation model in the noise reduction mode.

[0110] Specifically, the baseboard management controller reads the upper limit value of the temperature range in the balanced mode, that is, the first parameter value, from the memory, and then adds it to the preset temperature revision value to calculate the new upper limit value of the temperature range for the pre-designed calculation model in the noise reduction mode. This process is used to adjust the fan control strategy so that in the noise reduction mode, the system can operate the fan within a higher temperature range to ensure that the heat dissipation requirements of the electronic device are met.

[0111] The first calculation formula for the upper limit value of the temperature range of the pre-designed calculation model in the noise reduction mode is:

[0112]

[0113] Where y is the upper limit value of the temperature range of the pre-designed calculation model in the noise reduction mode, x is the first parameter value, and a is the preset temperature revision value.

[0114] Determine the temperature range of the pre-designed calculation model in the noise reduction mode according to the first parameter value and the upper limit value of the temperature range of the pre-designed calculation model in the noise reduction mode.

[0115] Specifically, the baseboard management controller first obtains the upper limit value of the temperature range in the balanced mode, and then combines the adjusted upper limit value of the temperature range in the noise reduction mode to re-define the temperature range of the noise reduction mode. This process is used to ensure that in the noise reduction mode, the fan can operate within an optimized temperature range to reduce noise while maintaining sufficient heat dissipation performance.

[0116] Replace the temperature range of the pre-designed calculation model in the balanced mode according to the temperature range of the pre-designed calculation model in the noise reduction mode to obtain the pre-designed calculation model in the noise reduction mode.

[0117] Specifically, in the noise reduction mode, the baseboard management controller replaces the temperature range in the balanced mode with the temperature range of the pre-designed calculation model in the noise reduction mode, thereby forming the pre-designed calculation model in the noise reduction mode. This process is used to adjust the control strategy of the fan to reduce the fan speed and noise while ensuring that the heat dissipation requirements of the device are met.

[0118] The technical effect of this solution in this embodiment is: by adjusting the upper limit value of the temperature range of the pre-designed calculation model in the balanced mode, the pre-designed calculation model in the noise reduction mode is formed. In the noise reduction mode, by increasing the upper limit value of the temperature range, the device is allowed to operate the fan at a higher temperature to reduce the fan speed and noise. This adjustment not only effectively reduces the noise during fan operation and improves the user's comfort experience, but also ensures the heat dissipation performance of the electronic device in the noise reduction mode.

[0119] In a possible design, the power consumption mode is the performance mode, and the baseboard management controller is further configured to:

[0120] Before calculating the initial pulse width modulation value according to multiple operating parameters, multiple initial temperatures, and the pre-designed calculation model corresponding to the power consumption mode, obtain the pre-designed calculation model in the balanced mode.

[0121] Specifically, the baseboard management controller can read the pre-designed calculation model associated with the balanced mode from the memory, and this model contains the parameters and formulas for calculating the initial pulse width modulation value. This process is used to adjust the model parameters of the balanced mode in the performance mode to meet specific performance requirements.

[0122] Adjust the second parameter value of the pre-designed calculation model in the balanced mode to obtain the pre-designed calculation model in the performance mode; the second parameter value is the pulse width modulation reference value of the pre-designed calculation model in the balanced mode.

[0123] Specifically, the baseboard management controller first identifies the pulse width modulation reference value in the pre-designed calculation model in the balanced mode, that is, the second parameter value. To obtain the pre-designed calculation model in the performance mode, the baseboard management controller adjusts this reference value, usually by increasing this value to increase the fan speed, thereby enhancing the heat dissipation capacity. This adjustment is used to prioritize the heat dissipation efficiency of the electronic device in the performance mode to support higher performance requirements.

[0124] The technical effect of this solution in this embodiment is: by adjusting the pulse width modulation reference value of the pre-designed calculation model in the balanced mode, the fan speed control system can provide higher heat dissipation efficiency in the performance mode. This adjustment enables the system to effectively reduce the device temperature in the case of high device load or high performance requirements, and ensures the heat dissipation efficiency of the device during high-performance operation.

[0125] In a possible design, the baseboard management controller is configured to:

[0126] Multiply the second parameter value by a preset amplification factor and add a preset increment value to obtain the pulse width modulation reference value of the pre-designed calculation model in the performance mode.

[0127] Specifically, the baseboard management controller first obtains the second parameter value of the pre-designed calculation model in the balanced mode, that is, the pulse width modulation reference value. Then, multiply this reference value by a preset amplification factor and add a preset increment value to further increase the reference value. This process is used to adjust the fan speed control strategy so that the fan runs at a higher speed in the performance mode, thereby providing stronger heat dissipation capacity to ensure the stable operation of the electronic device under high load or high-performance requirements.

[0128] Among them, the second calculation formula for the pulse width modulation reference value of the pre-designed calculation model in the performance mode is:

[0129]

[0130] Where t is the pulse width modulation reference value of the pre-designed calculation model in the performance mode, m is the second parameter value, n is the preset amplification factor, and p is the preset increment value.

[0131] Replace the pulse width modulation reference value of the pre-designed calculation model in the balanced mode according to the pulse width modulation reference value of the pre-designed calculation model in the performance mode to obtain the pre-designed calculation model in the performance mode.

[0132] Specifically, after the baseboard management controller calculates the pulse width modulation reference value in the performance mode, it replaces the original reference value in the balanced mode, thereby updating the key parameters in the pre-designed calculation model. This step is used to optimize the fan speed control strategy in the performance mode so that the fan can run at a higher speed, providing stronger heat dissipation performance to meet the heat dissipation requirements of the electronic device under high load or high-performance needs, ensuring the stable operation of the device and avoiding overheating.

[0133] The technical effect of this solution in this embodiment is: By adjusting the pulse width modulation reference value in the balanced mode, a pre-designed calculation model in the performance mode is generated, thereby optimizing the fan speed control strategy. This adjustment enables the fan to run at a higher speed in the performance mode, improving the heat dissipation capacity and ensuring the stable operation of the electronic device in high-load or high-performance scenarios.

[0134] In a possible design, the baseboard management controller is configured to:

[0135] Obtain the temperature after multiple coolings. The temperature after multiple coolings is the temperature collected by multiple temperature sensors after adjusting the previous pulse width modulation value and controlling the rotation of the fan. The previous pulse width modulation value includes the initial pulse width modulation value.

[0136] Specifically, the baseboard management controller can collect the temperature data of each part of the electronic device in real time through the temperature sensor as the temperature after cooling. This process is used to dynamically monitor the heat dissipation effect, and based on the comparison between the temperature after cooling and the preset target temperature, it is judged whether it is necessary to further adjust the pulse width modulation value, so as to realize the closed-loop control of the fan speed, ensure that the temperature of the electronic device is always within the target range, and avoid problems such as overheating or insufficient heat dissipation.

[0137] For any temperature after cooling, if the temperature after cooling is greater than or equal to the preset target temperature, then based on multiple operating parameters, the temperature after cooling and the preset calculation model corresponding to the power consumption mode, calculate the adjusted pulse width modulation value for this time until the preset condition is met; the preset condition is that the temperature after cooling is less than the target temperature.

[0138] Specifically, after the baseboard management controller obtains the temperature after cooling each time, it compares it with the preset target temperature. If the temperature after cooling does not meet the target requirements, it recomputes the pulse width modulation value in combination with the operating parameters, the current temperature and the preset calculation model, and adjusts the fan speed. This process is used to achieve dynamic and adaptive fan speed regulation, ensure that the temperature of the electronic device is always lower than the target temperature, and thus effectively prevent the device from overheating.

[0139] The technical effect of this solution in this embodiment is: through the closed-loop control mechanism, the fan speed is dynamically adjusted to achieve precise temperature management. The baseboard management controller compares the temperature after multiple coolings with the preset target temperature, and combines the operating parameters and the preset calculation model to continuously adjust the pulse width modulation value to optimize the fan speed until the temperature after cooling is lower than the target temperature. This process ensures the heat dissipation effect of the electronic device.

[0140] In a possible design, the baseboard management controller is configured to:

[0141] Calculate the initial fan speed based on the initial pulse width modulation value and the preset maximum fan speed, and control the rotation of the fan according to the initial fan speed.

[0142] Specifically, the initial pulse width modulation value is calculated through a preset calculation model corresponding to multiple operating parameters, multiple initial temperatures and the power consumption mode. Then, multiply the initial pulse width modulation value by the preset maximum fan speed to calculate the initial fan speed. Finally, adjust the actual rotation speed of the fan according to the calculated initial fan speed.

[0143] The technical effect of this solution in this embodiment is as follows: By calculating the initial fan speed based on the initial pulse width modulation value and controlling the actual rotation of the fan according to this speed, precise regulation of the fan speed is achieved. This process ensures that the fan can operate at an efficient speed when starting up, avoiding both the noise and energy consumption problems caused by too high a speed and preventing the heat dissipation effect from being affected by too low a speed, thus achieving a balance between heat dissipation performance and energy efficiency at the initial stage.

[0144] In a possible design, the baseboard management controller is configured to:

[0145] Obtain multiple ambient air pressure values.

[0146] Specifically, multiple air pressure sensors can be integrated on the electronic device, and these air pressure sensors can monitor the ambient air pressure around the electronic device in real time. The purpose of obtaining the ambient air pressure value is to calculate the fan speed correction value, because air pressure affects air density, thereby affecting the actual heat dissipation efficiency of the fan. By inputting these air pressure values into a preset air pressure - air density calculation formula, the system can calculate the fan speed correction value and adjust the initial speed of the fan accordingly.

[0147] Among them, the air pressure - air density calculation formula is a mathematical expression for determining air density. Based on factors such as ambient air pressure, temperature, and humidity, this formula combines air pressure and temperature to calculate the change in air density, thereby reflecting the lightness and heaviness of air under different environmental conditions. By understanding the change in air density, the electronic device can adjust the fan speed to adapt to different air pressure conditions.

[0148] Input multiple ambient air pressure values into a preset air pressure - air density calculation formula and use the air pressure - air density calculation formula to calculate and output the fan speed correction value.

[0149] Specifically, input these air pressure values into a preset air pressure - air density calculation formula, which is used to convert the air pressure value into the corresponding air density value. Based on the calculated air density, the system can determine the fan speed correction value to adjust the actual speed of the fan. The purpose of this process is to compensate for the change in air density caused by the change in ambient air pressure, thus ensuring that the fan can still provide stable and efficient heat dissipation performance under different air pressure conditions.

[0150] Calculate the fan speed before correction based on the initial pulse width modulation value and the maximum fan speed.

[0151] Specifically, the fan speed before correction can be determined by multiplying the initial pulse width modulation value by the maximum speed of the fan. The purpose of this process is to initially determine the fan speed without considering environmental factors, so as to further correct it according to factors such as ambient air pressure in the subsequent steps, ensuring the efficient operation of the fan under various conditions.

[0152] Based on the fan speed correction value and the fan speed before correction, the initial fan speed is calculated.

[0153] Specifically, the initial fan speed can be calculated by adding the fan speed before correction and the fan speed correction value. This step is used to dynamically adjust the fan speed according to the influence of ambient air pressure on air density, thereby improving the heat dissipation efficiency and adapting to diverse environmental conditions, while avoiding the decline in heat dissipation performance or the increase in energy consumption caused by air pressure changes.

[0154] The technical effect of this solution in this embodiment is: by dynamically correcting the fan speed in combination with the ambient air pressure value, precise control of the fan speed is achieved. This process ensures the stable operation of the fan under different air pressure conditions, not only improving the heat dissipation efficiency but also avoiding the increase in energy consumption or the decline in heat dissipation performance caused by air pressure changes, enhancing the system's adaptability to diverse environmental conditions.

[0155] In a possible design, the baseboard management controller is configured to:

[0156] Obtain multiple ambient humidity values.

[0157] Specifically, humidity sensors can be integrated into the system, and these sensors can monitor the humidity level around the device in real time. The purpose of obtaining these environmental parameters is to accurately calculate the fan speed correction value, because both air pressure and humidity affect air density, thereby affecting the heat dissipation efficiency of the fan. By inputting these parameters into the air density calculation formula for air pressure, the system can adjust the fan speed according to different environmental conditions.

[0158] When multiple ambient humidity values are all less than the preset humidity threshold, input multiple ambient air pressure values into the air density calculation formula for air pressure and use the air density calculation formula for air pressure to calculate and output the fan speed correction value.

[0159] Specifically, first compare the humidity value of the current environment with the preset humidity threshold. If the collected humidity values are all less than this threshold, it is considered that the influence of humidity on air density can be ignored. At this time, only the air pressure values collected by the air pressure sensor are used for calculation. Input these air pressure values into the air density calculation formula for air pressure to calculate the fan speed correction value. The purpose of this process is to simplify the calculation process under low humidity conditions and ensure that the adjustment of the fan speed is only based on air pressure changes, thereby optimizing the heat dissipation performance of the fan.

[0160] When multiple ambient humidity values are all greater than or equal to the humidity threshold, input multiple ambient air pressure values and a preset humidity compensation factor into the air pressure air density calculation formula, and use the air pressure air density calculation formula to calculate and output a fan speed correction value.

[0161] Specifically, determine whether the humidity value of the current environment is greater than or equal to the preset humidity threshold. If the condition is met, input the ambient air pressure value and the preset humidity compensation factor into the air pressure air density calculation formula together. This formula takes into account the influence of humidity on air density and calculates an accurate fan speed correction value. The purpose of this process is to compensate for the influence of humidity on air density and fan heat dissipation efficiency under high humidity conditions, ensuring that the fan can maintain efficient heat dissipation performance under various environmental conditions.

[0162] The technical effect of this solution in this embodiment is: by combining ambient air pressure and humidity information, the adaptability and accuracy of the fan speed control system are further improved. In the case of high humidity, the system introduces a humidity compensation factor to adjust the air pressure air density calculation formula, thereby calculating an accurate fan speed correction value. This mechanism effectively compensates for the influence of humidity on air density and heat dissipation efficiency, enabling the fan to still provide stable and efficient heat dissipation performance under different humidity conditions.

[0163] Reference Figure 3 , Figure 3 is a hardware architecture of a fan speed control system provided by an embodiment of the present application Figure 3 . The system further includes multiple air pressure sensors and multiple humidity sensors; the multiple air pressure sensors are arranged at different positions of the electronic device, and the multiple humidity sensors are arranged at different positions of the electronic device.

[0164] Both the air pressure sensor and the humidity sensor are connected to the baseboard management controller through an Inter-Integrated Circuit (I2C) interface. Through this interface, the baseboard management controller can regularly read data from the air pressure sensor and the humidity sensor to obtain real-time environmental parameters. This connection method not only simplifies the wiring and communication between the sensor and the controller, but also allows the baseboard management controller to centrally manage and process data from multiple sensors, thereby improving the integration and reliability of the system.

[0165] The multiple air pressure sensors are configured to collect multiple initial ambient air pressure values at different positions of the electronic device.

[0166] Specifically, multiple barometric pressure sensors can be installed at different key positions of the electronic device. These sensors can monitor the ambient barometric pressure values at each position in real time and transmit this data to the baseboard management controller. By collecting the barometric pressure data at different positions, the system can comprehensively understand the barometric pressure distribution around the electronic device. This multi-point collection method helps to improve the accuracy of fan speed regulation because it takes into account the possible barometric pressure differences inside the device.

[0167] Multiple humidity sensors, configured to collect multiple initial ambient humidity values at different positions of the electronic device.

[0168] Specifically, multiple humidity sensors can be installed at different key positions of the electronic device. These sensors can monitor the ambient humidity values at each position in real time and transmit the data to the baseboard management controller. By collecting the humidity data at different positions, the system can accurately determine the humidity distribution around the device. This multi-point collection method helps to improve the accuracy of fan speed regulation because it takes into account the possible humidity differences inside the device, thereby optimizing the heat dissipation performance of the fan.

[0169] The baseboard management controller is configured to obtain multiple initial ambient barometric pressure values and multiple initial ambient humidity values; calculate the change rates of the multiple initial ambient barometric pressure values and the multiple initial ambient humidity values within a preset time period; when the change rates of the multiple initial ambient barometric pressure values and the multiple initial ambient humidity values both exceed a preset fluctuation threshold, perform a moving average filter on the multiple initial ambient barometric pressure values and the multiple initial ambient humidity values to obtain multiple ambient barometric pressure values and multiple ambient humidity values.

[0170] Specifically, the baseboard management controller first obtains the initial ambient barometric pressure and humidity data at different positions from multiple sensors. Then, the baseboard management controller calculates the change rates of these data within a preset time period to detect the fluctuations of the environmental conditions. If it is detected that the change rate exceeds the preset fluctuation threshold, indicating that the environmental conditions are unstable, the baseboard management controller will apply the moving average filter method to these data to smooth the data fluctuations and obtain stable ambient barometric pressure and humidity values. The purpose of this process is to reduce the influence of noise and instantaneous fluctuations in the environmental data on the fan speed regulation.

[0171] The technical effect of this solution in this embodiment is that by deploying multiple barometric pressure and humidity sensors at different positions of the electronic device and combining the intelligent data processing ability of the baseboard management controller, the accuracy and stability of the fan speed regulation system are improved. By collecting and analyzing the barometric pressure and humidity data at each position in real time and applying a moving average filter when significant fluctuations are detected, the system can effectively smooth the instantaneous changes in the environmental data. This mechanism ensures the efficient heat dissipation performance of the fan under different environmental conditions and reduces the errors caused by environmental fluctuations.

[0172] Figure 4 Flow schematic of a fan speed regulation method provided by an embodiment of the present application Figure 1 , such as Figure 4 shown, an embodiment of the present application provides a fan speed regulation method, and the method is described in detail as follows:

[0173] S401: Obtain multiple operating parameters from a memory; the multiple operating parameters are used to indicate a pre-configured power consumption mode, and the power consumption mode is one of an equilibrium mode, a noise reduction mode, and a performance mode.

[0174] Specifically, the baseboard management controller obtains multiple pre-configured operating parameters by reading a storage area of the memory, and these parameters include control strategies related to the power consumption mode. This step is used to provide basic configuration data for fan speed regulation, ensuring that the system can dynamically adjust the fan speed according to different power consumption modes and operating requirements.

[0175] S402: Obtain multiple initial temperatures from multiple temperature sensors, and the multiple temperature sensors are arranged at multiple parts of the electronic device to be cooled.

[0176] Specifically, multiple initial temperatures can be obtained through the temperature sensors of the electronic device. These temperature sensors continuously monitor the temperatures of key parts of the device and transmit the detected temperature data to the baseboard management controller. The purpose of obtaining multiple initial temperatures is to comprehensively understand the current thermal state of the electronic device, so as to determine an appropriate fan speed through a calculation model in combination with the preset operating parameters and power consumption mode, thereby effectively managing the heat dissipation of the electronic device.

[0177] S403: Calculate an initial pulse width modulation value according to the multiple operating parameters, the multiple initial temperatures, and a pre-designed calculation model corresponding to the power consumption mode.

[0178] Specifically, the pre-designed calculation model corresponding to the power consumption mode takes the multiple operating parameters and the obtained initial temperature data as input variables. By comprehensively analyzing and calculating these input variables, the baseboard management controller can generate an initial pulse width modulation value, and this initial pulse width modulation value is used to control the fan speed.

[0179] S404: Control the fan to rotate based on the initial pulse width modulation value, adjust the initial pulse width modulation value during the rotation of the fan, and control the fan to rotate based on the adjusted pulse width modulation value to cool down the electronic device.

[0180] Specifically, the initial rotation speed of the fan is calculated using the initial pulse width modulation value. As the fan operates, the temperature change of the device is continuously monitored, and the initial pulse width modulation value is dynamically adjusted in response to temperature fluctuations based on the real-time temperature feedback from the temperature sensor. The adjusted pulse width modulation value is used to adjust the fan rotation speed in real time to ensure that the device temperature is maintained within a safe and efficient range.

[0181] The technical effect of this solution in this embodiment is that by introducing multiple power consumption modes, such as the balanced mode, the noise reduction mode, and the performance mode, users are allowed to select the appropriate power consumption mode according to different heat dissipation requirements. In addition, through this comprehensive control strategy of multiple parameters and multiple modes, the power consumption mode of the fan can be adjusted according to different heat dissipation requirements to meet different heat dissipation needs, improving the accuracy of fan rotation speed regulation, avoiding the problem that the single fan rotation speed regulation mode cannot adapt to different heat dissipation requirements, solving the technical problem of low flexibility of fan rotation speed regulation, and achieving the technical effect of improving user satisfaction.

[0182] Figure 5 Schematic flow of a method for regulating fan rotation speed provided by an embodiment of the present application Figure 2 。In this embodiment, on the basis of Figure 4 the embodiment provided, a method for regulating fan rotation speed is further explained. Then, a method for regulating fan rotation speed includes:

[0183] S501: Receive the power consumption mode input by the user sent from the operation interface; the operation interface is in the client or web interface.

[0184] Specifically, the power consumption mode input by the user can be received through the operation interface of the electronic device. The operation interface can be a physical interface on the electronic device, such as a touch screen and buttons, or a software interface, such as a client application and a web interface. The user selects or inputs the required power consumption mode through the operation interface, and then the operation interface sends the user's selection to the baseboard management controller.

[0185] S502: Determine the input power consumption mode as the pre-configured power consumption mode, and store multiple operating parameters corresponding to the pre-configured power consumption mode in the memory.

[0186] Specifically, after the electronic device receives the power consumption mode input by the user through the operation interface, it determines it as the pre-configured power consumption mode and stores multiple operating parameters related to this mode in the memory. After the device shuts down, the multiple operating parameters are stored in the memory, enabling the device to record the power consumption mode selected by the user before shutdown. When the device restarts, it can automatically read the power consumption mode used by the user last time without the user having to set it again.

[0187] The technical effect of this solution in this embodiment is that by receiving the power consumption mode input by the user and determining it as a pre-configured mode, and storing these operating parameters in the memory, the user's settings can be retained even after the electronic device is powered off, and the electronic device can automatically resume the power consumption mode selected by the user last time when it is restarted. This design avoids the need for the user to re-set every time the electronic device is started, improving the usability of the electronic device.

[0188] S503: Obtain a plurality of preset operating parameters from the memory, where the plurality of operating parameters are used to indicate pre-configured power consumption modes, and the power consumption mode is any one of a balanced mode, a noise reduction mode, and a performance mode.

[0189] S504: Obtain a plurality of initial temperatures from a plurality of temperature sensors, where the plurality of temperature sensors are arranged at a plurality of parts of the electronic device to be cooled.

[0190] S505: Calculate an initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures, and a pre-designed calculation model corresponding to the power consumption mode.

[0191] S506: Control the fan to rotate based on the initial pulse width modulation value, adjust the initial pulse width modulation value during the rotation of the fan, and control the fan to rotate based on the adjusted pulse width modulation value to cool the electronic device.

[0192] S503 - S506 is similar to S401 - S404, and will not be elaborated in this embodiment.

[0193] In a possible design, the plurality of initial temperatures include an air inlet temperature and a plurality of device temperatures, and the pre-designed calculation model corresponding to the power consumption mode includes a proportional-integral-derivative model corresponding to the power consumption mode and a linear relationship model corresponding to the power consumption mode. S505 calculates the initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures, and the pre-designed calculation model corresponding to the power consumption mode, including:

[0194] S5051: Input the plurality of operating parameters and the plurality of device temperatures into the proportional-integral-derivative model corresponding to the power consumption mode and calculate and output a plurality of first pulse width modulation values using the proportional-integral-derivative model corresponding to the power consumption mode.

[0195] Specifically, the temperatures of multiple devices can change rapidly and irregularly due to factors such as power consumption changes and workloads. The proportional-integral-derivative model can handle these dynamic changes and provide precise feedback regulation through three control parameters: proportional, integral, and derivative. Therefore, the proportional-integral-derivative model is used to calculate the pulse width modulation values of multiple device temperatures. The proportional-integral-derivative model can quickly respond to temperature changes through a real-time feedback mechanism, reducing the impact of temperature fluctuations on device performance.

[0196] S5052: Input multiple operating parameters and the inlet air temperature into the linear relationship model corresponding to the power consumption mode, and use the linear relationship model corresponding to the power consumption mode to calculate and output the second pulse width modulation value.

[0197] Specifically, the inlet air temperature usually has relatively stable and linear variation characteristics because it is mainly affected by the ambient temperature and the basic rotational speed of the fan, rather than the complex thermal dynamics inside the device. Therefore, using a linear relationship model to calculate the pulse width modulation value of the inlet air temperature simplifies the calculation process.

[0198] S5053: Determine the maximum value among multiple first pulse width modulation values and second pulse width modulation values as the initial pulse width modulation value.

[0199] Specifically, the baseboard management controller receives multiple first pulse width modulation values and second pulse width modulation values, and then determines the maximum value among them by comparing these values. This maximum value is selected as the initial pulse width modulation value to control the rotational speed of the fan. This process is used to ensure that the fan rotational speed can provide sufficient cooling capacity for cooling, prevent overheating, and maintain the stability of the electronic device.

[0200] The technical effect of this solution in this embodiment is that the proportional-integral-derivative model processes the rapid changes of multiple device temperatures, provides refined feedback regulation, and ensures the temperature stability of the device under dynamic load conditions. The linear relationship model simplifies the processing of the inlet air temperature, reduces the calculation complexity and system resource occupancy. By selecting the maximum value among multiple first pulse width modulation values and second pulse width modulation values as the initial pulse width modulation value, it is ensured that the fan rotational speed can provide sufficient cooling capacity for cooling, enabling the electronic device to maintain within a safe temperature range, preventing overheating, and enhancing the stability of the electronic device.

[0201] In a possible design, when the power consumption mode is the denoising mode, before S505 calculates the initial pulse width modulation value according to multiple operating parameters, multiple initial temperatures, and the pre-designed calculation model corresponding to the power consumption mode, it further includes:

[0202] S50411: Obtain the pre-designed calculation model in the balanced mode.

[0203] Specifically, the baseboard management controller accesses the calculation model associated with the balanced mode in the memory. This model contains the parameters and algorithms for calculating the pulse width modulation value. The purpose of obtaining this model is to provide a basis for the calculation in the denoising mode. By adjusting specific parameters in the model, a calculation model suitable for the denoising mode can be generated. This process is used to adjust the model parameters of the balanced mode to meet specific denoising requirements in the denoising mode.

[0204] S50412: Adjust the first parameter value of the pre-designed budget model in the balanced mode to obtain the pre-designed budget model in the noise reduction mode; the first parameter value is the upper limit value of the temperature range of the pre-designed budget model in the balanced mode.

[0205] Specifically, by adjusting specific parameters, such as the upper limit value of the temperature range, it is possible to quickly switch from the pre-designed budget model in the balanced mode to the pre-designed budget model in the noise reduction mode, reduce fan noise, and at the same time retain the basic heat dissipation performance in the balanced mode. This method avoids the complex calculations and resource consumption required for reconstructing the model and improves resource utilization.

[0206] The technical effect of this solution in this embodiment is: By adjusting parameters on the basis of the pre-designed budget model in the balanced mode instead of reconstructing the model, the switch from the pre-designed budget model in the balanced mode to the pre-designed budget model in the noise reduction mode is achieved, and this method improves resource utilization.

[0207] In a possible design, when the power consumption mode is the performance mode, before S505 calculates the initial pulse width modulation value according to multiple operating parameters, multiple initial temperatures, and the pre-designed budget model corresponding to the power consumption mode, it further includes:

[0208] S50421: Obtain the pre-designed budget model in the balanced mode.

[0209] Specifically, the baseboard management controller accesses the balanced mode calculation model stored in the memory, and this model contains the parameters and algorithms for calculating the pulse width modulation value. The purpose of obtaining this model is to provide a basis for the calculation in the performance mode. By adjusting specific parameters in the model, a calculation model suitable for the performance mode can be generated.

[0210] S50421: Adjust the second parameter value of the pre-designed budget model in the balanced mode to obtain the pre-designed budget model in the performance mode; the second parameter value is the pulse width modulation reference value of the pre-designed budget model in the balanced mode.

[0211] Specifically, after the baseboard management controller of the electronic device obtains the pre-designed budget model in the balanced mode, it identifies and increases the pulse width modulation reference value in this model. By increasing this parameter, the model in the performance mode allows the fan to run at a higher speed, thereby enhancing the heat dissipation capacity of the device. This adjustment is used to optimize the heat dissipation efficiency of the electronic device in the performance mode to support the operation requirements of high performance and high load, and ensure the stability and reliability of the electronic device under high-intensity usage conditions.

[0212] In this embodiment, the technical effect of the solution is that by adjusting the pulse width modulation reference value in the pre-designed calculation model of the balanced mode in the performance mode, the rotation speed control strategy of the fan can be optimized, so that when the electronic device requires higher heat dissipation performance, stronger heat dissipation capacity can be provided. This adjustment ensures that in the performance mode, the fan can operate at a higher rotation speed, effectively reducing the temperature of the electronic device.

[0213] The implementation of the fan rotation speed control method has a corresponding relationship with the fan rotation speed control system. The steps involved in the fan rotation speed control method are similar to the configuration information in the fan rotation speed control system, and the configuration information in the fan rotation speed control system is applicable to the fan rotation speed control method.

[0214] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation method.

[0215] Figure 6 It is a schematic structural diagram of a fan rotation speed control device provided by an embodiment of the present application. As Figure 6 shown, the embodiment of the present application also provides a fan rotation speed control device, including:

[0216] An operating parameter acquisition module 601, configured to acquire a plurality of operating parameters from a memory; the plurality of operating parameters are used to indicate a pre-configured power consumption mode, and the power consumption mode is one of a balanced mode, a noise reduction mode, and a performance mode.

[0217] An initial temperature module 602, configured to acquire a plurality of initial temperatures from a plurality of temperature sensors, and the plurality of temperature sensors are arranged at a plurality of parts of the electronic device to be cooled.

[0218] An initial pulse width modulation value calculation module 603, configured to calculate an initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures, and a pre-designed calculation model corresponding to the power consumption mode.

[0219] A temperature reduction module 604, configured to control the rotation of the fan based on the initial pulse width modulation value, adjust the initial pulse width modulation value during the rotation of the fan, and control the rotation of the fan based on the adjusted pulse width modulation value to cool the electronic device.

[0220] In a possible design, a fan rotation speed control device further includes:

[0221] A power consumption mode receiving module, configured to receive a power consumption mode input by a user sent by an operation interface; the operation interface is in a client or a web interface.

[0222] A power consumption mode determination module is configured to determine an input power consumption mode as a pre-configured power consumption mode, and store a plurality of operating parameters corresponding to the pre-configured power consumption mode in a memory.

[0223] In a possible design, the plurality of initial temperatures include an air inlet temperature and a plurality of device temperatures. The pre-configured calculation model corresponding to the power consumption mode includes a proportional-integral-derivative model corresponding to the power consumption mode and a linear relationship model corresponding to the power consumption mode. The initial pulse width modulation value calculation module 603 includes:

[0224] A first pulse width modulation value calculation unit is configured to input the plurality of operating parameters and the plurality of device temperatures into the proportional-integral-derivative model corresponding to the power consumption mode, and calculate and output a plurality of first pulse width modulation values by using the proportional-integral-derivative model corresponding to the power consumption mode.

[0225] A second pulse width modulation value calculation unit is configured to input the plurality of operating parameters and the air inlet temperature into the linear relationship model corresponding to the power consumption mode, and calculate and output a second pulse width modulation value by using the linear relationship model corresponding to the power consumption mode.

[0226] An initial pulse width modulation value determination unit is configured to determine the maximum value among the plurality of first pulse width modulation values and the second pulse width modulation value as the initial pulse width modulation value.

[0227] In a possible design, when the power consumption mode is a denoising mode, the initial pulse width modulation value calculation module 603 further includes:

[0228] A first model acquisition unit is configured to acquire a pre-configured calculation model in an equilibrium mode.

[0229] A first parameter adjustment unit is configured to adjust a first parameter value of the pre-configured calculation model in the equilibrium mode to obtain a pre-configured calculation model in the denoising mode; the first parameter value is the upper limit value of the temperature range of the pre-configured calculation model in the equilibrium mode.

[0230] In a possible design, when the power consumption mode is a performance mode, the initial pulse width modulation value calculation module 603 further includes:

[0231] A second model acquisition unit is configured to acquire a pre-configured calculation model in an equilibrium mode.

[0232] A second parameter adjustment unit is configured to adjust a second parameter value of the pre-configured calculation model in the equilibrium mode to obtain a pre-configured calculation model in the performance mode; the second parameter value is the pulse width modulation reference value of the pre-configured calculation model in the equilibrium mode.

[0233] For the description of the features in the corresponding embodiment of a fan speed regulation device, reference may be made to the relevant description of the corresponding embodiment of a fan speed regulation method, which will not be elaborated herein one by one.

[0234] Figure 7 A structural schematic diagram of the electronic device provided for this application. As Figure 7 shown, the electronic device 70 provided in this embodiment includes: at least one processor 701 and a memory 702. Optionally, the electronic device 70 further includes a communication component 703. Among them, the processor 701, the memory 702, and the communication component 703 are connected through a bus.

[0235] In a specific implementation process, at least one processor 701 executes the computer-executable instructions stored in the memory 702, so that at least one processor 701 executes the above-described embodiment of the fan speed regulation method.

[0236] For the specific implementation process of the processor 701, reference may be made to the above method embodiment, and its implementation principle and technical effects are similar, so they will not be elaborated here in this embodiment.

[0237] In the above embodiment, it should be understood that the processor may be a central processing unit (Central Processing Unit, abbreviated as: CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, abbreviated as: DSP), application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as: ASIC), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the application can be directly implemented by the execution of the hardware processor, or implemented by the combination of the hardware and software modules in the processor.

[0238] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.

[0239] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience in representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0240] Embodiments of the present application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described embodiments of the fan speed regulation method when running.

[0241] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media such as USB flash drives, read-only memories (ROM for short), random access memories (RAM for short), mobile hard disks, magnetic disks, or optical discs that can store computer programs.

[0242] Embodiments of the present application also provide a computer program product. The above computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above-described embodiments of the fan speed regulation method.

[0243] Embodiments of the present application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, it implements the steps in any of the above-described embodiments of the fan speed regulation method.

[0244] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to their functions in the above description. Whether these functions are executed in a hardware or software manner 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 a specific application, but such implementation should not be considered to exceed the scope of the present application.

[0245] The above has introduced in detail a fan speed regulation method, device, medium, and product provided by the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

Claims

1. A fan speed control system, characterized in that: The system includes a baseboard management controller, a memory connected to the baseboard management controller, a plurality of temperature sensors and a fan; The memory is configured to store a plurality of operating parameters; the plurality of operating parameters are used to indicate a pre-configured power consumption mode, the power consumption mode being one of a balanced mode, a denoising mode, and a performance mode; The multiple temperature sensors are configured to collect initial temperatures of multiple parts of the electronic device to be cooled; The baseboard management controller is configured to obtain the plurality of operating parameters and the plurality of initial temperatures; Calculating an initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures and a preset calculation model corresponding to the power consumption mode; controlling the fan to rotate based on the initial PWM value, adjusting the initial PWM value, and controlling the fan to rotate based on the adjusted PWM value; The power consumption mode is the denoising mode, and the baseboard management controller is further configured to: Before calculating the initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures and the preset calculation model corresponding to the power consumption mode, obtaining the preset calculation model in the balanced mode; Adjusting a first parameter value of the preset calculation model in the equalization mode to obtain a preset calculation model in the denoising mode; The first parameter value is an upper limit value of a temperature range of a preset calculation model in the equilibrium mode.

2. The fan speed control system according to claim 1, characterized in that: The system also includes an operation interface, which is in a client or a web page interface; The operation interface is configured to obtain a power consumption mode input by a user and send the input power consumption mode to the baseboard management controller; The baseboard management controller is further configured to determine the input power consumption mode as the pre-configured power consumption mode, and store a plurality of operating parameters corresponding to the pre-configured power consumption mode in the memory.

3. The fan speed control system according to claim 2, characterized in that: The operation interface is also configured as: Before obtaining the power consumption mode input by the user and sending the input power consumption mode to the baseboard management controller, obtaining the control mode input by the user and sending the input control mode to the baseboard management controller, the control mode is manual control or automatic control; The baseboard management controller is further configured to determine the input power consumption mode as the pre-configured power consumption mode if it is determined that the control mode is the automatic control.

4. The fan speed control system according to claim 1, characterized in that: The memory is an electrically erasable programmable read-only memory.

5. The fan speed control system according to claim 1, characterized in that: The multiple temperature sensors are arranged at the air inlet position and multiple device positions of the electronic device; the multiple initial temperatures include the air inlet temperature and multiple device temperatures, and the preset calculation model corresponding to the power consumption mode includes a proportional integral differential model corresponding to the power consumption mode and a linear relationship model corresponding to the power consumption mode; The baseboard management controller is configured to: Inputting the plurality of operating parameters and the plurality of device temperatures into a proportional-integral-differential model corresponding to the power consumption mode and using the proportional-integral-differential model corresponding to the power consumption mode to calculate and output a plurality of first pulse width modulation values; Inputting the plurality of operating parameters and the air inlet temperature into a linear relationship model corresponding to the power consumption mode and using the linear relationship model corresponding to the power consumption mode to calculate and output a second pulse width modulation value; A maximum value among the plurality of first PWM values ​​and the second PWM value is determined as the initial PWM value.

6. The fan speed control system according to claim 5, characterized in that: The baseboard management controller is configured to: Acquire a plurality of first weights of the plurality of first pulse width modulation values ​​and a second weight of the second pulse width modulation value; the plurality of first weights are used to indicate the importance of a plurality of components, and the second weights are used to indicate the importance of an air inlet; Calculating a plurality of first weighted pulse width modulation values ​​according to the plurality of first pulse width modulation values ​​and the plurality of first weights; Calculating a second weighted pulse width modulation value according to the second pulse width modulation value and the second weight; The maximum value among the plurality of first weighted pulse width modulation values ​​and the second weighted pulse width modulation value is taken as the initial pulse width modulation value.

7. The fan speed control system according to claim 6, characterized in that: The baseboard management controller is configured to: Performing average filtering on the plurality of first weighted pulse width modulation values ​​and the second weighted pulse width modulation value to obtain a plurality of first weighted pulse width modulation values ​​after average filtering and a second weighted pulse width modulation value after average filtering; Normalizing the plurality of first weighted pulse width modulation values ​​after the average filtering and the second weighted pulse width modulation value after the average filtering to obtain the plurality of normalized first weighted pulse width modulation values ​​and the normalized second weighted pulse width modulation value; The maximum value among the normalized multiple first weighted pulse width modulation values ​​and the normalized second weighted pulse width modulation value is taken as the initial pulse width modulation value.

8. The fan speed control system according to claim 1, characterized in that: The baseboard management controller is configured to: Adding the first parameter value to the preset temperature correction value to obtain the upper limit value of the temperature range of the preset calculation model in the denoising mode; Determining a temperature range of the preset calculation model in the denoising mode according to the first parameter value and an upper limit value of the temperature range of the preset calculation model in the denoising mode; According to the temperature range of the preset calculation model in the denoising mode, the temperature range of the preset calculation model in the equalization mode is replaced to obtain the preset calculation model in the denoising mode.

9. The fan speed control system according to claim 1, characterized in that: The power consumption mode is the performance mode, and the baseboard management controller is further configured to: Before calculating the initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures and the preset calculation model corresponding to the power consumption mode, obtaining the preset calculation model in the balanced mode; Adjusting the second parameter value of the preset calculation model in the balancing mode to obtain the preset calculation model in the performance mode; The second parameter value is a pulse width modulation reference value of a preset calculation model in the balanced mode.

10. The fan speed control system according to claim 9, characterized in that: The baseboard management controller is configured to: Multiplying the second parameter value by a preset amplification factor and adding a preset increment value to obtain a pulse width modulation reference value of a preset calculation model in the performance mode; According to the pulse width modulation reference value of the preset calculation model in the performance mode, the pulse width modulation reference value of the preset calculation model in the balanced mode is replaced to obtain the preset calculation model in the performance mode.

11. The fan speed control system according to claim 1, characterized in that: The baseboard management controller is configured to: Acquire the temperature after multiple coolings, wherein the temperature after multiple coolings is the temperature collected by the multiple temperature sensors after the previous pulse width modulation value is adjusted and the fan is controlled to rotate, and the previous pulse width modulation value includes the initial pulse width modulation value; For any temperature after cooling, if the temperature after cooling is greater than or equal to the preset target temperature, the pulse width modulation value after adjustment is calculated based on the plurality of operating parameters, the temperature after cooling and the preset calculation model corresponding to the power consumption mode until the preset condition is met; The preset condition is that the temperature after cooling is lower than the target temperature.

12. The fan speed control system according to claim 1, characterized in that: The baseboard management controller is configured to: An initial fan speed is calculated based on the initial pulse width modulation value and a preset maximum fan speed, and the fan is controlled to rotate according to the initial fan speed.

13. The fan speed control system according to claim 12, characterized in that: The baseboard management controller is configured to: Get multiple ambient pressure values; Inputting the multiple ambient air pressure values ​​into a preset air pressure air density calculation formula and using the air pressure air density calculation formula to calculate and output a fan speed correction value; Calculating the fan speed before correction according to the initial pulse width modulation value and the maximum fan speed; The initial fan speed is calculated based on the fan speed correction value and the fan speed before correction.

14. The fan speed control system according to claim 13, characterized in that: The baseboard management controller is configured to: Get multiple ambient humidity values; When the multiple environmental humidity values ​​are all less than the preset humidity threshold, the multiple environmental air pressure values ​​are input into the air pressure air density calculation formula and the air pressure air density calculation formula is used to calculate and output the fan speed correction value; When the multiple ambient humidity values ​​are all greater than or equal to the humidity threshold, the multiple ambient air pressure values ​​and the preset humidity compensation factor are input into the air pressure density calculation formula and the fan speed correction value is calculated and output using the air pressure density calculation formula.

15. The fan speed control system according to claim 14, characterized in that: The system further comprises a plurality of air pressure sensors and a plurality of humidity sensors; the plurality of air pressure sensors are arranged at different positions of the electronic device, and the plurality of humidity sensors are arranged at different positions of the electronic device; The multiple air pressure sensors are configured to collect multiple initial ambient air pressure values ​​at different positions of the electronic device; The plurality of humidity sensors are configured to collect a plurality of initial environmental humidity values ​​at different locations of the electronic device; The baseboard management controller is configured to obtain the multiple initial ambient air pressure values ​​and the multiple initial ambient humidity values; Calculate the change rate of the multiple initial ambient air pressure values ​​and the change rate of the multiple initial ambient humidity values ​​within a preset time period; when the change rate of the multiple initial ambient air pressure values ​​and the change rate of the multiple initial ambient humidity values ​​both exceed a preset fluctuation threshold, perform sliding average filtering on the multiple initial ambient air pressure values ​​and the multiple initial ambient humidity values ​​to obtain the multiple ambient air pressure values ​​and the multiple ambient humidity values.

16. A method for controlling fan speed, characterized in that: include: Retrieve a plurality of operating parameters from a memory; The plurality of operating parameters are used to indicate a preconfigured power consumption mode, the power consumption mode being one of a balanced mode, a denoising mode, and a performance mode; Acquire multiple initial temperatures from multiple temperature sensors, where the multiple temperature sensors are arranged at multiple locations of the electronic device to be cooled; Calculating an initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures and a preset calculation model corresponding to the power consumption mode; Controlling the fan to rotate based on the initial pulse width modulation value, adjusting the initial pulse width modulation value during the rotation of the fan, and controlling the fan to rotate based on the adjusted pulse width modulation value to cool the electronic device; The power consumption mode is the denoising mode, and before calculating the initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures and the preset calculation model corresponding to the power consumption mode, the method further includes: Get the preset calculation model in the equilibrium mode; The first parameter value of the preset calculation model in the balanced mode is adjusted to obtain the preset calculation model in the denoising mode; the first parameter value is the upper limit value of the temperature range of the preset calculation model in the balanced mode.

17. The fan speed control method according to claim 16, characterized in that: Before acquiring a plurality of operating parameters from the memory, the method further includes: Receiving a power consumption mode input by a user sent by an operation interface; the operation interface is in a client or a web page interface; The input power consumption mode is determined as the pre-configured power consumption mode, and a plurality of operating parameters corresponding to the pre-configured power consumption mode are stored in the memory.

18. The fan speed control method according to claim 16, characterized in that: The multiple initial temperatures include an air inlet temperature and multiple device temperatures, the preset calculation model corresponding to the power consumption mode includes a proportional integral differential model corresponding to the power consumption mode and a linear relationship model corresponding to the power consumption mode, and the initial pulse width modulation value is calculated according to the multiple operating parameters, the multiple initial temperatures and the preset calculation model corresponding to the power consumption mode, including: Inputting the plurality of operating parameters and the plurality of device temperatures into a proportional-integral-differential model corresponding to the power consumption mode and using the proportional-integral-differential model corresponding to the power consumption mode to calculate and output a plurality of first pulse width modulation values; Inputting the plurality of operating parameters and the air inlet temperature into a linear relationship model corresponding to the power consumption mode and using the linear relationship model corresponding to the power consumption mode to calculate and output a second pulse width modulation value; A maximum value among the plurality of first PWM values ​​and the second PWM value is determined as the initial PWM value.

19. The fan speed control method according to claim 16, characterized in that: The power consumption mode is the performance mode, and before calculating the initial pulse width modulation value according to the plurality of operating parameters, the plurality of initial temperatures and the preset calculation model corresponding to the power consumption mode, the method further includes: Get the preset calculation model in the equilibrium mode; The second parameter value of the preset calculation model in the balanced mode is adjusted to obtain the preset calculation model in the performance mode; the second parameter value is a pulse width modulation reference value of the preset calculation model in the balanced mode.

20. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the fan speed control method as claimed in any one of claims 16 to 19 when executing the computer program.

21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the fan speed control method according to any one of claims 16 to 19.

22. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the fan speed control method according to any one of claims 16 to 19 are implemented.

Citation Information

Patent Citations

  • Base station fan controlling method and device

    CN109253099A

  • Output power set value real-time correction system and method for wind power generator unit

    CN110925134A

  • Heat dissipation mode determination method and device, storage medium and electronic equipment

    CN118860090A

  • Fan rotating speed control method and device, BMC and storage medium

    CN118934699A