Fan speed regulation system and method, and device, medium, and product
Patent Information
- Application Number
- PCT/CN2025/121376
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-03-28
- Filing Date
- 2025-09-15
- Publication Date
- 2026-10-01
Smart Images

Figure CN2025121376_01102026_PF_FP_ABST
Abstract
Description
A fan speed control system, method, device, medium, and product.
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510379988.5, filed on March 28, 2025, entitled “A fan speed control system, method, device, medium and product”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of automatic control technology, and in particular to a fan speed control system, method, device, non-volatile readable storage medium, and product. Background Technology
[0004] With the development of automatic control technology, servers have been widely used. Servers generate a significant amount of heat during operation, making server cooling a pressing issue that needs to be addressed.
[0005] In related technologies, control algorithms are set up in the server to regulate fan speed, thereby controlling the temperature. However, these technologies suffer from low flexibility in fan speed regulation, failing to adapt fan speed to different cooling needs. Summary of the Invention
[0006] This application provides a fan speed control system, method, device, medium, and product to at least solve the problem of low flexibility in fan speed control in related technologies.
[0007] This application provides a fan speed control system, which includes a baseboard management controller, a memory connected to the baseboard management controller, multiple temperature sensors, and a fan.
[0008] The memory is configured to store multiple operating parameters; these operating parameters are used to indicate a pre-configured power consumption mode, which is one of a power equalization mode, a noise reduction mode, and a performance mode.
[0009] Multiple temperature sensors are configured to collect the initial temperature of multiple parts of the electronic device to be cooled;
[0010] The baseboard management controller is configured to acquire multiple operating parameters and multiple initial temperatures; calculate an initial pulse width modulation value based on a preset calculation model corresponding to the multiple operating parameters, multiple initial temperatures, and power consumption modes; control the fan rotation based on the initial pulse width modulation value; adjust the initial pulse width modulation value; and control the fan rotation based on the adjusted pulse width modulation value.
[0011] This application also provides a method for controlling fan speed, including:
[0012] Retrieve multiple operating parameters from memory; these parameters indicate a pre-configured power consumption mode, which can be one of three modes: equalization mode, noise reduction mode, and performance mode.
[0013] Multiple initial temperatures are obtained from multiple temperature sensors, which are located at multiple points on the electronic device to be cooled.
[0014] The initial pulse width modulation value is calculated based on the preset calculation model corresponding to multiple operating parameters, multiple initial temperatures and power consumption modes.
[0015] The fan rotation is controlled based on an initial pulse width modulation value. During the fan rotation process, the initial pulse width modulation value is adjusted, and the fan rotation is controlled based on the adjusted pulse width modulation value in order to cool down the electronic equipment.
[0016] This application also provides a fan speed control device, including:
[0017] The operating parameter acquisition module is used to acquire multiple operating parameters from the memory; the multiple operating parameters are used to indicate a pre-configured power consumption mode, which is one of the equalization mode, noise reduction mode and performance mode;
[0018] An initial temperature module is used to obtain multiple initial temperatures from multiple temperature sensors, which are located at multiple points on the electronic device to be cooled.
[0019] The initial pulse width modulation value calculation module is used to calculate the initial pulse width modulation value based on a preset calculation model corresponding to multiple operating parameters, multiple initial temperatures, and power consumption modes.
[0020] The cooling module is used to control the fan rotation based on an initial pulse width modulation value. During the fan rotation, the initial pulse width modulation value is adjusted, and the fan rotation is controlled based on the adjusted pulse width modulation value to cool the electronic equipment.
[0021] This application also provides an electronic device, including: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of any of the above-described fan speed control methods.
[0022] This application also provides a non-volatile readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of any of the above-described fan speed control methods.
[0023] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the above-described fan speed control methods.
[0024] This application discloses a fan speed control system, method, apparatus, non-volatile readable storage medium, and product. The memory is configured to store multiple operating parameters, enabling the electronic device to record the power consumption mode selected by the user. Upon restarting, the electronic device can automatically read the last used power consumption mode without requiring further user settings, thus improving the ease of use of the fan speed control system. The configuration of multiple temperature sensors allows the fan speed control system to collect temperature data from different parts of the electronic device in real time, providing accurate heat distribution information and optimizing the fan speed control strategy accordingly to achieve efficient heat dissipation. The configuration of the baseboard management controller enables it to calculate the initial fan speed based on multiple operating parameters and multiple initial temperatures, combined with a preset calculation model, and drive the fan to rotate according to the initial fan speed, as well as adjust the fan speed in real time during operation. The fan speed control system incorporates multiple power consumption modes, such as a balanced mode, a noise reduction mode, and a performance mode, allowing users to select the appropriate power consumption mode according to different heat dissipation needs, thereby improving the accuracy of fan speed control and avoiding the problem of a single fan speed control mode being unable to adapt to different heat dissipation requirements. Therefore, the fan speed control system can solve the technical problem of low flexibility in fan speed control, thereby improving user satisfaction. Attached Figure Description
[0025] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 is a hardware architecture diagram of a fan speed control system provided in an embodiment of this application;
[0027] Figure 2 is a hardware architecture diagram of a fan speed control system provided in an embodiment of this application;
[0028] Figure 3 is a hardware architecture diagram of a fan speed control system provided in an embodiment of this application;
[0029] Figure 4 is a schematic flowchart of a fan speed control method provided in an embodiment of this application;
[0030] Figure 5 is a schematic flowchart of a fan speed control method provided in an embodiment of this application;
[0031] Figure 6 is a schematic diagram of a fan speed control device provided in an embodiment of this application;
[0032] Figure 7 is a schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation
[0033] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, other embodiments obtained by those of ordinary skill in the art without creative effort are all within the protection scope of this application.
[0034] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.
[0035] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0036] The technical solutions of this application will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0037] To clearly understand the technical solution of this application, the solutions of related technologies will first be described in detail. Servers generate a large amount of heat during use, and how to cool them has become a pressing problem. Related technologies involve setting up control algorithms in the server to regulate fan speed. These algorithms monitor the temperature in real time, compare it with a target temperature, calculate the error value, and then adjust the fan speed based on the error value to achieve dynamic temperature control.
[0038] However, the relevant technologies suffer from low flexibility in fan speed control, failing to adjust fan speed flexibly according to different cooling requirements. Fan speed control typically relies on fixed control logic, unable to dynamically respond to varying cooling needs. This limitation means that when the operational requirements of electronic devices change, the fan may not be able to adjust its speed in time to optimize cooling efficiency, potentially leading to overheating or unnecessary increases in energy consumption.
[0039] Therefore, to address the issue of low flexibility in fan speed control, this research found that a fan speed control system, method, device, medium, and product with multiple power consumption modes can be developed to improve the flexibility of fan speed control by adjusting the fan's power consumption mode according to different heat dissipation requirements. ① Multiple fan power consumption mode requirements can be collected first, such as low noise requirements, high performance requirements, and balanced operation requirements. ② Based on these requirements, multiple fan power consumption modes can be integrated into a multi-power consumption mode management system, allowing users to select different modes according to their needs. ③ Different functional modules can be set up for the multi-power consumption mode management system; for example, an operation interface module can be designed to facilitate user selection of power consumption modes, and a temperature sensor module can be designed to acquire temperature data in a timely manner.
[0040] Specifically, a multi-power-mode fan control system can be designed to improve the flexibility of fan speed control by providing multiple power-mode options. Users can freely switch between different power-modes according to their current usage scenario and personal needs, and the system can also automatically adjust the fan speed based on real-time monitoring data. This multi-power-mode design enhances the flexibility of fan control and improves the user experience.
[0041] This application discloses a fan speed control system, method, device, non-volatile readable storage medium, and product. The memory is configured to store multiple operating parameters, enabling the electronic device to record the power consumption mode selected by the user. Upon restarting, the electronic device can automatically read the last used power consumption mode without requiring further user settings, thus improving the ease of use of the fan speed control system. The configuration of multiple temperature sensors allows the fan speed control system to collect temperature data from different parts of the electronic device in real time, providing accurate heat distribution information and optimizing the fan speed control strategy accordingly to achieve efficient heat dissipation. The configuration of the baseboard management controller enables it to calculate the initial fan speed based on multiple operating parameters and multiple initial temperatures, combined with a preset calculation model, and drive the fan to rotate according to the initial fan speed, as well as adjust the fan speed in real time during operation. The fan speed control system includes multiple power consumption modes, such as equalization mode, noise reduction mode, and performance mode, allowing users to select the appropriate power consumption mode according to different heat dissipation needs, thereby improving the accuracy of fan speed control and avoiding the problem of a single fan speed control mode failing to adapt to different heat dissipation requirements. Therefore, the fan speed control system can solve the technical problem of low flexibility in fan speed control, thereby improving user satisfaction. Based on the above inventive discovery, the technical solution of this application is proposed. To enable those skilled in the art to better understand the solution of this application, the following detailed description is provided in conjunction with the accompanying drawings and specific embodiments.
[0042] The specific application environment architecture or specific hardware architecture upon which the execution of the fan speed control system, method, device, non-volatile readable storage medium, and product depends is described herein. Referring to Figure 1, Figure 1 is a hardware architecture diagram of a fan speed control system provided in an embodiment of this application. The system includes a baseboard management controller, a memory connected to the baseboard management controller, multiple temperature sensors, and a fan.
[0043] Both the fan and temperature sensor are connected to the board management controller via an Inter-Integrated Circuit (I2C) interface, while the memory is connected to the board management controller via a Peripheral Component Interconnect (PCI) interface. I2C is a two-wire serial communication bus that allows multiple devices to communicate over two lines. Through the I2C interface, the board management controller can acquire real-time data from the temperature sensor and adjust the fan speed accordingly. PCI is a high-speed interface standard that provides higher data transfer rates and greater bandwidth. Through the PCI interface, the board management controller can efficiently access and manage data in the memory.
[0044] The memory is configured to store multiple operating parameters, which indicate a pre-configured power consumption mode, one of three: equalization mode, noise reduction mode, or performance mode. Specifically, the memory can be configured via firmware or software to store multiple operating parameters. These parameters indicate different power consumption modes, such as equalization mode, noise reduction mode, and performance mode. Each mode corresponds to a different fan speed strategy to optimize the electronic device's heat dissipation efficiency and noise level. In equalization mode, the system may strike a balance between performance and noise; in noise reduction mode, the system prioritizes noise reduction; and in performance mode, the system may prioritize improving heat dissipation efficiency to support high-performance operation. The power consumption mode refers to the operating mode adopted by the electronic device during operation based on different needs and power consumption targets.
[0045] Multiple temperature sensors are configured to collect the initial temperature of various parts of the electronic device to be cooled. Specifically, temperature sensors can be installed on critical components of the electronic device. These sensors collect the initial temperature of each component in real time and transmit it to the board management controller. By acquiring this temperature information, the system can accurately assess the thermal state of the electronic device, allowing the board management controller to dynamically adjust the fan speed based on the temperature of different components and preset power consumption modes, thereby improving heat dissipation efficiency.
[0046] The baseboard management controller is configured to acquire multiple operating parameters and multiple initial temperatures; calculate an initial pulse width modulation (PWM) value based on a preset calculation model corresponding to the multiple operating parameters, multiple initial temperatures, and power consumption modes; control fan rotation based on the initial PWM value, adjust the initial PWM value, and control fan rotation based on the adjusted PWM value. Specifically, the baseboard management controller acquires multiple operating parameters and multiple initial temperatures through connections with memory and temperature sensors. The baseboard management controller has a built-in preset calculation model that calculates the initial PWM value based on different power consumption modes and the acquired operating parameters and initial temperatures. The initial PWM value is used to control the fan speed to achieve appropriate heat dissipation. The baseboard management controller also has dynamic adjustment capabilities, adjusting the initial PWM value according to real-time temperature changes to optimize heat dissipation efficiency.
[0047] In pulse width modulation (PWM) technology, the PWM value is the numerical value used to control the duty cycle of a signal. Duty cycle refers to the proportion of time a signal is at a high level within one cycle. In fan speed control, the PWM value determines the fan speed; a higher PWM value means a higher speed. The initial PWM value is calculated from a preset calculation model corresponding to multiple operating parameters and multiple initial temperature input power consumption modes.
[0048] This embodiment provides a fan speed control system, which includes a baseboard management controller, a memory connected to the baseboard management controller, multiple temperature sensors, and a fan. The memory is configured to store multiple operating parameters. The multiple temperature sensors are configured to collect the initial temperature of multiple parts of the electronic device to be cooled. The baseboard management controller is configured to acquire multiple operating parameters and multiple initial temperatures. Based on the multiple operating parameters, multiple initial temperatures, and a preset calculation model corresponding to the power consumption mode, an initial pulse width modulation value is calculated. The system controls the fan rotation based on the initial pulse width modulation value, adjusts the initial pulse width modulation value, and controls the fan rotation based on the adjusted pulse width modulation value. A fan speed control system achieves the following technical effects: A memory is configured to store multiple operating parameters, enabling the electronic device to record the user-selected power consumption mode. Upon restarting, the electronic device automatically reads the previously used power consumption mode, eliminating the need for user re-setting and improving ease of use. Multiple temperature sensors allow the fan speed control system to collect real-time temperature data from different parts of the electronic device, providing accurate heat distribution information and optimizing the fan speed control strategy accordingly for efficient heat dissipation. A baseboard management controller enables it to calculate the initial fan speed based on multiple operating parameters and initial temperatures, combined with a preset calculation model. The controller then drives the fan to rotate according to the initial fan speed and adjusts the fan speed in real-time during operation. The fan speed control system incorporates multiple power consumption modes, such as a balanced mode, a noise reduction mode, and a performance mode, allowing users to select the appropriate mode to meet different heat dissipation needs. This improves the accuracy of fan speed control and avoids the problem of a single fan speed control mode failing to adapt to different heat dissipation requirements. Therefore, the fan speed control system solves the technical problem of low flexibility in fan speed control, thereby improving user satisfaction.
[0049] Referring to Figure 2, which is a hardware architecture diagram of a fan speed control system provided in an embodiment of this application, the system also includes an operation interface, which can be found in a client or web page.
[0050] The user interface connects to the baseboard management controller via a representational state transfer (RESTful) interface. The user interface is configured to acquire and send the power consumption mode input by the user to the baseboard management controller. Specifically, the user can select the desired power consumption mode through the client or web interface. After the user inputs the power consumption mode on the user interface, the interface sends this information to the baseboard management controller. This function allows users to independently select the appropriate power consumption mode based on their current usage needs. By configuring the user interface, an intuitive way to adjust fan speed strategies is provided to meet personalized cooling requirements.
[0051] The baseboard management controller is also 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 memory. Specifically, after receiving the power consumption mode input by the user through the operating interface, the baseboard management controller determines it as a pre-configured power consumption mode and stores multiple operating parameters related to that mode in memory. After the device is powered off, these multiple operating parameters are stored in memory, allowing the device to remember the power consumption mode selected by the user before power-off. Upon restarting, the device can automatically read the power consumption mode last used by the user, eliminating the need for user re-setting, thereby improving ease of use and response efficiency.
[0052] The technical advantages of this solution in this embodiment are: by adding an operating interface to the fan speed control system, the convenience of users selecting power consumption modes is improved. Simultaneously, storing the operating parameters corresponding to the user-selected power consumption mode in the memory configuration allows the electronic device to automatically revert to the previous power consumption mode after power-on, enhancing the continuity of the user experience and reducing the need for repetitive configuration.
[0053] In some possible designs, the user interface is also configured to: acquire the user-inputted power consumption mode and send it to the baseboard management controller before acquiring and sending the user-inputted control mode to the baseboard management controller; the control mode can be manual or automatic. Specifically, the user can select manual or automatic control mode on the user interface. This selection is made before the user inputs the power consumption mode and is sent to the baseboard management controller via the user interface. This function can be implemented through buttons, drop-down menus, or other interactive elements, allowing the user to explicitly specify the system's control method. When manual control mode is selected, the user can directly intervene in parameters such as fan speed; when automatic control mode is selected, the system automatically adjusts the fan speed according to the preset power consumption mode, providing the user with greater flexibility.
[0054] The board management controller is also configured to, if the control mode is determined to be automatic control, set the input power consumption mode to a pre-configured power consumption mode. Specifically, when the control mode is determined to be automatic control, the board management controller directly sets the user-input power consumption mode to the pre-configured power consumption mode. By directly confirming that the user-input mode is the preset power consumption mode, the controller can quickly respond to the user-selected power consumption mode and promptly store the corresponding operating parameters in the memory.
[0055] The technical advantages of this solution in this embodiment are: It allows users to flexibly choose between manual and automatic control modes within the user interface. In automatic control mode, the system automatically adjusts based on the user-input power consumption mode without requiring manual intervention. This design enhances the system's intelligence, simplifies the user operation process, and improves the user experience.
[0056] In some possible designs, the memory is electrically erasable programmable read-only memory (EEPROM). Specifically, EEPROM is a non-volatile memory that retains data even when the device is powered off. By using EEPROM, the system can reliably store preset operating parameters in memory, which are retained even after the device is powered off or restarted. This choice of memory ensures that system settings and user preferences are not lost due to power outages, thereby improving the stability of electronic devices and the continuity of the user experience.
[0057] The technical advantages of this solution in this embodiment are: the electrically erasable programmable read-only memory (EEPROM) can retain user-set operating parameters even when power is off. The non-volatile nature of this memory ensures that the electronic device can be restored to its previous configuration state after a restart. Furthermore, the EEPROM supports multiple erase and write cycles, allowing the system to flexibly update the stored content to adapt to changes in user needs. The use of EEPROM improves the user experience and ensures the stability of the device in different scenarios.
[0058] In some possible designs, multiple temperature sensors are located at the air inlet of the electronic device and at multiple device locations; multiple initial temperatures include the air inlet temperature and multiple device temperatures; the preset calculation model corresponding to the power consumption mode includes the proportional-integral-derivative (PID) model corresponding to the power consumption mode and the linear relationship model corresponding to the power consumption mode; the substrate management controller is configured to: input multiple operating parameters and multiple device temperatures into the 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 values.
[0059] Specifically, during the operation of electronic devices, the temperature of multiple components changes rapidly and irregularly due to factors such as power consumption variations, environmental conditions, and workload. The Proportional-Integral-Derivative (PID) model can handle these dynamic changes in real time, providing precise feedback regulation through three control parameters: proportional, integral, and derivative. Therefore, the PID model is used to calculate the pulse width modulation (PWM) values for the temperatures of multiple components. Through a real-time feedback mechanism, the PID model can quickly respond to temperature changes, providing fine-grained fan control and reducing the impact of temperature fluctuations on device performance. The first PWM value is calculated using the PID model corresponding to the power consumption mode. The PID model is a feedback control algorithm consisting of three parts: proportional control adjusts the output based on the current error, integral control adjusts the output based on the accumulated error to eliminate steady-state error, and derivative control adjusts the output based on the error change rate to predict future error trends.
[0060] Multiple operating parameters and the inlet temperature are input into a linear relationship model corresponding to the power consumption mode. This model is then used to calculate and output the second pulse width modulation (PWM) value. Specifically, the inlet temperature typically exhibits relatively stable and linear variation characteristics because it is primarily affected by ambient temperature and the fan's base speed, rather than the complex thermal dynamics within the device. Therefore, a linear relationship model is used to calculate the PWM value of the inlet temperature. This model effectively handles such relatively simple and predictable temperature changes, adjusting the fan speed through a direct proportional relationship to ensure sufficient cool airflow into the device. This method simplifies the calculation process, reduces system resource consumption, and effectively maintains the heat dissipation efficiency of the electronic device. The inlet temperature refers to the temperature at the air inlet of the electronic device, typically measured at the inlet. A lower inlet temperature generally helps reduce the internal component temperature of the electronic device, thereby improving its performance.
[0061] The maximum value among multiple first pulse width modulation (PWM) values and second pulse width modulation (PWM) values is determined as the initial PWM value. Specifically, the board management controller receives multiple first PWM values calculated from a proportional-integral-differential (PID) model and a second PWM value calculated from a linear relationship model, and then selects the maximum value as the initial PWM value by comparing these values. This process ensures that the fan speed provides sufficient cooling capacity to prevent overheating and maintain the stability of the electronic equipment.
[0062] The technical effect of this solution in this embodiment is as follows: by combining a proportional-integral-differential model and a linear relationship model, the changes in the temperatures of multiple devices and the air inlet are processed separately, the corresponding pulse width modulation values are calculated, and the maximum value is selected as the initial pulse width modulation value. This method ensures that the fan speed can provide sufficient cooling capacity for temperature reduction, allowing the electronic equipment to remain within a safe temperature range under various operating conditions, preventing overheating, and improving the stability of the electronic equipment.
[0063] In some possible designs, the substrate management controller is configured to: acquire multiple first weights of multiple first pulse width modulation values and second weights of second pulse width modulation values; the multiple first weights are used to represent the importance of multiple devices, and the second weights are used to represent the importance of air inlets. Specifically, a set of weight parameters can be pre-stored in the substrate management controller, and these weight parameters can be configured according to the device design. The multiple first weights are used to represent the importance of different devices, while the second weights are used to represent the importance of air inlets. These weights are used to reasonably allocate the influence of different temperature sources on fan speed when calculating weighted pulse width modulation values, thereby optimizing heat dissipation. The multiple first weights refer to a set of values used to quantify and represent the importance or priority of different devices in the overall system. In fan speed modulation, these weights help determine the priority of each device in thermal management, with higher weights typically assigned to devices critical to system performance.
[0064] Based on multiple first pulse width modulation (PWM) values and multiple first weights, multiple first weighted PWM values are calculated. Specifically, the substrate management controller can multiply each first PWM value by its corresponding first weight to obtain a weighted PWM value, i.e., the first weighted PWM value. This process is used to assign different importance weights to the temperatures of different devices when comprehensively considering the impact of multiple device temperatures on fan speed. Through this weighting method, the system can accurately reflect the contribution of each device to the overall heat dissipation requirements, thereby optimizing the adjustment of fan speed.
[0065] A second weighted pulse width modulation (PWM) value is calculated based on the second PWM value and the second weight. Specifically, the baseboard management controller multiplies the second PWM value by its corresponding second weight to obtain the second weighted PWM value. This process is used to reasonably consider the importance of inlet temperature to the overall heat dissipation requirements when determining the fan speed. By applying the weights, the system can accurately reflect the impact of inlet temperature on the device's heat dissipation performance, thereby optimizing fan speed adjustment.
[0066] The maximum value among multiple first-weighted pulse width modulation (PWM) values and second-weighted PWM values is taken as the initial PWM value. Specifically, the board management controller can iterate through multiple first-weighted and second-weighted PWM values, compare these values, and select the maximum value as the initial PWM value. This process ensures that the fan speed prioritizes the most critical heat dissipation needs, whether from the high temperature of a critical component or changes in the inlet temperature, thereby effectively preventing the device from overheating.
[0067] The technical effect of this solution in this embodiment is that the substrate 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 weighted value as the initial pulse width modulation value. This method enables the system to dynamically optimize the fan speed adjustment based on the importance of different devices and the influence of the air inlet temperature.
[0068] In some possible designs, the board management controller is configured to perform average filtering on multiple first-weighted pulse width modulation (PWM) values and second-weighted PWM values to obtain averaged filtered first-weighted PWM values and averaged filtered second-weighted PWM values. Specifically, the board management controller can apply a sliding window to the weighted PWM values and calculate the average of the values within the window, thereby smoothing out short-term fluctuations. This process is used to reduce noise and transient changes in the PWM values, making fan speed adjustments more stable and smooth.
[0069] The averaged filtered first-weighted pulse width modulation (PWM) values and the averaged filtered second-weighted PWM values are normalized to obtain normalized first-weighted PWM values and normalized second-weighted PWM values. Specifically, the substrate management controller can first determine the maximum and minimum values among the averaged filtered PWM values, and then perform a linear transformation on the averaged filtered PWM values to map them to a standardized range, such as 0 to 1. This process is used to standardize PWM values from different sources, making them comparable and processed on the same scale. Normalization helps eliminate dimensional differences between different PWM values, thereby improving the accuracy of subsequently selecting the maximum value as the initial PWM value.
[0070] The initial pulse width modulation (PWM) value is the maximum value among the normalized first-weighted PWM values and the normalized second-weighted PWM values. Specifically, the board management controller iterates through the normalized first and second-weighted PWM values, compares them, and selects the maximum value as the initial PWM value. This process ensures that the fan speed setting prioritizes the most critical heat dissipation requirements. By selecting the maximum value, the system can dynamically respond to the device's highest heat dissipation demands, improving the heat dissipation efficiency and operational stability of electronic equipment and preventing overheating.
[0071] The technical effect of this solution in this embodiment is as follows: by performing average filtering and normalization on the weighted pulse width modulation (PWM) values, the accuracy of fan speed control is improved. Average filtering reduces short-term fluctuations and noise, making the PWM values smoother. Normalization standardizes PWM values from different sources to the same scale, ensuring accuracy in selecting the maximum value. Finally, by selecting the normalized maximum value as the initial PWM value, the system can effectively respond to the highest heat dissipation requirements of electronic devices, improving the heat dissipation performance of electronic devices.
[0072] In some possible designs, where the power consumption mode is a denoising mode, the board management controller is also configured to: obtain a preset calculation model for the equalization mode before calculating the initial pulse width modulation value based on multiple operating parameters, multiple initial temperatures, and preset calculation models corresponding to the power consumption mode. Specifically, the board management controller can read the preset calculation model associated with the equalization mode from memory, which contains parameters and formulas for calculating the initial pulse width modulation value. This process is used to adjust the model parameters of the equalization mode to suit specific denoising requirements in the denoising mode.
[0073] The first parameter value of the preset calculation model in balanced mode is adjusted to obtain the preset calculation model in denoising mode; the first parameter value is the upper limit of the temperature range of the preset calculation model in balanced mode. Specifically, by adjusting specific parameters, such as the upper limit of the temperature range, it is possible to quickly switch from the preset calculation model in balanced mode to the preset calculation model in denoising mode, reducing fan noise while retaining the basic heat dissipation performance in balanced mode. This method avoids the complex calculations and resource consumption required to rebuild the model, thus improving resource utilization efficiency.
[0074] The technical effect of this solution in this embodiment is that by adjusting the parameters based on the preset calculation model in the equalization mode, rather than rebuilding the model, the switching from the preset calculation model in the equalization mode to the preset calculation model in the denoising mode is realized. This method improves the system's response speed and resource utilization.
[0075] In some possible designs, the board management controller is configured to add a preset temperature correction value to a first parameter value to obtain the upper limit of the temperature range for a preset calculation model in denoising mode. Specifically, the board management controller reads the upper limit of the temperature range in equalization mode (i.e., the first parameter value) from memory, then adds it to the preset temperature correction value to calculate a new upper limit of the temperature range, which is used in the preset calculation model in denoising mode. This process adjusts the fan control strategy so that the system can operate the fan within a higher temperature range in denoising mode, ensuring that the heat dissipation requirements of the electronic equipment are met.
[0076] The first formula for calculating the upper limit of the temperature range of the preset calculation model in noise reduction mode is: y = x + a
[0077] Where y is the upper limit of the temperature range of the preset calculation model in the noise reduction mode, x is the first parameter value, and a is the preset temperature correction value.
[0078] Based on the first parameter value and the upper limit of the temperature range of the preset calculation model in denoising mode, the temperature range of the preset calculation model in denoising mode is determined. Specifically, the baseboard management controller first obtains the upper limit of the temperature range in equalization mode, and then combines it with the adjusted upper limit of the temperature range in denoising mode to redefine the temperature range of denoising mode. This process ensures that the fan can operate within an optimized temperature range in denoising mode to reduce noise while maintaining sufficient heat dissipation performance.
[0079] Based on the temperature range of the preset calculation model in denoising mode, the temperature range of the preset calculation model in equalization mode is replaced to obtain the preset calculation model in denoising mode. Specifically, in denoising mode, the baseboard management controller replaces the temperature range in equalization mode with the temperature range of the preset calculation model in denoising mode, thereby forming the preset calculation model in denoising mode. This process is used to adjust the fan control strategy to reduce fan speed and noise while ensuring that the device's heat dissipation requirements are met.
[0080] The technical effect of this solution in this embodiment is as follows: by adjusting the upper limit of the temperature range of the preset calculation model in the balanced mode, a preset calculation model in the noise reduction mode is formed. In the noise reduction mode, by increasing the upper limit of the temperature range, the device is allowed to operate the fan at a higher temperature, thereby reducing 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.
[0081] In some possible designs, where the power consumption mode is the performance mode, the baseboard management controller is also configured to: obtain a preset calculation model for the equalization mode before calculating the initial pulse width modulation value based on multiple operating parameters, multiple initial temperatures, and preset calculation models corresponding to the power consumption mode. Specifically, the baseboard management controller can read the preset calculation model associated with the equalization mode from memory, which contains parameters and formulas for calculating the initial pulse width modulation value. This process is used in performance mode to adapt the model parameters of the equalization mode to specific performance requirements.
[0082] The second parameter value of the preset calculation model in balanced mode is adjusted to obtain the preset calculation model in performance mode; the second parameter value is the pulse width modulation reference value of the preset calculation model in balanced mode. Specifically, the board management controller first identifies the pulse width modulation reference value, i.e., the second parameter value, in the preset calculation model in balanced mode. To obtain the preset calculation model in performance mode, the board management controller adjusts this reference value, typically by increasing the value to increase the fan speed, thereby enhancing heat dissipation. This adjustment prioritizes the heat dissipation efficiency of electronic devices in performance mode to support higher performance requirements.
[0083] The technical effect of this solution in this embodiment is that by adjusting the pulse width modulation reference value of the preset 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 under high load or high performance requirements, ensuring the heat dissipation efficiency of the device during high-performance operation.
[0084] In some possible designs, the board management controller is configured to multiply the second parameter value by a preset amplification factor and add a preset increment value to obtain the pulse width modulation (PWM) reference value of the preset calculation model in performance mode. Specifically, the board management controller first obtains the second parameter value of the preset calculation model in equalization mode, i.e., the PWM reference value. Then, it multiplies this reference value by a preset amplification factor and adds a preset increment value to further enhance the reference value. This process is used to adjust the fan speed control strategy, enabling it to operate at a higher speed in performance mode, thereby providing stronger heat dissipation and ensuring stable operation of electronic devices under high load or high-performance requirements.
[0085] The second calculation formula for the pulse width modulation reference value of the preset calculation model in performance mode is: t = mn + p
[0086] Where t is the pulse width modulation reference value of the preset calculation model in performance mode, m is the second parameter value, n is the preset amplification factor, and p is the preset increment value.
[0087] Based on the pulse width modulation (PWM) reference value of the preset calculation model in performance mode, the PWM reference value of the preset calculation model in balanced mode is replaced to obtain the preset calculation model in performance mode. Specifically, after calculating the PWM reference value in performance mode, the board management controller replaces the original reference value in balanced mode with it, thereby updating the key parameters in the preset calculation model. This step is used to optimize the fan speed control strategy in performance mode, enabling the fan to operate at a higher speed, providing stronger heat dissipation performance to meet the heat dissipation requirements of electronic devices under high load or high performance demands, ensuring stable operation of the device and avoiding overheating.
[0088] The technical effect of this solution in this embodiment is that by adjusting the pulse width modulation reference value in the equalization mode, a preset 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 heat dissipation capacity and ensuring stable operation of electronic devices under high load or high performance scenarios.
[0089] In some possible designs, the board management controller is configured to acquire the temperature after multiple cooling cycles. This acquired temperature is the temperature collected by multiple temperature sensors after adjusting the previous pulse width modulation (PWM) value and controlling fan rotation. The previous PWM value includes the initial PWM value. Specifically, the board management controller can collect temperature data from various parts of the electronic device in real time using temperature sensors as the cooled-down temperature. This process dynamically monitors the heat dissipation effect and, based on a comparison between the cooled-down temperature and a preset target temperature, determines whether further adjustments to the PWM value are needed. This achieves closed-loop control of the fan speed, ensuring the electronic device's temperature remains within the target range and preventing overheating or insufficient heat dissipation.
[0090] For any given cooling temperature, if the temperature after the cooling is greater than or equal to a preset target temperature, the adjusted pulse width modulation (PWM) value is calculated based on multiple operating parameters, the temperature after the cooling, and a preset calculation model corresponding to the power consumption mode, until a preset condition is met; the preset condition is that the temperature after the cooling is less than the target temperature. Specifically, after each cooling cycle, the baseboard management controller compares the temperature after cooling with the preset target temperature. If the temperature after cooling does not meet the target requirement, the PWM value is recalculated based on the operating parameters, the current temperature, and the preset calculation model, and the fan speed is adjusted. This process enables dynamic and adaptive fan speed control, ensuring that the temperature of the electronic equipment remains below the target temperature, thereby effectively preventing overheating.
[0091] The technical effect of this solution in this embodiment is that it achieves precise temperature management by dynamically adjusting the fan speed through a closed-loop control mechanism. The baseboard management controller continuously adjusts the pulse width modulation value to optimize the fan speed based on a comparison of the temperature after multiple cooling cycles with the preset target temperature, combined with operating parameters and a preset calculation model, until the temperature after cooling is lower than the target temperature. This process ensures the heat dissipation effect of the electronic equipment.
[0092] In some possible designs, the board management controller is configured to: calculate an initial fan speed based on an initial pulse width modulation (PWM) value and a preset maximum fan speed, and control the fan rotation according to the initial fan speed. Specifically, the initial PWM value is calculated using a preset calculation model corresponding to multiple operating parameters, multiple initial temperatures, and power consumption modes. Then, this initial PWM value is multiplied by the preset maximum fan speed to calculate the initial fan speed. Finally, the actual fan rotation speed is adjusted according to the calculated initial fan speed.
[0093] The technical effect of this solution in this embodiment is that 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 control of the fan speed is achieved. This process ensures that the fan can operate at a high speed during startup, avoiding noise and energy consumption problems caused by excessive speed, and preventing the cooling effect from being affected by excessively low speed, thus achieving a balance between heat dissipation performance and energy efficiency in the initial stage.
[0094] In some possible designs, the baseboard management controller is configured to acquire multiple ambient air pressure values. Specifically, multiple air pressure sensors can be integrated into the electronic device to monitor the ambient air pressure around the device in real time. The purpose of acquiring these ambient air pressure values is to calculate fan speed correction values, as air pressure affects air density, thus impacting the fan's actual cooling efficiency. By inputting these air pressure values into a preset air pressure density calculation formula, the system can calculate the fan speed correction value and adjust the fan's initial speed accordingly. The air pressure density calculation formula is a mathematical expression used to determine air density. Based on factors such as ambient air pressure, temperature, and humidity, this formula calculates changes in air density by combining air pressure and temperature, thus reflecting the degree of air density under different environmental conditions. By understanding changes in air density, the electronic device can adjust the fan speed to adapt to different air pressure conditions.
[0095] Multiple ambient air pressure values are input into a preset air density calculation formula, which then calculates and outputs a fan speed correction value. Specifically, these air pressure values are input into a pre-defined air density calculation formula that converts the air pressure values into corresponding air density values. Based on the calculated air density, the system determines the fan speed correction value to adjust the actual fan speed. The purpose of this process is to compensate for changes in air density caused by variations in ambient air pressure, thereby ensuring that the fan can still provide stable and efficient heat dissipation performance under different air pressure conditions.
[0096] The fan speed before correction is calculated based on the initial pulse width modulation value and the fan's maximum speed. Specifically, the fan speed before correction can be determined by multiplying the initial pulse width modulation value by the fan's maximum speed. The purpose of this process is to initially determine the fan speed without considering environmental factors, so that further corrections can be made based on factors such as ambient air pressure, ensuring efficient fan operation under various conditions.
[0097] The initial fan speed is calculated based on the fan speed correction value and the original fan speed. Specifically, the initial fan speed can be calculated by adding the original fan speed to the fan speed correction value. This step is used to dynamically adjust the fan speed according to the effect of ambient air pressure on air density, thereby improving heat dissipation efficiency and adapting to diverse environmental conditions, while avoiding a decrease in heat dissipation performance or an increase in energy consumption due to changes in air pressure.
[0098] The technical effect of this solution in this embodiment is that by dynamically correcting the fan speed based on the ambient air pressure, precise fan speed control is achieved. This process ensures stable fan operation under different air pressure conditions, improving heat dissipation efficiency and avoiding increased energy consumption or decreased heat dissipation performance due to air pressure changes, thus enhancing the system's adaptability to diverse environmental conditions.
[0099] In some possible designs, the baseboard management controller is configured to acquire multiple ambient humidity values. Specifically, this can be achieved by integrating humidity sensors into the system, which can monitor the humidity level around the device in real time. The purpose of acquiring these environmental parameters is to accurately calculate fan speed correction values, as air pressure and humidity affect air density, thus impacting fan cooling efficiency. By inputting these parameters into the air pressure and air density calculation formula, the system can adjust the fan speed according to different environmental conditions.
[0100] When multiple ambient humidity values are all below a preset humidity threshold, multiple ambient air pressure values are input into the barometric air density calculation formula, which is then used to calculate and output the fan speed correction value. Specifically, the current ambient humidity value is first compared with the preset humidity threshold. If all collected humidity values are below this threshold, the influence of humidity on air density is considered negligible, and only the air pressure values collected by the pressure sensor are used for calculation. These air pressure values are then input into the barometric air density calculation formula to calculate the fan speed correction value. The purpose of this process is to simplify the calculation process under low humidity conditions while ensuring that fan speed adjustments are based solely on air pressure changes, thereby optimizing the fan's heat dissipation performance.
[0101] When multiple ambient humidity values are all greater than or equal to a humidity threshold, multiple ambient air pressure values and a preset humidity compensation factor are input into the barometric air density calculation formula. The formula then calculates and outputs a fan speed correction value. Specifically, it checks whether the current ambient humidity values are all greater than or equal to a preset humidity threshold. If the condition is met, the ambient air pressure values and the preset humidity compensation factor are input into the barometric air density calculation formula. This formula takes into account the impact of humidity on air density and calculates an accurate fan speed correction value. The purpose of this process is to compensate for the impact of humidity on air density and fan cooling efficiency under high humidity conditions, ensuring that the fan maintains high-efficiency cooling performance under various environmental conditions.
[0102] The technical effect of this solution in this embodiment is that by combining ambient air pressure and humidity information, the adaptability and accuracy of the fan speed control system are further improved. In high humidity conditions, the system introduces a humidity compensation factor to adjust the air pressure and air density calculation formula, thereby calculating an accurate fan speed correction value. This mechanism effectively compensates for the impact of humidity on air density and heat dissipation efficiency, enabling the fan to provide stable and efficient heat dissipation performance under different humidity conditions.
[0103] Referring to Figure 3, which is a hardware architecture diagram of a fan speed control system provided in an embodiment of this application, the system also includes multiple air pressure sensors and multiple humidity sensors. The air pressure sensors and humidity sensors are located at different positions on the electronic device. Both the air pressure sensors and humidity sensors are connected to the baseboard management controller via an Inter-Integrated Circuit (I2C) interface. Through this interface, the baseboard management controller can periodically read data from the air pressure sensors and humidity sensors to obtain real-time environmental parameters. This connection method not only simplifies the wiring and communication between the sensors and the controller but also allows the baseboard management controller to centrally manage and process data from multiple sensors, thereby improving the system's integration and reliability.
[0104] Multiple barometric pressure sensors are configured to collect initial ambient pressure values at different locations within the electronic device. Specifically, multiple pressure sensors can be installed at various critical locations within the electronic device. These sensors monitor the ambient pressure at each location in real time and transmit this data to the baseboard management controller. By collecting pressure data from different locations, the system can gain a comprehensive understanding of the pressure distribution around the electronic device. This multi-point acquisition method helps improve the accuracy of fan speed control because it takes into account potential pressure differences within the device.
[0105] Multiple humidity sensors are configured to collect initial ambient humidity values at different locations within the electronic device. Specifically, multiple humidity sensors can be installed at various key locations on the electronic device. These sensors can monitor the ambient humidity values at each location in real time and transmit the data to the baseboard management controller. By collecting humidity data from different locations, the system can accurately determine the humidity distribution around the device. This multi-point acquisition method helps improve the accuracy of fan speed control because it takes into account potential humidity differences within the device, thereby optimizing the fan's heat dissipation performance.
[0106] The baseboard management controller is configured to acquire multiple initial ambient air pressure values and multiple initial ambient humidity values; calculate the rate of change of these initial ambient air pressure values and the rate of change of these initial ambient humidity values within a preset time period; and when the rate of change of both the initial ambient air pressure values and the initial ambient humidity values exceeds a preset fluctuation threshold, perform a moving average filter on the initial ambient air pressure values and the initial ambient humidity values to obtain multiple ambient air pressure values and multiple ambient humidity values. Specifically, the baseboard management controller first acquires initial ambient air pressure and humidity data from multiple sensors at different locations. Then, the baseboard management controller calculates the rate of change of these data within a preset time period to detect fluctuations in environmental conditions. If the detected rate of change exceeds a preset fluctuation threshold, indicating unstable environmental conditions, the baseboard management controller applies a moving average filter to these data to smooth out data fluctuations and obtain stable ambient air pressure and humidity values. The purpose of this process is to reduce the impact of noise and instantaneous fluctuations in the environmental data on fan speed control.
[0107] The technical advantage of this solution in this embodiment is that by deploying multiple air pressure and humidity sensors at different locations on the electronic device, combined with the intelligent data processing capabilities of the baseboard management controller, the accuracy and stability of the fan speed control system are improved. By collecting and analyzing air pressure and humidity data at various locations in real time, and applying moving average filtering when significant fluctuations are detected, the system can effectively smooth out instantaneous changes in environmental data. This mechanism ensures the fan's efficient heat dissipation performance under different environmental conditions and reduces errors caused by environmental fluctuations.
[0108] Figure 4 is a schematic flowchart of a fan speed control method provided in an embodiment of this application. As shown in Figure 4, this application provides a fan speed control method, which is described in detail below:
[0109] S401: Obtain multiple operating parameters from memory; these parameters indicate a pre-configured power consumption mode, which can be one of three modes: equalization, noise reduction, or performance. Specifically, the baseboard management controller obtains these pre-configured operating parameters, including control strategies related to the power consumption mode, by reading from a memory storage area. This step provides basic configuration data for fan speed control, ensuring the system can dynamically adjust the fan speed according to different power consumption modes and operating requirements.
[0110] S402: Multiple initial temperatures are acquired from multiple temperature sensors located at various points on the electronic device to be cooled. Specifically, multiple initial temperatures can be acquired through the temperature sensors of the electronic device. These temperature sensors monitor the temperature of key components of the device in real time and transmit the detected temperature data to the board management controller. The purpose of acquiring multiple initial temperatures is to gain a comprehensive understanding of the current thermal state of the electronic device. In this way, combined with preset operating parameters and power consumption patterns, a calculation model can be used to determine the appropriate fan speed, thereby effectively managing the heat dissipation of the electronic device.
[0111] S403: Based on multiple operating parameters, multiple initial temperatures, and preset calculation models corresponding to power consumption modes, the initial pulse width modulation (PWM) value is calculated. Specifically, the preset calculation model corresponding to the power consumption mode uses multiple operating parameters and the acquired initial temperature data as input variables. By comprehensively analyzing and calculating these input variables, the board management controller can generate an initial PWM value, which is used to control the fan speed.
[0112] S404: This function controls fan rotation based on an initial pulse width modulation (PWM) value. During fan operation, the initial PWM value is adjusted, and the fan rotation is controlled based on the adjusted PWM value to cool the electronic equipment. Specifically, the initial PWM value is first used to calculate the initial fan speed. As the fan operates, the device's temperature changes are continuously monitored. Based on real-time temperature feedback from a temperature sensor, the initial PWM value is dynamically adjusted to respond to temperature fluctuations. The adjusted PWM value is used to regulate the fan speed in real time to ensure the device temperature is maintained within a safe and efficient range.
[0113] The technical effect of this solution in this embodiment is as follows: By introducing multiple power consumption modes, such as equalization mode, noise reduction mode, and performance mode, users can select the appropriate power consumption mode according to different heat dissipation needs. Furthermore, through this comprehensive multi-parameter, multi-mode control strategy, the fan's power consumption mode can be adjusted according to different heat dissipation requirements, thereby improving the accuracy of fan speed control and avoiding the problem of being unable to adapt to different heat dissipation needs due to a single fan speed control mode. This solves the technical problem of low flexibility in fan speed control and ultimately improves user satisfaction.
[0114] Figure 5 is a schematic flowchart of a fan speed control method according to an embodiment of this application. In this embodiment, based on the embodiment provided in Figure 4, a fan speed control method is further explained. The fan speed control method includes:
[0115] S501: Receives power consumption mode input from the user interface sent via the operating interface; the operating interface is located in a client or web interface. Specifically, the power consumption mode input from the user can be received through the operating interface of the electronic device. This operating 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 desired power consumption mode through the operating interface, and then the operating interface sends the user's selection to the board management controller.
[0116] S502: The input power consumption mode is determined as a pre-configured power consumption mode, and multiple operating parameters corresponding to the pre-configured power consumption mode are stored in the memory. Specifically, after the electronic device receives the power consumption mode input by the user through the operation interface, it determines it as a pre-configured power consumption mode and stores multiple operating parameters related to this mode in the memory. After the device is powered off, these multiple operating parameters are stored in the memory, allowing the device to remember the power consumption mode selected by the user before powering off. Upon restarting, the device can automatically read the power consumption mode last used by the user, eliminating the need for the user to set it again.
[0117] The technical advantage 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 turned off. Upon restarting, the electronic device can automatically revert to the power consumption mode previously selected by the user. This design avoids the need for users to reset the settings every time they start the electronic device, thus improving the ease of use of the electronic device.
[0118] S503: Retrieves multiple preset operating parameters from memory. These parameters indicate a pre-configured power consumption mode, which can be any one of equalization mode, noise reduction mode, and performance mode.
[0119] S504: Obtain multiple initial temperatures from multiple temperature sensors located at multiple locations on the electronic device to be cooled.
[0120] S505: Calculates the initial pulse width modulation value based on the preset calculation model corresponding to multiple operating parameters, multiple initial temperatures, and power consumption modes.
[0121] S506: Controls fan rotation based on initial pulse width modulation value, adjusts the initial pulse width modulation value during fan rotation, and controls fan rotation based on the adjusted pulse width modulation value to cool the electronic equipment.
[0122] S503-S506 are similar to S401-S404, and will not be described again in this embodiment.
[0123] In some possible designs, multiple initial temperatures include the inlet temperature and multiple device temperatures. The preset calculation model corresponding to the power consumption mode includes a proportional-integral-derivative (PID) model and a linear relationship model corresponding to the power consumption mode. S505 calculates the initial pulse width modulation (PWM) value based on multiple operating parameters, multiple initial temperatures, and the preset calculation model corresponding to the power consumption mode. This includes: S5051: Inputting multiple operating parameters and multiple device temperatures into the PID model corresponding to the power consumption mode and calculating and outputting multiple first PWM values using the PID model. Specifically, the temperatures of multiple devices will change rapidly and irregularly due to factors such as power consumption changes and workload. The PID model can handle these dynamic changes and provide precise feedback adjustment through the three control parameters of proportional, integral, and derivative. Therefore, the PID model is used to calculate the PWM value of multiple device temperatures. The PID model, through a real-time feedback mechanism, can quickly respond to temperature changes and reduce the impact of temperature fluctuations on equipment performance.
[0124] S5052: Multiple operating parameters and the inlet air temperature are input into the linear relationship model corresponding to the power consumption mode. The model is then used to calculate and output the second pulse width modulation (PWM) value. Specifically, the inlet air temperature typically exhibits relatively stable and linear variation characteristics because it is primarily affected by ambient temperature and the basic fan speed, rather than the complex thermal dynamics within the device. Therefore, using a linear relationship model to calculate the PWM value of the inlet air temperature simplifies the calculation process.
[0125] S5053: The maximum value among multiple first pulse width modulation values and second pulse width modulation values is determined as the initial pulse width modulation value. Specifically, the board management controller receives multiple first pulse width modulation values and second pulse width modulation values, and then determines the maximum value by comparing these values. This maximum value is selected as the initial pulse width modulation value for controlling the fan speed. This process ensures that the fan speed provides sufficient cooling capacity to prevent overheating and maintain the stability of the electronic equipment.
[0126] The technical advantages of this solution in this embodiment are as follows: the proportional-integral-differential (PID) model handles rapid temperature changes in multiple devices, providing fine-grained feedback adjustment to ensure the temperature stability of the equipment under dynamic load conditions. The linear relationship model simplifies the handling of inlet air temperature, reducing computational complexity and system resource consumption. By selecting the maximum value among multiple first and second pulse width modulation values as the initial pulse width modulation value, it ensures that the fan speed can provide sufficient cooling capacity for temperature reduction, keeping the electronic equipment within a safe temperature range, preventing overheating, and improving the stability of the electronic equipment.
[0127] In some possible designs, the power consumption mode is a denoising mode. Before S505 calculates the initial pulse width modulation value based on multiple operating parameters, multiple initial temperatures, and a preset calculation model corresponding to the power consumption mode, it also includes: S50411: Obtaining the preset calculation model in the equalization mode. Specifically, the board management controller accesses the calculation model associated with the equalization mode in the memory. This model contains parameters and algorithms for calculating the pulse width modulation value. The purpose of obtaining this model is to provide a basis for the calculation of 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 equalization mode to adapt to specific denoising requirements in the denoising mode.
[0128] S50412: Adjust the first parameter value of the preset calculation model in balanced mode to obtain the preset calculation model in denoising mode; the first parameter value is the upper limit of the temperature range of the preset calculation model in balanced mode. Specifically, by adjusting specific parameters, such as the upper limit of the temperature range, it is possible to quickly switch from the preset calculation model in balanced mode to the preset calculation model in denoising mode, reducing fan noise while retaining the basic heat dissipation performance in balanced mode. This method avoids the complex calculations and resource consumption required to rebuild the model, thus improving resource utilization.
[0129] The technical effect of this solution in this embodiment is that, by adjusting the parameters based on the preset calculation model in the equalization mode, rather than rebuilding the model, the switching from the preset calculation model in the equalization mode to the preset calculation model in the denoising mode is realized. This method improves resource utilization.
[0130] In some possible designs, the power consumption mode is the performance mode. Before S505 calculates the initial pulse width modulation value based on multiple operating parameters, multiple initial temperatures, and a preset calculation model corresponding to the power consumption mode, it also includes: S50421: Obtaining the preset calculation model in the equalization mode. Specifically, the board management controller accesses the equalization mode calculation model stored in the memory. This model contains parameters and algorithms for calculating the pulse width modulation value. The purpose of obtaining this model is to provide a basis for the calculation of the performance mode. By adjusting specific parameters in the model, a calculation model suitable for the performance mode can be generated.
[0131] S50421: Adjust the second parameter value of the preset calculation model in the balanced mode to obtain the preset calculation model in the performance mode; the second parameter value is the pulse width modulation reference value of the preset calculation model in the balanced mode. Specifically, after obtaining the preset calculation model in the balanced mode, the board management controller of the electronic device identifies and increases the pulse width modulation reference value in the model. By increasing this parameter, the model in the performance mode allows the fan to operate 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 operational requirements of high performance and high load, ensuring the stability and reliability of the electronic device under high-intensity usage conditions.
[0132] The technical effect of this solution in this embodiment is that by adjusting the pulse width modulation reference value in the preset calculation model of the equalization mode in performance mode, the fan speed control strategy can be optimized, thereby providing stronger heat dissipation capabilities when electronic devices require higher heat dissipation performance. This adjustment ensures that the fan can operate at a higher speed in performance mode, effectively reducing the temperature of electronic devices.
[0133] The implementation of the fan speed control method corresponds to the fan speed control system. The steps involved in the fan speed control method are similar to the configuration information in the fan speed control system, and the configuration information in the fan speed control system is applicable to the fan speed control method.
[0134] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.
[0135] Figure 6 is a schematic diagram of a fan speed control device provided in an embodiment of this application. As shown in Figure 6, an embodiment of this application also provides a fan speed control device, including:
[0136] The operating parameter acquisition module 601 is used to acquire multiple operating parameters from the memory; the multiple operating parameters are used to indicate a pre-configured power consumption mode, which is one of equalization mode, noise reduction mode and performance mode.
[0137] The initial temperature module 602 is used to obtain multiple initial temperatures from multiple temperature sensors, which are located at multiple parts of the electronic device to be cooled.
[0138] The initial pulse width modulation value calculation module 603 is used to calculate the initial pulse width modulation value based on a preset calculation model corresponding to multiple operating parameters, multiple initial temperatures, and power consumption modes.
[0139] The cooling module 604 is used to control the fan rotation based on an initial pulse width modulation value, adjust the initial pulse width modulation value during the fan rotation process, and control the fan rotation based on the adjusted pulse width modulation value in order to cool down the electronic equipment.
[0140] In some possible designs, a fan speed control device further includes: a power consumption mode receiving module for receiving a power consumption mode input by a user via an operating interface; the operating interface is located on a client or web page. A power consumption mode determining module is used 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 a memory.
[0141] In some possible designs, multiple initial temperatures include the inlet temperature and multiple device temperatures. The preset calculation model corresponding to the power consumption mode includes a proportional-integral-differential (PID) model and a linear relationship model. The initial pulse width modulation (PWM) value calculation module 603 includes: a first PWM value calculation unit, used to input multiple operating parameters and multiple device temperatures into the PID model corresponding to the power consumption mode and calculate and output multiple first PWM values using the PID model; a second PWM value calculation unit, used to input multiple operating parameters and the inlet temperature into the linear relationship model corresponding to the power consumption mode and calculate and output a second PWM value using the linear relationship model; and an initial PWM value determination unit, used to determine the maximum value among the multiple first and second PWM values as the initial PWM value.
[0142] In some possible designs, the power consumption mode is a noise reduction mode. The initial pulse width modulation value calculation module 603 further includes: a first model acquisition unit, used to acquire a preset calculation model in the equalization mode; and a first parameter adjustment unit, used to adjust the first parameter value of the preset calculation model in the equalization mode to obtain the preset calculation model in the noise reduction mode; the first parameter value is the upper limit of the temperature range of the preset calculation model in the equalization mode.
[0143] In some possible designs, the power consumption mode is the performance mode. The initial pulse width modulation value calculation module 603 also includes: a second model acquisition unit for acquiring a preset calculation model in the equalization mode; and a second parameter adjustment unit for adjusting the second parameter value of the preset calculation model in the equalization mode to obtain the preset calculation model in the performance mode; the second parameter value is the pulse width modulation reference value of the preset calculation model in the equalization mode.
[0144] The description of the features of the embodiment corresponding to the fan speed control device can be found in the description of the embodiment corresponding to the fan speed control method, which will not be repeated here.
[0145] Figure 7 is a schematic diagram of the structure of the electronic device provided in this application. As shown in Figure 7, the electronic device 70 provided in this embodiment includes at least one processor 701 and a memory 702. Optionally, the electronic device 70 also includes a communication component 703. The processor 701, memory 702, and communication component 703 are connected via a bus. In specific implementation, at least one processor 701 executes computer execution instructions stored in the memory 702, causing at least one processor 701 to execute the above-described fan speed control method embodiment. The specific implementation process of the processor 701 can be found in the above-described method embodiment, and its implementation principle and technical effects are similar; therefore, it will not be repeated here.
[0146] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0147] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0148] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0149] Embodiments of this application also provide a non-volatile readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described fan speed control method embodiments when running. In an exemplary embodiment, the aforementioned non-volatile readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0150] The embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described fan speed control method embodiments.
[0151] Embodiments of this application also provide another computer program product, including a non-volatile readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described fan speed control method embodiments.
[0152] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for specific applications, but such implementations should not be considered beyond the scope of this application.
[0153] The foregoing has provided a detailed description of a fan speed control method, device, non-volatile readable storage medium, and product provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and its core ideas. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.
Claims
1. A fan speed control system, characterized in that, The system includes a substrate management controller and a memory, multiple temperature sensors, and a fan connected to the substrate management controller; The memory is configured to store multiple operating parameters; the multiple operating parameters are configured to indicate a pre-configured power consumption mode, which is one of a power equalization mode, a noise reduction mode, and a performance mode. The plurality of temperature sensors are configured to collect the initial temperature of multiple parts of the electronic device to be cooled; The substrate management controller is configured to acquire the plurality of operating parameters and the plurality of initial temperatures; The initial pulse width modulation value is calculated based on the preset calculation model corresponding to the multiple operating parameters, the multiple initial temperatures, and the power consumption mode. The fan rotation is controlled based on the initial pulse width modulation value, the initial pulse width modulation value is adjusted, and the fan rotation is controlled based on the adjusted pulse width modulation value.
2. The fan speed control system according to claim 1, characterized in that, The system also includes an operation interface, which is located in a client or web page interface. The user interface is configured to acquire the power consumption mode input by the 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 multiple 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 user interface is also configured as follows: Before acquiring the power consumption mode input by the user and sending the input power consumption mode to the substrate management controller, the control mode input by the user is acquired and sent to the substrate management controller, wherein 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 located at the air inlet of the electronic device and at the locations of multiple components; the multiple initial temperatures include the air inlet temperature and the temperatures of multiple components; the preset calculation model corresponding to the power consumption mode includes the proportional-integral-differential model and the linear relationship model corresponding to the power consumption mode. The baseboard management controller is configured as follows: The multiple operating parameters and the multiple device temperatures are input into the proportional-integral-differential model corresponding to the power consumption mode, and the proportional-integral-differential model corresponding to the power consumption mode is used to calculate and output multiple first pulse width modulation values; The multiple operating parameters and the air inlet temperature are input into the linear relationship model corresponding to the power consumption mode, and the second pulse width modulation value is calculated and output using the linear relationship model corresponding to the power consumption mode. The maximum value among the plurality of first pulse width modulation values and second pulse width modulation values is determined as the initial pulse width modulation value.
6. The fan speed control system according to claim 5, characterized in that, The baseboard management controller is configured as follows: Obtain a plurality of first weights for the plurality of first pulse width modulation values and a second weight for the second pulse width modulation values; the plurality of first weights are configured to represent the importance of a plurality of devices, and the second weights are configured to represent the importance of the air inlet; Based on the plurality of first pulse width modulation values and the plurality of first weights, a plurality of first weighted pulse width modulation values are calculated; The second weighted pulse width modulation value is calculated based on the second pulse width modulation value and the second weight. The maximum value among the plurality of first weighted pulse width modulation values and second weighted pulse width modulation values 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 as follows: The plurality of first weighted pulse width modulation values and second weighted pulse width modulation values are averaged and filtered to obtain the plurality of first weighted pulse width modulation values and second weighted pulse width modulation values after average filtering. The average filtered first weighted pulse width modulation values and the average filtered second weighted pulse width modulation values are normalized to obtain normalized first weighted pulse width modulation values and normalized second weighted pulse width modulation values. The maximum value among the normalized first weighted pulse width modulation values and the normalized second weighted pulse width modulation values is taken as the initial pulse width modulation value.
8. The fan speed control system according to claim 1, characterized in that, The power consumption mode is the noise reduction mode, and the substrate management controller is further configured to: Before calculating the initial pulse width modulation value based on the multiple operating parameters, the multiple initial temperatures, and the preset calculation model corresponding to the power consumption mode, the preset calculation model under the equalization mode is obtained. The first parameter value of the preset calculation model in the equalization mode is adjusted to obtain the preset calculation model in the denoising mode. The first parameter value is the upper limit of the temperature range of the preset calculation model in the equilibrium mode.
9. The fan speed control system according to claim 8, characterized in that, The baseboard management controller is configured as follows: Adding the first parameter value to a preset temperature correction value yields the upper limit of the temperature range of the preset calculation model in the noise reduction mode. The temperature range of the preset calculation model in the denoising mode is determined based on the first parameter value and the upper limit of the temperature range of the preset calculation model in the denoising mode. Based on 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.
10. 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 based on the multiple operating parameters, the multiple initial temperatures, and the preset calculation model corresponding to the power consumption mode, the preset calculation model under the equalization mode is obtained. 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 the pulse width modulation reference value of the preset calculation model in the equalization mode.
11. The fan speed control system according to claim 10, characterized in that, The baseboard management controller is configured as follows: 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 preset calculation model in the performance mode. Based on 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 equalization mode is replaced to obtain the preset calculation model in the performance mode.
12. The fan speed control system according to claim 1, characterized in that, The baseboard management controller is configured as follows: The temperature after multiple cooling cycles is obtained. The temperature after multiple cooling cycles 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. The previous pulse width modulation value includes the initial pulse width modulation value. For any given cooling temperature, if the cooling temperature is greater than or equal to the preset target temperature, then based on the multiple operating parameters, the cooling temperature, and the preset calculation model corresponding to the power consumption mode, the adjusted pulse width modulation value is calculated until the preset condition is met. The preset condition is that the temperature after this cooling is lower than the target temperature.
13. The fan speed control system according to claim 1, characterized in that, The baseboard management controller is configured as follows: The initial fan speed is calculated based on the initial pulse width modulation value and the preset maximum fan speed, and the fan rotation is controlled according to the initial fan speed.
14. The fan speed control system according to claim 13, characterized in that, The baseboard management controller is configured as follows: Obtain multiple ambient air pressure values; The multiple ambient air pressure values are input into a preset air pressure density calculation formula, and the air pressure density calculation formula is used to calculate and output the fan speed correction value; The fan speed before correction is calculated based on 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.
15. The fan speed control system according to claim 14, characterized in that, The baseboard management controller is configured as follows: Obtain multiple ambient humidity values; When all of the multiple ambient humidity values are less than the preset humidity threshold, the multiple ambient air pressure values are input into the air pressure density calculation formula, and the air pressure density calculation formula is used to calculate and output the fan speed correction value. When all of the multiple ambient humidity values are 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 air pressure density calculation formula is used to calculate and output the fan speed correction value.
16. The fan speed control system according to claim 15, characterized in that, The system also includes multiple barometric pressure sensors and multiple humidity sensors; the multiple barometric pressure sensors are disposed at different locations on the electronic device, and the multiple humidity sensors are disposed at different locations on the electronic device. The plurality of barometric pressure sensors are configured to collect multiple initial ambient barometric pressure values at different locations of the electronic device; The plurality of humidity sensors are configured to collect multiple initial ambient humidity values at different locations of the electronic device; The substrate management controller is configured to acquire the plurality of initial ambient air pressure values and the plurality of initial ambient humidity values; Calculate the rate of change of the plurality of initial ambient air pressure values and the rate of change of the plurality of initial ambient humidity values within a preset time period; when the rate of change of the plurality of initial ambient air pressure values and the rate of change of the plurality of initial ambient humidity values both exceed a preset fluctuation threshold, perform a moving average filter on the plurality of initial ambient air pressure values and the plurality of initial ambient humidity values to obtain the plurality of ambient air pressure values and the plurality of ambient humidity values.
17. A method for regulating fan speed, characterized in that, include: Retrieve multiple operating parameters from memory; The plurality of operating parameters are configured to indicate a pre-configured power consumption mode, which is one of a balanced mode, a noise reduction mode, and a performance mode; Multiple initial temperatures are obtained from multiple temperature sensors, which are disposed at multiple locations on the electronic device to be cooled; The initial pulse width modulation value is calculated based on the preset calculation model corresponding to the multiple operating parameters, the multiple initial temperatures, and the power consumption mode. The fan is controlled to rotate based on the initial pulse width modulation value. During the fan rotation, the initial pulse width modulation value is adjusted, and the fan is controlled to rotate based on the adjusted pulse width modulation value in order to cool down the electronic device.
18. The fan speed control method according to claim 17, characterized in that, Before retrieving multiple operating parameters from memory, the process also includes: Receives power consumption mode input from the user via the operation interface; the operation interface is located in a client or web page. The input power consumption mode is determined as the pre-configured power consumption mode, and multiple operating parameters corresponding to the pre-configured power consumption mode are stored in the memory.
19. The fan speed control method according to claim 17, characterized in that, The multiple initial temperatures include the air inlet temperature and multiple device temperatures. The preset calculation model corresponding to the power consumption mode includes a proportional-integral-differential model and a linear relationship model corresponding to the power consumption mode. The calculation of the initial pulse width modulation value based on the multiple operating parameters, the multiple initial temperatures, and the preset calculation model corresponding to the power consumption mode includes: The multiple operating parameters and the multiple device temperatures are input into the proportional-integral-differential model corresponding to the power consumption mode, and the proportional-integral-differential model corresponding to the power consumption mode is used to calculate and output multiple first pulse width modulation values; The multiple operating parameters and the air inlet temperature are input into the linear relationship model corresponding to the power consumption mode, and the second pulse width modulation value is calculated and output using the linear relationship model corresponding to the power consumption mode. The maximum value among the plurality of first pulse width modulation values and second pulse width modulation values is determined as the initial pulse width modulation value.
20. The fan speed control method according to claim 17, characterized in that, The power consumption mode is the noise reduction mode. Before calculating the initial pulse width modulation value based on the multiple operating parameters, the multiple initial temperatures, and the preset calculation model corresponding to the power consumption mode, the method further includes: Obtain the preset calculation model under the equilibrium mode; The first parameter value of the preset calculation model in the equalization mode is adjusted to obtain the preset calculation model in the noise reduction mode; the first parameter value is the upper limit of the temperature range of the preset calculation model in the equalization mode.
21. The fan speed control method according to claim 17, characterized in that, The power consumption mode is the performance mode. Before calculating the initial pulse width modulation value based on the multiple operating parameters, the multiple initial temperatures, and the preset calculation model corresponding to the power consumption mode, the process further includes: Obtain the preset calculation model under the equilibrium mode; The second parameter value of the preset calculation model in the equalization mode is adjusted to obtain the preset calculation model in the performance mode; the second parameter value is the pulse width modulation reference value of the preset calculation model in the equalization mode.
22. An electronic device, characterized in that, include: Memory, configured to store computer programs; The processor is configured to implement the steps of the fan speed control method as described in any one of claims 17 to 21 when executing the computer program.
23. A non-volatile readable storage medium, characterized in that, The non-volatile readable storage medium stores a computer program, wherein when the computer program is executed by a processor, it implements the steps of the fan speed control method as described in any one of claims 17 to 21.
24. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the fan speed control method as described in any one of claims 17 to 21.