Temperature control assembly

Through the cooperation of the microcontroller unit with the processor, the status of the substrate management controller is detected and the fan control strategy is generated, which solves the problem of fan control instability when the substrate management controller is abnormal, and achieves high stability and reliability control of the fan, avoids insufficient heat dissipation or excessive noise of the server, and is low in cost.

WO2025152508A1PCT designated stage expired Publication Date: 2025-07-24INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/122674
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-17
Filing Date
2024-09-30
Publication Date
2025-07-24

AI Technical Summary

Technical Problem

The prior art cannot achieve high stability and reliability control of the fan when the substrate management controller is abnormal, resulting in insufficient heat dissipation of the server or excessive noise, and increases costs.

Method used

The microcontroller unit is used to cooperate with the processor to detect the status of the substrate management controller, generate a fan control strategy, and realize fan speed adjustment through the fan controller to ensure that the fan can still be controlled accurately and in real time in abnormal situations.

Benefits of technology

High stability and reliability control of the fan when the substrate management controller is abnormal is achieved, avoiding insufficient heat dissipation or excessive noise problems, while maintaining the ease of implementation of costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024122674_24072025_PF_FP_ABST
    Figure CN2024122674_24072025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computers, and specifically relates to a temperature control assembly, comprising: a microcontroller unit, a baseboard management controller, a processor and a fan controller, wherein the processor detects whether the baseboard management controller is in a normal state; when the baseboard management controller is in a normal state, the processor controls the baseboard management controller to generate a fan control policy and transmit the fan control policy to the fan controller; when the baseboard management controller is in an abnormal state, the processor controls the microcontroller unit to generate a fan control policy and transmit the fan control policy to the fan controller; and on the basis of the fan control policy, the fan controller controls a fan rotation speed, so as to regulate the temperature of an electronic device. High-stability and high-reliability control over a fan is achieved, and thus even when a baseboard management controller is abnormal, the fan can still be accurately controlled in real time, and factors such as costs and ease of implementation are also taken into account.
Need to check novelty before this filing date? Find Prior Art

Description

Temperature control components

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on January 17, 2024, with application number 202410066025.5 and application name “Temperature Control Component,” the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application relates to the field of computer technology, and in particular to a temperature control component. Background Art

[0004] Servers generate a significant amount of heat when in operation. Server fans circulate air and dissipate this heat to maintain proper server operation. Typically, a baseboard management controller (BMC) collects temperature information from internal server temperature sensors, formulates a corresponding fan control strategy, and transmits it to the fan controller. The fan controller then outputs a pulse-width modulation (PWM) signal to control fan speed. Due to the importance of fan cooling in servers, malfunctioning of the BMC (e.g., during an upgrade, a hang, or a power-on failure) can lead to serious consequences.

[0005] The current focus of the industry is how to achieve high stability and reliability control of fans, accurately and in real time control of fans even when the baseboard management controller malfunctions, while taking into account factors such as cost and ease of implementation.

[0006] Summary of the Invention

[0007] In view of this, the present application provides a temperature control component to solve the problem of how to achieve high stability and reliability control of the fan, and to accurately and in real time control the fan even when the baseboard management controller is abnormal.

[0008] In a first aspect, the present application provides a temperature control component, the temperature control component including a microcontroller unit, a baseboard management controller, a processor, and a fan controller, wherein the microcontroller unit, the baseboard management controller, and the processor are connected in pairs, and the microcontroller unit is connected to the fan controller, wherein:

[0009] a processor configured to detect whether the baseboard management controller is in a normal state; when the baseboard management controller is in a normal state, control the baseboard management controller to generate a fan control strategy based on the current state of the electronic device and transmit the fan control strategy to the fan controller; when the baseboard management controller is in an abnormal state, control the microcontroller unit to generate a fan control strategy based on the current state of the electronic device and transmit the fan control strategy to the fan controller;

[0010] A baseboard management controller, configured to generate a fan control strategy according to a current state of the electronic device under the control of the processor, and transmit the fan control strategy to the fan controller;

[0011] a microcontrol unit, configured to generate a fan control strategy according to a current state of the electronic device under the control of the processor, and transmit the fan control strategy to the fan controller;

[0012] The fan controller is used to receive the fan control strategy transmitted by the baseboard management controller or the micro control unit, and control the fan speed based on the fan control strategy to adjust the temperature of the electronic device.

[0013] In one embodiment, the temperature control assembly further includes a first watchdog timer, which is installed in the baseboard management controller and is in communication with the processor, wherein:

[0014] A first watchdog timer, configured to periodically generate a first signal pulse;

[0015] The processor is used to receive a first signal pulse generated by a first watchdog timer; detect whether the period of the first signal pulse exceeds a first preset time length, and when the period of the first signal pulse does not exceed the first preset time length, determine that the baseboard management controller is in a normal state.

[0016] In one embodiment, the processor is further configured to determine that the baseboard management controller is in an abnormal state when a period of the first signal pulse exceeds a first preset duration.

[0017] In one embodiment, the temperature control assembly further includes a second watchdog timer, which is installed in the microcontroller unit and is in communication with the processor, wherein:

[0018] A second watchdog timer, configured to periodically generate a second signal pulse;

[0019] The micro control unit is used to receive the second signal pulse generated by the second watchdog timer and detect whether the period of the second signal pulse exceeds the second preset time length; when the period of the second signal pulse exceeds the second preset time length, the micro control unit is controlled to restart.

[0020] In one embodiment, the processor is used to receive a second signal pulse generated by a second watchdog timer; detect whether the period of the second signal pulse exceeds a third preset duration; when the period of the second signal pulse does not exceed the third preset duration, determine that the microcontroller unit is in a normal state; wherein the third preset duration is greater than the second preset duration.

[0021] In one embodiment, the processor is further configured to, when the period of the second signal pulse exceeds a third preset duration, determine that the microcontroller unit has failed to self-control restart, and control the microcontroller unit to restart.

[0022] In one embodiment, the temperature control assembly further includes a multiplexer and at least one group of temperature sensors. A first end of the multiplexer is connected to each group of temperature sensors, and a second end is connected to the baseboard management controller and the processor. Each group of temperature sensors includes at least one temperature sensor, wherein:

[0023] Each group of temperature sensors is used to measure the initial temperature values ​​corresponding to different components in the electronic device;

[0024] The processor is used to control the baseboard management controller to connect with each group of temperature sensors based on the multiplexer when the baseboard management controller is in a normal state, so that the baseboard management controller obtains the initial temperature values ​​transmitted by each group of temperature sensors under preset conditions, calculates the target temperature values ​​based on the initial temperature values, generates a fan control strategy according to the target temperature values, and transmits the fan control strategy to the fan controller.

[0025] In one embodiment, the second terminal of the multiplexer is further connected to the micro control unit, wherein:

[0026] The processor is used to control the microcontroller unit to connect with each group of temperature sensors based on the multiplexer when the baseboard management controller is in an abnormal state, so that the microcontroller unit obtains the initial temperature values ​​transmitted by each group of temperature sensors under preset conditions, calculates the target temperature values ​​based on the initial temperature values, generates a fan control strategy according to the target temperature values, and transmits the fan control strategy to the fan controller.

[0027] In one embodiment, the preset condition is that the current state of the electronic device is a normal working state, the temperature control component further includes a universal input and output expander, and the micro control unit is connected to the universal input and output expander, wherein:

[0028] a general purpose input / output expander, configured to obtain a current state of the electronic device and transmit the current state of the electronic device to the microcontroller unit;

[0029] The microcontroller unit is configured to receive the current state of the electronic device; when the current state of the electronic device is a normal operating state, obtain the initial temperature values ​​transmitted by each group of temperature sensors, calculate the target temperature values ​​based on the initial temperature values, and determine whether at least one target temperature value exceeds a first preset temperature threshold; generate a fan control strategy based on the determination result, and transmit the fan control strategy to the fan controller.

[0030] In one embodiment, the micro control unit is configured to generate a fan control strategy and transmit the fan control strategy to the fan controller when there is no target temperature value exceeding the first preset temperature threshold. The fan control strategy is configured to indicate that the fan is controlled not to rotate.

[0031] In one embodiment, a microcontroller unit is used to determine the number of target temperature values ​​that exceed the first preset temperature threshold when a target temperature value exceeds the first preset temperature threshold; generate a fan control strategy based on the number of target temperature values ​​that exceed the first preset temperature threshold; and transmit the fan control strategy to a fan controller.

[0032] In one embodiment, a microcontroller unit is configured to calculate a first difference between the target temperature value exceeding the first preset temperature threshold and the first preset temperature threshold when the number of target temperature values ​​exceeding the first preset temperature threshold is one; calculate a first speed corresponding to the fan by multiplying the first difference by a first coefficient; and generate a fan control strategy based on the first speed corresponding to the fan, and transmit the fan control strategy to a fan controller.

[0033] In one embodiment, a microcontroller unit is configured to, when the number of target temperature values ​​exceeding a first preset temperature threshold is greater than one, compare the sizes of the groups of target temperature values ​​exceeding the first preset temperature threshold, determine a maximum target temperature value from the target temperature values ​​exceeding the first preset temperature threshold; calculate a second difference between the maximum target temperature value and the first preset temperature threshold; calculate a second speed corresponding to the fan by multiplying the second difference by a first coefficient; and generate a fan control strategy based on the second speed corresponding to the fan, and transmit the fan control strategy to a fan controller.

[0034] In one embodiment, the GPIO extender is further configured to detect whether the Open Compute Project network card and the Smart Network Card are present; and transmit the presence of the Open Compute Project network card and the Smart Network Card and the current state of the electronic device to the micro control unit;

[0035] The microcontroller unit is further configured to generate a fan control strategy when the current state of the electronic device is a sleep state and neither the Open Compute Project network card nor the Smart Network Card is in place, and transmit the fan control strategy to the fan controller, wherein the fan control strategy is used to indicate that the fan is controlled not to rotate.

[0036] In one embodiment, the microcontroller unit is further used to obtain a target air inlet temperature value when the current state of the electronic device is a sleep state, and the open computing project network card is in place but the smart network card is not in place; compare the target air inlet temperature value with a second preset temperature threshold; when the target air inlet temperature value is less than or equal to the second preset temperature threshold, determine that the fan speed is a third speed, generate a fan control strategy according to the third speed corresponding to the fan, and transmit the fan control strategy to the fan controller.

[0037] In one embodiment, the microcontroller unit is further used to obtain the target temperature value of the air inlet when the current state of the electronic device is a sleep state and the smart network card is in place; compare the target temperature value of the air inlet with a second preset temperature threshold; when the target temperature value of the air inlet is less than or equal to the second preset temperature threshold, determine that the fan speed is a fourth speed, generate a fan control strategy according to the fourth speed corresponding to the fan, and transmit the fan control strategy to the fan controller; wherein the fourth speed is greater than the third speed.

[0038] In one embodiment, the microcontroller unit is further used to calculate a third difference between the target air inlet temperature value and the second preset temperature threshold when the target air inlet temperature value is greater than the second preset temperature threshold; multiply the third difference by a second coefficient to calculate a first speed increase of the fan; update the third speed or the fourth speed according to the first speed increase; update the fan control strategy according to the updated third speed, or update the fan control strategy according to the updated fourth speed; and transmit the updated fan control strategy to the fan controller.

[0039] In one embodiment, the GPIO extender is further configured to detect whether the Open Compute Project network card and the Smart Network Card are present; and transmit the presence of the Open Compute Project network card and the Smart Network Card and the current state of the electronic device to the micro control unit;

[0040] The microcontrol unit is further configured to, when the current state of the electronic device is in the boot process state and when neither the Open Compute Project network card nor the Smart Network Card is in place, determine that the fan speed is a fifth speed, generate a fan control strategy based on the fifth speed, and transmit the fan control strategy to the fan controller.

[0041] In one embodiment, the microcontroller unit is further used to obtain an air inlet target temperature value when the current state of the electronic device is a power-on process state, and the open computing project network card is in place and the smart network card is not in place; compare the air inlet target temperature value with a third preset temperature threshold; when the air inlet target temperature value is less than or equal to the third preset temperature threshold, determine that the fan speed is a sixth speed, generate a fan control strategy according to the sixth speed corresponding to the fan, and transmit the fan control strategy to the fan controller.

[0042] In one embodiment, the microcontroller unit is further used to obtain the target temperature value of the air inlet when the current state of the electronic device is the boot process state and the smart network card is in place; compare the target temperature value of the air inlet with the third preset temperature threshold; when the target temperature value of the air inlet is less than or equal to the third preset temperature threshold, determine that the fan speed is the seventh speed, and generate a fan control strategy according to the seventh speed corresponding to the fan, and transmit the fan control strategy to the fan controller; wherein the seventh speed is greater than the sixth speed.

[0043] In one embodiment, the microcontroller unit is further used to calculate a fourth difference between the target air inlet temperature value and the third preset temperature threshold when the target air inlet temperature value is greater than the third preset temperature threshold; multiply the fourth difference by a third coefficient to calculate a second speed increase of the fan; update the sixth speed or the seventh speed according to the second speed increase; update the fan control strategy according to the updated sixth speed, or update the fan control strategy according to the updated seventh speed; and transmit the updated fan control strategy to the fan controller.

[0044] In a second aspect, the present application provides a server, which includes the temperature control component described in the first aspect and any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] FIG1 is a schematic structural diagram of a temperature control assembly according to an embodiment of the present application;

[0047] FIG2 is a schematic structural diagram of another temperature control assembly according to an embodiment of the present application;

[0048] FIG3 is a schematic structural diagram of another temperature control assembly according to an embodiment of the present application;

[0049] FIG4 is a schematic structural diagram of yet another temperature control assembly according to an embodiment of the present application;

[0050] FIG5 is a schematic structural diagram of yet another temperature control assembly according to an embodiment of the present application. DETAILED DESCRIPTION

[0051] To make the purpose, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of this application.

[0052] Servers generate a significant amount of heat when in operation. Server fans circulate air and dissipate this heat to maintain proper server operation. Typically, the baseboard management controller (BMC) collects temperature information from internal server temperature sensors, formulates a corresponding fan control strategy, and transmits it to the fan controller. The fan controller then outputs a PWM signal to control fan speed. Due to the importance of fan cooling in servers, malfunctioning of the BMC (e.g., during an upgrade, a hang, or a power-on failure) can lead to serious consequences.

[0053] The current focus of the industry is how to achieve high stability and reliability control of fans, accurately and in real time control of fans even when the baseboard management controller malfunctions, while taking into account factors such as cost and ease of implementation.

[0054] In a related technology, the operating status of the baseboard management controller (BMC) is monitored. If a BMC failure or malfunction is detected, the strobe circuit switches on a high-level signal to enable full fan speed operation. However, if the BMC fails, running the fan at full speed will cause excessive noise and increased power consumption. Furthermore, after the BMC fails, server temperature information cannot be obtained, making accurate cooling control impossible.

[0055] In Related Technology 2, when the baseboard management controller is detected to be offline, the controller synchronously obtains the latest fan control strategy from the baseboard management controller via the I2C bus (a bidirectional two-wire synchronous serial bus). The controller controls the rotation status of the fan to be controlled, thereby ensuring normal operation of the server when the baseboard management controller fails. However, if the controller intelligently obtains the fan control strategy when the baseboard management controller fails, it will cause insufficient heat dissipation in the server if the server is subsequently operating at high load, which can lead to server failure in severe cases. In addition, an additional processor is added, which increases server costs.

[0056] In related technology three, when the baseboard management controller is abnormal, the processor is used to obtain the temperature collected by multiple temperature sensors corresponding to each fan and generate a fan control signal; if the processor is abnormal, the baseboard management controller directly sends the fan control signal to the fan to adjust the fan speed. However, an additional processor is added to collect the temperature of multiple temperature sensors and generate fan control signals when the baseboard management controller is abnormal; if the motherboard processor is used, it will take up a lot of motherboard processor resources due to the need to process large amounts of data and complex calculations, and even require the selection of processors to meet the design requirements, thereby increasing costs. In addition, if the processor or baseboard management controller fails at the same time, or if the fan controller that controls the fan fails, there is no good response.

[0057] Based on the above content, it can be seen that the relevant technology cannot achieve high stability and reliability control of the fan, and cannot accurately and real-time control the fan when the baseboard management controller is abnormal.

[0058] Based on the above, as shown in FIG1 , an embodiment of the present application provides a temperature control component, which includes a microcontroller unit 3, a baseboard management controller 1, a processor 2, and a fan controller 4. The microcontroller unit 3, the baseboard management controller 1, and the processor 2 are connected in pairs, and the microcontroller unit 3 is connected to the fan controller 4. That is, the baseboard management controller 1 is indirectly connected to the fan controller 4 through the microcontroller unit 3, wherein:

[0059] Processor 2, configured to detect whether baseboard management controller 1 is in a normal state; when baseboard management controller 1 is in a normal state, controlling baseboard management controller 1 to generate a fan control strategy based on the current state of the electronic device, and transmitting the fan control strategy to fan controller 4; when baseboard management controller 1 is in an abnormal state, controlling microcontroller unit 3 to generate a fan control strategy based on the current state of the electronic device, and transmitting the fan control strategy to fan controller 4;

[0060] The baseboard management controller 1 is used to generate a fan control strategy according to the current state of the electronic device under the control of the processor 2, and transmit the fan control strategy to the fan controller 4;

[0061] The micro control unit 3 is used to generate a fan control strategy according to the current state of the electronic device under the control of the processor 2, and transmit the fan control strategy to the fan controller 4;

[0062] It should be noted that both the baseboard management controller 1 and the micro control unit 3 can formulate fan control strategies and control the fan speed through the fan controller 4;

[0063] The fan controller 4 is configured to receive the fan control strategy transmitted by the baseboard management controller 1 or the micro control unit 3 and control the fan speed based on the fan control strategy to adjust the temperature of the electronic device.

[0064] Specifically, processor 2 can detect in real time whether baseboard management controller 1 is in a normal state based on the communication connection with baseboard management controller 1. When baseboard management controller 1 is in a normal operating state, it controls baseboard management controller 1 to generate a fan control strategy based on the current state of the electronic device. Baseboard management controller 1 then generates a fan control strategy based on the current state of the electronic device and transmits the fan control strategy to fan controller 4.

[0065] In the present application, the processor 2 may be in the form of a field programmable gate array (FPGA) or a hardware board.

[0066] When processor 2 detects that baseboard management controller 1 is in an abnormal state, it controls microcontroller unit 3 to generate a fan control strategy based on the current state of the electronic device. Microcontroller unit 3 is configured to generate a fan control strategy based on the current state of the electronic device and transmit the fan control strategy to fan controller 4.

[0067] The fan controller 4 receives the fan control strategy transmitted by the baseboard management controller 1 or the micro control unit 3 and controls the fan speed based on the fan control strategy to adjust the temperature of the electronic device.

[0068] The temperature control component provided in the embodiment of the present application, the processor 2, is used to detect whether the baseboard management controller 1 is in a normal state, so that the working state of the baseboard management controller 1 can be obtained in real time. When the baseboard management controller 1 is in a normal state, the baseboard management controller 1 is controlled to generate a fan control strategy according to the current state of the electronic device and transmit the fan control strategy to the fan controller 4; when the baseboard management controller 1 is in an abnormal state, the micro-control unit 3 is controlled to generate a fan control strategy according to the current state of the electronic device and transmit the fan control strategy to the fan controller 4; the baseboard management controller 1 is used to generate a fan control strategy according to the current state of the electronic device under the control of the processor 2 and transmit the fan control strategy to the fan controller 4; the micro-control unit 3 is used to generate a fan control strategy according to the current state of the electronic device under the control of the processor 2 and transmit the fan control strategy to the fan controller 4; the fan controller 4 is used to receive the fan control strategy transmitted by the baseboard management controller 1 or the micro-control unit 3, and control the fan speed based on the fan control strategy to adjust the temperature of the electronic device. The temperature control component can be implemented so that when the baseboard management controller 1 is in an abnormal state, the microcontroller unit 3 can take over the work of the baseboard management controller 1, formulate a fan control strategy, and transmit the fan control strategy to the fan controller 4, thereby realizing control of the fan. This avoids the situation where the baseboard management controller 1 is in an abnormal state and the fan control strategy cannot be generated, and thus the fan cannot be controlled, which causes the electronic device to malfunction. In addition, the temperature control component adds the microcontroller unit 3 on the basis of the existing control component of the electronic device, which is low in cost and simple to implement. Therefore, the temperature control component realizes high stability and reliability control of the fan, and can accurately and in real time control the fan even when the baseboard management controller 1 is abnormal, while taking into account factors such as cost and ease of implementation.

[0069] In an optional embodiment of the present application, as shown in FIG2 , the temperature control component further includes a first watchdog timer 5 , which is installed in the baseboard management controller 1 and is in communication with the processor 2 , wherein:

[0070] A first watchdog timer 5, configured to periodically generate a first signal pulse;

[0071] Processor 2 is used to receive the first signal pulse generated by the first watchdog timer 5; detect whether the period of the first signal pulse exceeds the first preset time length, and when the period of the first signal pulse does not exceed the first preset time length, determine that the baseboard management controller 1 is in a normal state.

[0072] The processor 2 is further configured to determine that the baseboard management controller 1 is in an abnormal state when the period of the first signal pulse exceeds a first preset duration.

[0073] Specifically, the baseboard management controller 1 can feed the first watchdog timer 5 on a regular basis. When the baseboard management controller 1 feeds the watchdog on a regular basis, the first watchdog timer 5 can periodically generate a first signal pulse. The processor 2 can receive the first signal pulse generated by the first watchdog timer 5 and detect the first signal pulse. When the baseboard management controller 1 is abnormal and cannot feed the watchdog on a regular basis, the first watchdog timer 5 cannot generate a normal periodic first signal pulse, that is, the period of the first signal pulse will exceed the first preset duration, that is, the processor 2 cannot receive the first signal pulse within the first preset duration. Therefore, the processor 2 can detect whether the period of the first signal pulse exceeds the first preset duration, that is, detect whether the processor 2 can receive the first signal pulse within the first preset duration. When the period of the first signal pulse does not exceed the first preset duration, the processor 2 determines that the baseboard management controller 1 feeds the first watchdog timer 5 on a regular basis, and therefore determines that the baseboard management controller 1 is in a normal state.

[0074] When the period of the first signal pulse exceeds the first preset duration, the processor 2 determines that the baseboard management controller 1 does not feed the first watchdog timer 5 regularly, and therefore determines that the baseboard management controller 1 is in an abnormal state.

[0075] Among them, the first preset duration can be 2S, 3S, or other durations. The embodiment of the present application does not specifically limit the first preset duration.

[0076] The temperature control component provided in the embodiment of the present application further includes a first watchdog timer 5, which is used to periodically generate a first signal pulse; a processor 2, which is used to receive the first signal pulse generated by the first watchdog timer 5; and detect whether the period of the first signal pulse exceeds a first preset duration. When the period of the first signal pulse does not exceed the first preset duration, it is determined that the baseboard management controller 1 is in a normal state. This realizes the real-time detection of the working status of the baseboard management controller, and when the period of the first signal pulse does not exceed the first preset duration, it is determined that the baseboard management controller 1 is in a normal state, thereby ensuring the accuracy of the result that the baseboard management controller 1 is in a normal state. The processor 2 is also used to determine that the baseboard management controller 1 is in an abnormal state when the period of the first signal pulse exceeds the first preset duration, thereby ensuring the accuracy of the result that the baseboard management controller 1 is in an abnormal state.

[0077] In an optional embodiment of the present application, as shown in FIG3 , the temperature control assembly further includes a second watchdog timer 6 , which is installed in the microcontroller unit 3 and is in communication with the processor 2 , wherein:

[0078] A second watchdog timer 6, configured to periodically generate a second signal pulse;

[0079] The micro control unit 3 is used to receive the second signal pulse generated by the second watchdog timer 6 and detect whether the period of the second signal pulse exceeds the second preset time length; when the period of the second signal pulse exceeds the second preset time length, the micro control unit 3 is controlled to restart.

[0080] Specifically, the microcontroller unit 3 can feed the second watchdog timer 6 on a regular basis. When the microcontroller unit 3 feeds the watchdog on a regular basis, the second watchdog timer 6 can periodically generate a second signal pulse. The microcontroller unit 3 can receive the second signal pulse generated by the second watchdog timer 6 and detect the second signal pulse. When the microcontroller unit 3 is abnormal and cannot feed the watchdog on a regular basis, the second watchdog timer 6 cannot generate a normal periodic second signal pulse, that is, the period of the second signal pulse will exceed the second preset duration, that is, the microcontroller unit 3 cannot receive the second signal pulse within the second preset duration. Therefore, the microcontroller unit 3 can detect whether the period of the second signal pulse exceeds the second preset duration, that is, detect whether the microcontroller unit 3 can receive the second signal pulse within the second preset duration. When the period of the second signal pulse exceeds the second preset duration, the microcontroller unit 3 determines that the microcontroller unit 3 has not fed the watchdog on a regular basis. In order to ensure the high reliability of the microcontroller unit 3, the microcontroller unit 3 can control itself to restart. In the embodiment of the present application, before the processor 2 controls the micro control unit 3 to restart, the micro control unit 3 can control itself to restart, thereby achieving dual monitoring of the micro control unit 3 and ensuring high availability of the micro control unit 3.

[0081] The second preset duration may be 0.5s, 0.4s, or other durations. The embodiment of the present application does not specifically limit the second preset duration.

[0082] In one embodiment, the processor 2 is used to receive a second signal pulse generated by a second watchdog timer 6; when detecting whether the period of the second signal pulse exceeds a third preset duration, when the period of the second signal pulse does not exceed the third preset duration, it is determined that the micro control unit 3 is in a normal state; wherein the third preset duration is greater than the second preset duration.

[0083] The processor 2 is further configured to, when the period of the second signal pulse exceeds a third preset time length, determine that the micro control unit 3 has failed to self-control and restart, and control the micro control unit 3 to restart.

[0084] Specifically, the micro-control unit 3 can feed the second watchdog timer 6 on a regular basis. When the micro-control unit 3 feeds the watchdog on a regular basis, the second watchdog timer 6 can periodically generate a second signal pulse. The processor 2 can receive the second signal pulse generated by the second watchdog timer 6 and detect the second signal pulse. When the micro-control unit 3 is abnormal and cannot feed the watchdog periodically, the second watchdog timer 6 cannot generate a normal periodic second signal pulse, that is, the period of the second signal pulse will exceed the third preset duration, that is, the micro-control unit 3 cannot receive the second signal pulse within the third preset duration. Therefore, the processor 2 can detect whether the period of the second signal pulse exceeds the third preset duration, that is, detect whether the micro-control unit 3 can receive the second signal pulse within the third preset duration.

[0085] When the period of the second signal pulse does not exceed the third preset time length, the processor 2 determines that the micro control unit 3 feeds the dog on time and determines that the micro control unit 3 is in a normal state.

[0086] When the period of the second signal pulse exceeds the third preset time length, the processor 2 determines that the micro control unit 3 does not feed the dog on time, the processor 2 determines that the micro control unit 3 is in an abnormal state, and the micro control unit 3 fails to restart by self-control. In order to ensure the high reliability of the micro control unit 3, the processor 2 can control the micro control unit 3 to restart.

[0087] The third preset duration may be 2 seconds, 3 seconds, or other durations. The third preset duration is not specifically limited in the present embodiment.

[0088] The temperature control component provided in the embodiment of the present application also includes a second watchdog timer 6, which is used to periodically generate a second signal pulse; a micro control unit 3, which is used to receive the second signal pulse generated by the second watchdog timer 6 and detect whether the period of the second signal pulse exceeds the second preset time length; when the period of the second signal pulse exceeds the second preset time length, the micro control unit 3 is controlled to restart, thereby improving the operating reliability of the micro control unit 3 and avoiding the inability to control the fan due to the micro control unit 3 being in an abnormal state, thereby causing the electronic device to malfunction.

[0089] In addition, processor 2 is configured to receive a second signal pulse generated by a second watchdog timer 6 and detect whether the period of the second signal pulse exceeds a third preset duration. When the period of the second signal pulse does not exceed the third preset duration, processor 2 determines that the microcontroller unit 3 is in a normal state. This enables processor 2 to detect the operating status of the microcontroller unit 3 in real time. When the period of the second signal pulse does not exceed the third preset duration, processor 2 determines that the microcontroller unit 3 is in a normal state, thereby ensuring the accuracy of the determination that the microcontroller unit 3 is in a normal state. Processor 2 is also configured to determine that the self-control restart of the microcontroller unit 3 has failed when the period of the second signal pulse exceeds the third preset duration, and to control microcontroller unit 3 to restart, thereby further improving the reliability of microcontroller unit 3.

[0090] In an optional embodiment of the present application, as shown in FIG4 , the temperature control assembly further includes a multiplexer 7 and at least one group of temperature sensors 8 . The first end of the multiplexer 7 is connected to each group of temperature sensors 8 , and the second end is connected to the baseboard management controller 1 and the processor 2 . The second end of the multiplexer 7 is also connected to the microcontroller unit 3 . Each group of temperature sensors 8 includes at least one temperature sensor 8 , wherein:

[0091] Each group of temperature sensors 8 is used to measure the initial temperature values ​​corresponding to different components in the electronic device;

[0092] Processor 2 is used to control the connection between the baseboard management controller 1 and each group of temperature sensors 8 based on the multiplexer 7 when the baseboard management controller 1 is in a normal state, so that the baseboard management controller 1 obtains the initial temperature value transmitted by each group of temperature sensors 8 under preset conditions, calculates the target temperature value based on the initial temperature value, generates a fan control strategy according to the target temperature value, and transmits the fan control strategy to the fan controller 4.

[0093] The processor 2 is used to control the microcontroller unit 3 to connect with each group of temperature sensors 8 based on the multiplexer 7 when the baseboard management controller 1 is in an abnormal state, so that the microcontroller unit 3 obtains the initial temperature value transmitted by each group of temperature sensors 8 under preset conditions, calculates the target temperature value based on the initial temperature value, generates a fan control strategy according to the target temperature value, and transmits the fan control strategy to the fan controller 4.

[0094] Specifically, each group of temperature sensors 8 is used to measure initial temperature values ​​corresponding to different components in the electronic device. That is, when a group of temperature sensors 8 includes only one temperature sensor 8, one initial temperature value corresponding to a component in the electronic device can be acquired. When a group of temperature sensors 8 includes at least two temperature sensors 8, at least two initial temperature values ​​corresponding to a component in the electronic device can be acquired.

[0095] When the baseboard management controller 1 is in a normal state, the processor 2 controls the multiplexer 7 through the Select signal to connect the baseboard management controller 1 to each group of temperature sensors 8, so that the microcontroller unit 3 obtains the initial temperature value transmitted by each group of temperature sensors 8 under preset conditions. When the initial temperature value is a single value, the initial temperature value is determined as the target temperature value. When the initial temperature value is at least two values, the average value corresponding to each initial temperature value is calculated, and the calculated average value is determined as the target temperature value. Then, the baseboard management controller 1 can generate a fan control strategy based on the target temperature value and transmit the fan control strategy to the fan controller 4.

[0096] When the baseboard management controller 1 is in an abnormal state, the processor 2 controls the multiplexer 7 through the Select signal to switch the acquisition channel of each group of temperature sensors 8 to the micro control unit 3, so that the micro control unit 3 is connected to each group of temperature sensors 8, and then obtains the initial temperature values ​​corresponding to different components in the electronic device collected by the temperature sensor 8. When the initial temperature value is a single value, the initial temperature value is determined as the target temperature value. When the initial temperature value is at least two values, the average value corresponding to each initial temperature value is calculated, and the calculated average value is determined as the target temperature value. Then, the micro control unit 3 can generate a fan control strategy based on the target temperature value and transmit the fan control strategy to the fan controller 4.

[0097] The temperature control assembly provided in the embodiment of the present application further includes a multiplexer 7 and at least one group of temperature sensors 8. Each group of temperature sensors 8 is used to measure the initial temperature values ​​corresponding to different components in the electronic device, thereby ensuring the accuracy of the initial temperature values ​​corresponding to different components in the electronic device. The processor 2 is used to control the connection between the baseboard management controller 1 and each group of temperature sensors 8 based on the multiplexer 7 when the baseboard management controller 1 is in a normal state, so that the baseboard management controller 1 obtains the initial temperature values ​​transmitted by each group of temperature sensors 8 under preset conditions, calculates the target temperature values ​​based on the initial temperature values, generates a fan control strategy based on the target temperature values, and transmits the fan control strategy to the fan controller 4. The accuracy of the fan control strategy generated by the baseboard management controller 1 is ensured, thereby enabling the fan controller 4 to control the fans based on the received fan control strategy. The other end of the multiplexer 7 is also connected to the microcontroller unit 3. The processor 2 is configured to, when the baseboard management controller 1 is in an abnormal state, control the microcontroller unit 3 to connect to each group of temperature sensors 8 based on the multiplexer 7. This allows the microcontroller unit 3 to obtain the initial temperature values ​​transmitted by each group of temperature sensors 8 under preset conditions, calculate target temperature values ​​based on the initial temperature values, generate a fan control strategy based on the target temperature values, and transmit the fan control strategy to the fan controller 4. This ensures that, when the baseboard management controller 1 is in an abnormal state, the microcontroller unit 3 can obtain the target temperature values ​​transmitted by each group of temperature sensors 8 and generate a fan control strategy based on the initial temperature values, while ensuring the accuracy of the generated fan control strategy. This allows the fan controller 4 to control the fans based on the received fan control strategy.

[0098] In an optional embodiment of the present application, the preset condition is that the current state of the electronic device is a normal working state. As shown in FIG5 , the temperature control component further includes a universal input and output expander 9, and the micro control unit 3 is connected to the universal input and output expander 9, wherein:

[0099] The universal input and output expander 9 is used to obtain the current state of the electronic device and transmit the current state of the electronic device to the micro control unit 3;

[0100] The microcontroller unit 3 is used to receive the current state of the electronic device; when the current state of the electronic device is a normal working state, the microcontroller unit 3 obtains the initial temperature values ​​transmitted by each group of temperature sensors 8, calculates the target temperature values ​​based on the initial temperature values, and determines whether there is at least one target temperature value exceeding the first preset temperature threshold; generates a fan control strategy based on the judgment result, and transmits the fan control strategy to the fan controller 4.

[0101] In one case, the micro control unit 3 is used to generate a fan control strategy when there is no target temperature value exceeding the first preset temperature threshold, and transmit the fan control strategy to the fan controller 4, where the fan control strategy is used to indicate that the fan is controlled not to rotate.

[0102] In another case, the microcontroller unit 3 is used to determine the number of target temperature values ​​that exceed the first preset temperature threshold when there is a target temperature value that exceeds the first preset temperature threshold; generate a fan control strategy based on the number of target temperature values ​​that exceed the first preset temperature threshold; and transmit the fan control strategy to the fan controller 4.

[0103] Specifically, the microcontroller unit 3 is used to calculate the first difference between the target temperature value exceeding the first preset temperature threshold and the first preset temperature threshold when the number corresponding to the target temperature value exceeding the first preset temperature threshold is one; use the first difference multiplied by the first coefficient to calculate the first speed corresponding to the fan; and generate a fan control strategy based on the first speed corresponding to the fan, and transmit the fan control strategy to the fan controller 4.

[0104] Specifically, the microcontroller unit 3 is used to compare the sizes of each group of target temperature values ​​exceeding the first preset temperature threshold when the number corresponding to the target temperature values ​​exceeding the first preset temperature threshold is greater than one, and determine the maximum target temperature value from the target temperature values ​​exceeding the first preset temperature threshold; calculate the second difference between the maximum target temperature value and the first preset temperature threshold; use the second difference multiplied by the first coefficient to calculate the second speed corresponding to the fan; and generate a fan control strategy according to the second speed corresponding to the fan, and transmit the fan control strategy to the fan controller 4.

[0105] Specifically, the microcontroller unit 3 can obtain the current state of the electronic device transmitted by the universal input and output expander 9 based on the connection with the universal input and output expander 9. When the current state of the electronic device is a normal working state, the microcontroller unit 3 can obtain the initial temperature value transmitted by each group of temperature sensors 8. When the initial temperature value is a single value, the initial temperature value is determined as the target temperature value. When the initial temperature value is at least two values, the average value corresponding to each initial temperature value is calculated, and the calculated average value is determined as the target temperature value. Then, the microcontroller unit 3 can compare the target temperature value corresponding to each group of temperature sensors 8 with the first preset temperature threshold value. Determine whether there is at least one target temperature value that exceeds the first preset temperature threshold value.

[0106] If no target temperature value exceeds the first preset temperature threshold, the micro-control unit 3 determines that the temperature of the components of the electronic device is normal and that the fan does not need to be turned on for cooling. Therefore, the micro-control unit 3 generates a fan control strategy and transmits the fan control strategy to the fan controller 4. The fan control strategy is used to indicate that the fan is not rotating.

[0107] When a target temperature value exceeds a first preset temperature threshold, the electronic device determines the number of target temperature values ​​exceeding the first preset temperature threshold. When the number of target temperature values ​​exceeding the first preset temperature threshold is one, the microcontroller unit 3 calculates a first difference between the target temperature value exceeding the first preset temperature threshold and the first preset temperature threshold; and multiplies the first difference by a first coefficient to calculate a corresponding first speed of the fan.

[0108] For example, assuming that the target temperature value corresponding to each group of temperature sensors 8 is T and the fan speed is V, the heat dissipation logic can be expressed as: V = k·(TT threshold Here, k is the first coefficient, representing the fan's response speed to temperature; Tthreshold is the first preset temperature threshold, which is the temperature above which the fan starts to operate. As can be seen from this function, as the temperature rises, the fan speed increases accordingly; conversely, when the temperature drops, the fan speed decreases accordingly.

[0109] Then, the micro control unit 3 generates a fan control strategy according to the first rotation speed corresponding to the fan, and transmits the fan control strategy to the fan controller 4 .

[0110] When the number of target temperature values ​​exceeding the first preset temperature threshold is greater than one, the sizes of the target temperature values ​​of each group exceeding the first preset temperature threshold are compared, and the maximum target temperature value is determined from the target temperature values ​​exceeding the first preset temperature threshold; the second difference between the maximum target temperature value and the first preset temperature threshold is calculated; the second speed corresponding to the fan is calculated by multiplying the second difference by the first coefficient; and a fan control strategy is generated according to the second speed corresponding to the fan, and the fan control strategy is transmitted to the fan controller 4.

[0111] When all target temperature values ​​are greater than the first preset temperature threshold, the micro control unit 3 determines that the current temperature of the electronic device is too high. Therefore, the fan speed is determined to be the maximum fan speed, and a fan control strategy is generated based on the maximum fan speed, and the fan control strategy is transmitted to the fan controller 4.

[0112] The temperature control assembly provided in the embodiment of the present application further includes a universal input / output expander 9, which is used to obtain the current state of the electronic device and transmit the current state of the electronic device to the microcontroller unit 3, so that the microcontroller unit 3 can receive the current state of the electronic device. The microcontroller unit 3 is used to receive the current state of the electronic device; when the current state of the electronic device is a normal working state, obtain the initial temperature values ​​transmitted by each group of temperature sensors 8, calculate the target temperature values ​​based on the initial temperature values, and determine whether there is at least one target temperature value exceeding a first preset temperature threshold; if no target temperature value exceeds the first preset temperature threshold, generate a fan control strategy and transmit the fan control strategy to the fan controller 4, thereby ensuring the accuracy of the generated fan control strategy. The microcontroller unit 3 is used to determine the number of target temperature values ​​exceeding the first preset temperature threshold when there is a target temperature value exceeding the first preset temperature threshold; if the number of target temperature values ​​exceeding the first preset temperature threshold is one, calculate a first difference between the target temperature value exceeding the first preset temperature threshold and the first preset temperature threshold, thereby ensuring the accuracy of the calculated first difference. The first speed corresponding to the fan is calculated by multiplying the first difference by the first coefficient, thereby ensuring the accuracy of the calculated first speed; a fan control strategy is generated based on the first speed corresponding to the fan, and the fan control strategy is transmitted to the fan controller 4. When the number of target temperature values ​​that exceed the first preset temperature threshold is greater than one, the sizes of the target temperature values ​​of each group that exceed the first preset temperature threshold are compared, and the maximum target temperature value is determined from the target temperature values ​​that exceed the first preset temperature threshold, thereby ensuring the accuracy of the determined maximum target temperature value. The second difference between the maximum target temperature value and the first preset temperature threshold is calculated, thereby ensuring the accuracy of the calculated second difference; the second speed corresponding to the fan is calculated by multiplying the second difference by the first coefficient, thereby ensuring the accuracy of the calculated second speed. A fan control strategy is generated based on the second speed corresponding to the fan, and the fan control strategy is transmitted to the fan controller 4. The accuracy of the generated fan control strategy is ensured, thereby ensuring the accuracy of the fan controller 4 controlling the fan based on the fan control strategy.

[0113] In an optional embodiment of the present application, the universal input and output expander 9 is further configured to detect whether the Open Compute Project network card and the Smart Network Card are in place; and transmit the presence of the Open Compute Project network card and the Smart Network Card and the current state of the electronic device to the micro control unit 3;

[0114] The microcontroller unit 3 is further configured to generate a fan control strategy when the current state of the electronic device is a sleep state and neither the Open Compute Project network card nor the Smart Network Card is in place, and transmit the fan control strategy to the fan controller 4. The fan control strategy is configured to indicate that the fan is not rotating.

[0115] The Open Compute Project network card can be an OCP network card. The Open Compute Project (OCP) is a Facebook initiative aimed at sharing more efficient server and data center designs with the general IT industry. OCP network cards are a type of server network card that supports a variety of port rates and features, such as PXE / UEFI, DPDK, and iSCSI. OCP network cards are OCP 3.0 series network cards based on the Intel E810 master controller and are developed and manufactured by LR-LINK, a professional Ethernet card solutions provider.

[0116] Specifically, the microcontroller unit 3 can obtain the current state of the electronic device and whether the Open Compute Project network card and the smart network card are in place based on the universal input and output expander 9. When the current state of the electronic device is the sleep state, and the Open Compute Project network card and the smart network card are not in place, the electronic device will usually only maintain the basic power supply to the memory to prevent the data in the memory from being lost. The power supply to some devices such as the CPU and hard disk will be cut off, so that the CPU will not work and will not generate heat, and there is no need for the fan to rotate for heat dissipation. Therefore, the microcontroller unit 3 determines that the current fan speed is zero, the microcontroller unit 3 generates a fan control strategy, and transmits the fan control strategy to the fan controller 4. The fan control strategy is used to indicate that the fan is not rotating.

[0117] The microcontrol unit 3 is also used to obtain the target temperature value of the air inlet when the current state of the electronic device is the sleep state, and the open computing project network card is in place and the smart network card is not in place; compare the target temperature value of the air inlet with the second preset temperature threshold; when the target temperature value of the air inlet is less than or equal to the second preset temperature threshold, determine that the fan speed is a third speed, generate a fan control strategy according to the third speed corresponding to the fan, and transmit the fan control strategy to the fan controller 4.

[0118] Specifically, when the electronic device is currently in sleep mode, and the Open Compute Project network card is in place but the Smart Network Card is not, the microcontroller unit 3 obtains a target inlet temperature value based on the target temperature sensor at the air inlet. The microcontroller unit 3 then compares the target inlet temperature value with a second preset temperature threshold. When the target inlet temperature value is less than or equal to the second preset temperature threshold, the fan speed is determined to be a third speed, and a fan control policy is generated based on the third fan speed. The fan control policy is then transmitted to the fan controller 4.

[0119] The third speed may be a specific speed value or a percentage of the maximum speed of the fan. The embodiment of the present application does not specifically limit the form of the third speed.

[0120] For example, assuming that the second preset temperature threshold is 25°C, when the target temperature value of the air inlet is less than or equal to 25°C, the micro control unit 3 can determine that the fan speed is 30% to 40% of the maximum speed, thereby generating a fan control strategy and transmitting the fan control strategy to the fan controller 4.

[0121] The microcontroller unit 3 is also used to obtain the target temperature value of the air inlet when the current state of the electronic device is the sleep state and the intelligent network card is in place; compare the target temperature value of the air inlet with the second preset temperature threshold; when the target temperature value of the air inlet is less than or equal to the second preset temperature threshold, determine that the fan speed is a fourth speed, and generate a fan control strategy according to the fourth speed corresponding to the fan, and transmit the fan control strategy to the fan controller 4; wherein the fourth speed is greater than the third speed.

[0122] Specifically, when the electronic device is currently in sleep mode and the Smart NIC is in place, regardless of whether the Open Compute Project NIC is in place, the MCU 3 obtains a target inlet temperature value based on the target temperature sensor at the air inlet. The target inlet temperature value is then compared with a second preset temperature threshold. When the target inlet temperature value is less than or equal to the second preset temperature threshold, the fan speed is determined to be a fourth speed, a fan control policy is generated based on the fourth fan speed, and the fan control policy is transmitted to the fan controller 4.

[0123] Among them, the fourth speed is greater than the third speed. The fourth speed can be a specific speed value or a percentage of the maximum speed of the fan. The embodiment of the present application does not specifically limit the form of the third speed.

[0124] For example, assuming that the second preset temperature threshold is 25°C, when the target temperature value of the air inlet is less than or equal to 25°C, the micro control unit 3 can determine that the fan speed is 50% to 60% of the maximum speed, thereby generating a fan control strategy and transmitting the fan control strategy to the fan controller 4.

[0125] The microcontrol unit 3 is also used to calculate a third difference between the target temperature value of the air inlet and the second preset temperature threshold when the target temperature value of the air inlet is greater than the second preset temperature threshold; multiply the third difference by the second coefficient to calculate the first speed increase of the fan; update the third speed or the fourth speed according to the first speed increase; update the fan control strategy according to the updated third speed, or update the fan control strategy according to the updated fourth speed; and send the updated fan control strategy to the fan controller 4.

[0126] Specifically, the fan speed is positively correlated with the target inlet temperature. When the target inlet temperature exceeds the second preset temperature threshold, the microcontroller unit 3 can calculate a third difference between the target inlet temperature and the second preset temperature threshold; and multiply the third difference by the second coefficient to calculate the first fan speed increase.

[0127] When the current state of the electronic device is sleep mode, and when the Open Compute Project network card is in place and the Smart Network Card is not in place, the micro control unit 3 adds the first speed increment to the third speed to obtain an updated third speed, and updates the fan control strategy according to the updated third speed.

[0128] When the current state of the electronic device is sleep mode and the smart network card is in place, regardless of whether the Open Compute Project network card is in place, the micro control unit 3 adds the first speed increase to the fourth speed to obtain an updated fourth speed, and updates the fan control strategy according to the updated fourth speed.

[0129] Exemplarily, exemplary, V=K2*(T-T1), wherein V is the third rotational speed, T is the target temperature value of the air inlet, T1 is the second preset temperature threshold, and K2 is the second coefficient.

[0130] Assume that the second preset temperature threshold is 25°C and K2 is 2. When the target air inlet temperature value varies between 25°C and 40°C, the third speed generally needs to be increased by 10% for every 5°C increase in the target air inlet temperature value T.

[0131] The temperature control component, GPIO expander 9, provided in an embodiment of the present application, is further configured to detect the presence of the Open Compute Project network card and the Smart Network Card, and transmit the presence of the Open Compute Project network card and the Smart Network Card, as well as the current state of the electronic device, to the microcontroller unit 3, thereby enabling the microcontroller unit 3 to receive the presence of the Open Compute Project network card and the Smart Network Card, as well as the current state of the electronic device. The microcontroller unit 3 is further configured to generate a fan control policy when the electronic device is currently in sleep mode and neither the Open Compute Project network card nor the Smart Network Card is present, and transmit the fan control policy to the fan controller, thereby ensuring the accuracy of the generated fan control policy and, in turn, ensuring the accuracy of the fan control performed by the fan controller 4 based on the fan control policy.

[0132] The microcontrol unit 3 is further configured to, when the electronic device is currently in a sleep state and the Open Compute Project network card is in place but the Smart Network Card is not, obtain an air inlet target temperature value; compare the air inlet target temperature value with a second preset temperature threshold; and when the air inlet target temperature value is less than or equal to the second preset temperature threshold, determine the fan speed to be a third speed, thereby ensuring the accuracy of the fan speed determined to be the third speed. A fan control policy is generated based on the third speed corresponding to the fan, and the fan control policy is transmitted to the fan controller 4. The accuracy of the generated fan control policy is ensured, thereby ensuring the accuracy of the fan controller 4 controlling the fan based on the fan control policy. When the electronic device is currently in a sleep state and the Smart Network Card is in place, obtain an air inlet target temperature value; compare the air inlet target temperature value with the second preset temperature threshold; and when the air inlet target temperature value is less than or equal to the second preset temperature threshold, determine the fan speed to be a fourth speed, generate a fan control policy based on the fourth speed corresponding to the fan, and transmit the fan control policy to the fan controller 4; wherein the fourth speed is greater than the third speed. The accuracy of the generated fan control strategy is ensured, and thus the accuracy of the fan controller 4 controlling the fan based on the fan control strategy can be ensured.

[0133] The microcontrol unit 3 is further configured to, when the target air inlet temperature value is greater than the second preset temperature threshold, calculate a third difference between the target air inlet temperature value and the second preset temperature threshold value; multiply the third difference by a second coefficient to calculate a first fan speed increase; update a third speed or a fourth speed based on the first speed increase; update a fan control strategy based on the updated third speed or based on the updated fourth speed; and transmit the updated fan control strategy to the fan controller 4. This ensures the accuracy of the updated fan control strategy.

[0134] In an optional embodiment of the present application, the universal input and output expander 9 is further configured to detect whether the Open Compute Project network card and the Smart Network Card are in place; and transmit the presence of the Open Compute Project network card and the Smart Network Card and the current state of the electronic device to the micro control unit 3;

[0135] The microcontroller unit 3 is further configured to, when the current state of the electronic device is in the boot process state and when neither the Open Compute Project network card nor the Smart Network Card is in place, determine that the fan speed is the fifth speed, generate a fan control strategy based on the fifth speed, and transmit the fan control strategy to the fan controller 4.

[0136] Specifically, the MCU 3 can obtain the current state of the electronic device and the presence of the Open Compute Project network card and the Smart NIC based on the GPIO expander 9. When the electronic device is currently in the boot process and neither the Open Compute Project network card nor the Smart NIC is present, the MCU 3 determines that the current fan speed is the fifth speed. The MCU 3 generates a fan control policy based on the fifth speed and transmits the sixth third fan control policy to the fan controller 4.

[0137] The fifth speed may be a specific speed value or a percentage of the maximum speed of the fan. The embodiment of the present application does not specifically limit the form of the fifth speed.

[0138] Illustratively, the fifth rotation speed may be a rotation speed of the fan that is 20% to 30% of the maximum rotation speed.

[0139] The microcontrol unit 3 is also used to obtain the target temperature value of the air inlet when the current state of the electronic device is the boot process state, and the open computing project network card is in place and the smart network card is not in place; compare the target temperature value of the air inlet with the third preset temperature threshold; when the target temperature value of the air inlet is less than or equal to the third preset temperature threshold, determine that the fan speed is the sixth speed, generate a fan control strategy according to the sixth speed corresponding to the fan, and transmit the fan control strategy to the fan controller 4.

[0140] Specifically, when the current state of the electronic device is the boot process state, the baseboard management controller 1 has not been activated, and the micro control unit 3 performs self-service heat dissipation control, it is also necessary to consider whether key heat dissipation components such as the open computing project network card and the smart network card are in place. Therefore, when the current state of the electronic device is the boot process state, and when the open computing project network card is in place and the smart network card is not in place, the micro control unit 3 obtains the target temperature value of the air inlet based on the target temperature sensor at the air inlet. The target temperature value of the air inlet is then compared with the third preset temperature threshold; when the target temperature value of the air inlet is less than or equal to the third preset temperature threshold, the fan speed is determined to be the sixth speed, and a fan control strategy is generated according to the sixth speed corresponding to the fan, and the fan control strategy is transmitted to the fan controller 4.

[0141] The third preset temperature threshold and the second preset temperature threshold may be the same or different, and this embodiment of the present application does not specifically limit this.

[0142] For example, assuming that the third preset temperature threshold is 25°C, when the target temperature value of the air inlet is less than or equal to 25°C, the micro control unit 3 can determine that the fan speed is 40% to 50% of the maximum speed, thereby generating a fan control strategy and transmitting the fan control strategy to the fan controller 4.

[0143] The microcontroller unit 3 is also used to obtain the target temperature value of the air inlet when the current state of the electronic device is the power-on process state and the intelligent network card is in place; compare the target temperature value of the air inlet with the third preset temperature threshold; when the target temperature value of the air inlet is less than or equal to the third preset temperature threshold, determine that the fan speed is the seventh speed, and generate a fan control strategy according to the seventh speed corresponding to the fan, and transmit the fan control strategy to the fan controller 4.

[0144] Among them, the seventh speed is greater than the sixth speed.

[0145] Specifically, when the electronic device is currently in the boot-up state and the Smart NIC is in place, regardless of whether the Open Compute Project NIC is in place, the MCU 3 obtains the target inlet temperature value from the target temperature sensor at the air inlet. The target inlet temperature value is then compared with a third preset temperature threshold. When the target inlet temperature value is less than or equal to the third preset temperature threshold, the fan speed is determined to be the seventh speed, a fan control policy is generated based on the fan's seventh speed, and the fan control policy is transmitted to the fan controller 4.

[0146] For example, assuming that the third preset temperature threshold is 25°C, when the target temperature value of the air inlet is less than or equal to 25°C, the micro control unit 3 can determine that the fan speed is 50% to 60% of the maximum speed, thereby generating a fan control strategy and transmitting the fan control strategy to the fan controller 4.

[0147] The microcontrol unit 3 is also used to calculate the fourth difference between the target temperature value of the air inlet and the third preset temperature threshold when the target temperature value of the air inlet is greater than the third preset temperature threshold; multiply the fourth difference by the third coefficient to calculate the second speed increase of the fan; update the sixth speed or the seventh speed according to the second speed increase; update the fan control strategy according to the updated sixth speed, or update the fan control strategy according to the updated seventh speed; and send the updated fan control strategy to the fan controller 4.

[0148] Specifically, the fan speed is also positively correlated with the target inlet temperature. When the target inlet temperature is greater than a third preset temperature threshold, the microcontroller unit 3 can calculate a fourth difference between the target inlet temperature and the third preset temperature threshold; and multiply the fourth difference by a third coefficient to calculate the second fan speed increase. When the electronic device is currently in the power-on state, and the Open Compute Project network card is in place but the Smart Network Card is not, the microcontroller unit 3 adds the second speed increase to the sixth speed to obtain an updated sixth speed, and updates the fan control strategy based on the updated sixth speed.

[0149] When the current state of the electronic device is the boot process state and the smart network card is in place, regardless of whether the Open Compute Project network card is in place, the micro control unit 3 adds the second speed increment to the seventh speed to obtain an updated seventh speed, and updates the fan control strategy based on the updated seventh speed.

[0150] For example, for example, V=K3*(T-T2), wherein V is the sixth speed or the seventh speed, T is the target temperature value of the air inlet, T2 is the third preset temperature threshold, and K3 is the third coefficient.

[0151] Assume that the third preset temperature threshold is 25°C and K3 is 2. When the target air inlet temperature value varies between 25°C and 40°C, the sixth speed or the seventh speed generally needs to be increased by 10% for every 5°C increase in the target air inlet temperature value T.

[0152] The temperature control component provided in the embodiment of the present application, the universal input and output expander 9, is also used to detect whether the open computing project network card and the smart network card are in place; and transmit the presence of the open computing project network card and the smart network card and the current state of the electronic device to the micro control unit 3, so that the micro control unit 3 can receive the presence of the open computing project network card and the smart network card and the current state of the electronic device. The micro control unit 3 is also used to determine that the fan speed is the fifth speed when the current state of the electronic device is in the boot process state, and when the open computing project network card and the smart network card are not in place, thereby ensuring the accuracy of the determined fifth speed. Based on the fifth speed, a fan control strategy is generated and transmitted to the fan controller 4. The accuracy of the generated fan control strategy is guaranteed, and thus the accuracy of the fan controller 4 controlling the fan based on the fan control strategy can be guaranteed.

[0153] When the electronic device is currently in the power-on state, the Open Compute Project network card is in place, and the Smart Network Card is not in place, the target air inlet temperature value is obtained; the target air inlet temperature value is compared with a third preset temperature threshold; when the target air inlet temperature value is less than or equal to the third preset temperature threshold, the fan speed is determined to be a sixth speed, thereby ensuring the accuracy of the determined sixth speed. A fan control policy is generated based on the sixth speed corresponding to the fan, and the fan control policy is transmitted to fan controller 4. This ensures the accuracy of the generated fan control policy, thereby ensuring the accuracy of fan control by fan controller 4 based on the fan control policy.

[0154] When the electronic device is currently in the power-on state and the intelligent network card is in place, the target air inlet temperature value is obtained; the target air inlet temperature value is compared with a third preset temperature threshold; when the target air inlet temperature value is less than or equal to the third preset temperature threshold, the fan speed is determined to be the seventh speed, thereby ensuring the accuracy of the determined seventh speed. A fan control policy is generated based on the seventh speed corresponding to the fan, and the fan control policy is transmitted to the fan controller 4; the seventh speed is greater than the sixth speed. This ensures the accuracy of the generated fan control policy, thereby ensuring the accuracy of the fan control performed by the fan controller 4 based on the fan control policy.

[0155] When the target air inlet temperature value is greater than the third preset temperature threshold, a fourth difference between the target air inlet temperature value and the third preset temperature threshold is calculated; thereby ensuring the accuracy of the calculated fourth difference. The fourth difference is multiplied by the third coefficient to calculate the second fan speed increase, thereby ensuring the accuracy of the calculated second speed increase. Based on the second speed increase, the sixth speed or the seventh speed is updated, thereby ensuring the accuracy of the update of the sixth speed or the seventh speed. The fan control strategy is updated based on the updated sixth speed, or based on the updated seventh speed; the updated fan control strategy is transmitted to the fan controller 4. Thus, the accuracy of the update of the fan control strategy is ensured.

[0156] It should be noted that the method by which the baseboard management controller 1 generates a fan control strategy based on the current state of the electronic device is the same as the method by which the micro control unit 3 generates a fan control strategy based on the current state of the electronic device, and will not be described in detail here.

[0157] An embodiment of the present application also provides a server, which includes the temperature control component introduced in any of the above embodiments.

[0158] Although the embodiments of the present application have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations shall fall within the scope defined by the appended claims.

Claims

1. A temperature control component, characterized in that, The temperature control component includes a micro-control unit, a baseboard management controller, a processor, and a fan controller. Any two of the micro-control unit, the baseboard management controller, and the processor are interconnected, and the micro-control unit is connected to the fan controller, where: The processor is configured to detect whether the baseboard management controller is in a normal state; when the baseboard management controller is in a normal state, control the baseboard management controller to generate a fan control strategy and transmit the fan control strategy to the fan controller; when the baseboard management controller is in an abnormal state, control the micro-control unit to generate a fan control strategy and transmit the fan control strategy to the fan controller; The fan controller is configured to receive the fan control strategy transmitted by the baseboard management controller or the micro-control unit and control the fan speed based on the fan control strategy.

2. The temperature control component according to claim 1, characterized in that The temperature control component further includes a first watchdog timer, which is installed in the baseboard management controller and communicatively connected to the processor, where: The first watchdog timer is configured to periodically generate a first signal pulse; The processor is configured to receive the first signal pulse generated by the first watchdog timer; detect whether the period of the first signal pulse exceeds a first preset duration. When the period of the first signal pulse does not exceed the first preset duration, determine that the baseboard management controller is in a normal state.

3. The temperature control component according to claim 2, wherein The processor is further configured to, when the period of the first signal pulse exceeds the first preset duration, determine that the baseboard management controller is in an abnormal state.

4. The temperature control component according to claim 1, characterized in that The temperature control component further includes a second watchdog timer, which is installed in the micro-control unit and communicatively connected to the processor, where: The second watchdog timer is configured to periodically generate a second signal pulse; The micro-control unit is configured to receive the second signal pulse generated by the second watchdog timer, detect whether the period of the second signal pulse exceeds a second preset duration; when the period of the second signal pulse exceeds the second preset duration, control the micro-control unit to restart.

5. The temperature control component according to claim 4, characterized in that, The processor is configured to receive the second signal pulse generated by the second watchdog timer; detect whether the period of the second signal pulse exceeds a third preset duration. When the period of the second signal pulse does not exceed the third preset duration, determine that the micro-control unit is in a normal state; where the third preset duration is greater than the second preset duration.

6. The temperature control component according to claim 5, characterized in that, The processor is further configured to, when the period of the second signal pulse exceeds the third preset duration, determine that the self-control restart of the micro-control unit fails and control the micro-control unit to restart.

7. The temperature control component according to claim 1, characterized in that, The temperature control component further includes a multiplexer and at least one group of temperature sensors. The first end of the multiplexer is connected to each group of the temperature sensors, and the second end is connected to the baseboard management controller and the processor. Each group of the temperature sensors includes at least one of the temperature sensors, where: Each group of the temperature sensors is used to measure the initial temperature values corresponding to different components in the electronic device; The processor is configured to, when the baseboard management controller is in a normal state, based on the multiplexer, control the baseboard management controller to be connected to each group of the temperature sensors, so that the baseboard management controller obtains the initial temperature values transmitted by each group of the temperature sensors under preset conditions, calculates a target temperature value based on the initial temperature values, generates the fan control strategy according to the target temperature value, and transmits the fan control strategy to the fan controller.

8. The temperature control component according to claim 7, characterized in that, The second end of the multiplexer is also connected to the microcontroller unit, where: The processor is configured to, when the baseboard management controller is in an abnormal state, based on the multiplexer, control the microcontroller unit to be connected to each group of the temperature sensors, so that the microcontroller unit obtains the initial temperature values transmitted by each group of the temperature sensors under the preset conditions, calculates a target temperature value based on the initial temperature values, generates the fan control strategy according to the target temperature value, and transmits the fan control strategy to the fan controller.

9. The temperature control component according to claim 8, wherein, The preset condition is that the current state of the electronic device is a normal working state. The temperature control component further includes a general-purpose input / output expander, and the microcontroller unit is connected to the general-purpose input / output expander, where: The general-purpose input / output expander is configured to obtain the current state of the electronic device and transmit the current state of the electronic device to the microcontroller unit; The microcontroller unit is configured to receive the current state of the electronic device; when the current state of the electronic device is a normal working state, obtain the initial temperature values transmitted by each group of the temperature sensors, calculate a target temperature value based on the initial temperature values, and determine whether there is at least one target temperature value exceeding a first preset temperature threshold; according to the judgment result, generate the fan control strategy and transmit the fan control strategy to the fan controller.

10. The temperature control component according to claim 9, characterized in that, The microcontroller unit is configured to, when there is no target temperature value exceeding the first preset temperature threshold, generate a fan control strategy and transmit the fan control strategy to the fan controller, and the fan control strategy is used to indicate that the fan is not rotated.

11. The temperature control component according to claim 9, characterized in that, The microcontroller unit is configured to, when there is a target temperature value exceeding the first preset temperature threshold, determine the quantity corresponding to the target temperature value exceeding the first preset temperature threshold; generate a fan control strategy according to the quantity corresponding to the target temperature value exceeding the first preset temperature threshold; and transmit the fan control strategy to the fan controller.

12. The temperature control component according to claim 11, wherein, The micro control unit is configured to calculate a first difference between the target temperature value exceeding the first preset temperature threshold and the first preset temperature threshold when the number of target temperature values exceeding the first preset temperature threshold is one; calculate a first rotation speed corresponding to the fan by multiplying the first difference by a first coefficient; and generate a fan control strategy according to the first rotation speed corresponding to the fan, and transmit the fan control strategy to the fan controller.

13. The temperature control component according to claim 12, characterized in that, The micro control unit is configured to compare the magnitudes of the groups of target temperature values exceeding the first preset temperature threshold and determine the maximum target temperature value from the target temperature values exceeding the first preset temperature threshold when the number of target temperature values exceeding the first preset temperature threshold is greater than one; calculate a second difference between the maximum target temperature value and the first preset temperature threshold. Calculate a second rotation speed corresponding to the fan by multiplying the second difference by the first coefficient; and generate a fan control strategy according to the second rotation speed corresponding to the fan, and transmit the fan control strategy to the fan controller.

14. The temperature control component according to claim 9, characterized in that, The general-purpose input / output expander is further configured to detect whether the Open Compute Project network card and the smart network card are present; and transmit the presence or absence of the Open Compute Project network card and the smart network card and the current state of the electronic device to the micro control unit. The micro control unit is further configured to generate a fan control strategy and transmit the fan control strategy to the fan controller when the current state of the electronic device is the sleep state and both the Open Compute Project network card and the smart network card are not present, and the fan control strategy is used to represent that the fan is controlled not to rotate.

15. The temperature control component according to claim 14, characterized in that, The micro control unit is further configured to obtain the target temperature value of the air inlet when the current state of the electronic device is the sleep state, the Open Compute Project network card is present, and the smart network card is not present; compare the target temperature value of the air inlet with a second preset temperature threshold. When the target temperature value of the air inlet is less than or equal to the second preset temperature threshold, determine that the rotation speed of the fan is a third rotation speed, and generate a fan control strategy according to the third rotation speed corresponding to the fan, and transmit the fan control strategy to the fan controller.

16. The temperature control component according to claim 15, wherein The micro control unit is further configured to obtain the target temperature value of the air inlet when the current state of the electronic device is the sleep state and the smart network card is present; compare the target temperature value of the air inlet with the second preset temperature threshold. When the target temperature value of the air inlet is less than or equal to the second preset temperature threshold, determine that the rotation speed of the fan is a fourth rotation speed, and generate a fan control strategy according to the fourth rotation speed corresponding to the fan, and transmit the fan control strategy to the fan controller; wherein the fourth rotation speed is greater than the third rotation speed.

17. The temperature control component according to claim 16, characterized in that, The microcontroller unit is further configured to, when the target temperature value of the air inlet is greater than the second preset temperature threshold, calculate a third difference between the target temperature value of the air inlet and the second preset temperature threshold; multiply the third difference by a second coefficient to calculate a first rotational speed increase of the fan; update the third rotational speed or the fourth rotational speed according to the first rotational speed increase; update the fan control strategy according to the updated third rotational speed, or update the fan control strategy according to the updated fourth rotational speed; and send the updated fan control strategy to the fan controller.

18. The temperature control component according to claim 9, characterized in that, The general-purpose input / output expander is further configured to detect whether the Open Compute Project network card and the smart network card are present; and send the presence or absence status of the Open Compute Project network card and the smart network card and the current state of the electronic device to the microcontroller unit. The microcontroller unit is further configured to, when the current state of the electronic device is in the boot process state and when both the Open Compute Project network card and the smart network card are not present, determine that the rotational speed of the fan is a fifth rotational speed, and generate a fan control strategy according to the fifth rotational speed, and send the fan control strategy to the fan controller. speed, generate a fan control strategy, and send the fan control strategy to the fan controller.

19. The temperature control component according to claim 18, wherein, The microcontroller unit is further configured to, when the current state of the electronic device is in the boot process state, and the Open Compute Project network card is present and the smart network card is not present, obtain the target temperature value of the air inlet; compare the target temperature value of the air inlet with a third preset temperature threshold. When the target temperature value of the air inlet is less than or equal to the third preset temperature threshold, determine that the rotational speed of the fan is a sixth rotational speed, and generate a fan control strategy according to the sixth rotational speed corresponding to the fan, and send the fan control strategy to the fan controller.

20. The temperature control component according to claim 19, wherein, The microcontroller unit is further configured to, when the current state of the electronic device is in the boot process state and the smart network card is present, obtain the target temperature value of the air inlet; compare the target temperature value of the air inlet with the third preset temperature threshold. When the target temperature value of the air inlet is less than or equal to the third preset temperature threshold, determine that the rotational speed of the fan is a seventh rotational speed, and generate a fan control strategy according to the seventh rotational speed corresponding to the fan, and send the fan control strategy to the fan controller; where the seventh rotational speed is greater than the sixth rotational speed.

21. The temperature control component according to claim 20, characterized in that, The microcontroller unit is further configured to, when the target temperature value of the air inlet is greater than the third preset temperature threshold, calculate a fourth difference between the target temperature value of the air inlet and the third preset temperature threshold; multiply the fourth difference by a third coefficient to calculate a second rotational speed increase of the fan; update the sixth rotational speed or the seventh rotational speed according to the second rotational speed increase; update the fan control strategy according to the updated sixth rotational speed, or update the fan control strategy according to the updated seventh rotational speed; and send the updated fan control strategy to the fan controller.

22. A server, characterized in that, The server includes the temperature control component described in any one of claims 1-21.

Citation Information

Patent Citations

  • Control method and device of server heat dissipation

    CN108170575A

  • Heat dissipation control system and method used when server BMC fails

    CN110362176A

  • Fan control method and device, electronic equipment and storage medium

    CN111580626A

  • Server device capable of controlling fan, and control method

    CN111664105A

  • Fan control method and system and related components

    CN113719461A