An apparatus, method, and medium for controlling server temperature

CN115407853BActive Publication Date: 2026-08-07INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2022-08-29
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

比例调节通常是在温度发生变化后,才开始调整风扇,故而,采用比例调节的方式使得对服务器温度的控制存在滞后性,导致系统的稳定性下降

Benefits of technology

[0019]为了解决上述技术问题,本申请还提供一种控制服务器温度的方法,应用于包括风扇,还包括温差发电片、电压电流监测电路、温度传感器的服务器,其中,所述温差发电片与CPU连接;所述温度传感器位于所述温差发电片的两端;所述温度传感器与BMC连接;所述电压电流监测电路与所述温差发电片连接;所述电压电流监测电路与所述BMC连接;所述方法包括:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115407853B_ABST
    Figure CN115407853B_ABST
Patent Text Reader

Abstract

The application discloses a device, method and medium for controlling server temperature, and relates to the field of servers. A thermoelectric chip is connected with a CPU; temperature sensors are located at two ends of the thermoelectric chip; the temperature sensors are connected with a BMC, and transmit temperature values to the BMC; a voltage and current monitoring circuit is connected with the thermoelectric chip, and measures current and voltage values of the thermoelectric chip; the voltage and current monitoring circuit is connected with the BMC, and transmits the current and voltage values to the BMC; the BMC obtains heat production of the CPU according to the temperature values, the current values and the voltage values, and adjusts the rotating speed of a fan according to the heat production. Since the heat production is integrated in time to cause the change of the CPU temperature, that is, the heat production is prior to the change of the temperature, therefore, the rotating speed of the fan can be adjusted in advance according to the heat production, the stability of the system is increased, and the time required for adjusting the system temperature is reduced; in addition, the thermoelectric chip is used to convert heat into electric energy, and waste heat recovery is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of servers, and in particular to an apparatus, method and medium for controlling server temperature. Background Technology

[0002] As server performance improves, so does its power consumption. The main heat sources are the Central Processing Unit (CPU) and the Graphics Processing Unit (GPU). For example, the Intel Xeon SPR series CPU can consume up to 270W, which is a significant amount for a typical dual-socket server. For AI-enabled servers, the power consumption of the GPU is equally considerable. For instance, the DELTA-NEXT Baseboard has eight GPUs, resulting in a total power consumption of several kilowatts.

[0003] For servers that generate a large amount of heat, solving their heat dissipation problem is crucial. Currently, the main method is to control the fan speed. Server temperature control is basically achieved through proportional control (negative feedback regulation), meaning that the greater the deviation of the server's internal temperature from the set value, the higher the fan speed; the smaller the deviation, the lower the fan speed. Proportional regulation usually only adjusts the fan speed after a temperature change, thus introducing a lag in server temperature control and leading to decreased system stability.

[0004] Therefore, improving system stability while controlling server temperature is a technical problem that urgently needs to be solved by those in this field. Summary of the Invention

[0005] The purpose of this application is to provide an apparatus, method, and medium for controlling server temperature, thereby improving system stability while controlling server temperature.

[0006] To solve the above-mentioned technical problems, this application provides a device for controlling server temperature, including: a fan, and further including: a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor;

[0007] The thermoelectric generator is connected to the CPU and is used to receive the heat generated by the CPU, convert a portion of the heat generated by the CPU into electrical energy, and transfer the other portion in the form of heat conduction.

[0008] The temperature sensors are located at both ends of the thermoelectric generator and are used to measure the temperature values ​​at both ends of the thermoelectric generator.

[0009] The temperature sensor is connected to the BMC and is used to transmit the temperature value to the BMC;

[0010] The voltage and current monitoring circuit is connected to the thermoelectric generator and is used to measure the current and voltage values ​​of the thermoelectric generator.

[0011] The voltage and current monitoring circuit is connected to the BMC and is used to transmit the current value and the voltage value to the BMC so that the BMC can obtain the heat generated by the CPU based on the temperature value, the current value and the voltage value, and adjust the fan speed according to the heat generated.

[0012] Preferably, the voltage and current monitoring circuit includes: an electrical appliance, an ammeter, and a voltmeter;

[0013] The first end of the electrical appliance is connected to the first end of the thermoelectric generator.

[0014] The second terminal of the electrical appliance is connected to the first terminal of the ammeter;

[0015] The second end of the ammeter is connected to the second end of the thermoelectric generator, and is used to measure the current value passing through the thermoelectric generator and the electrical appliance;

[0016] The second end of the ammeter is connected to the server and is used to transmit the current value to the BMC;

[0017] The voltmeter is connected in parallel across the two ends of the electrical appliance to measure the voltage across the electrical appliance.

[0018] The voltmeter is connected to the server and is used to transmit the voltage value to the BMC.

[0019] To address the aforementioned technical problems, this application also provides a method for controlling server temperature, applied to a server including a fan, a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor, wherein the thermoelectric generator is connected to the CPU; the temperature sensor is located at both ends of the thermoelectric generator; the temperature sensor is connected to the BMC; the voltage and current monitoring circuit is connected to the thermoelectric generator; and the voltage and current monitoring circuit is connected to the BMC; the method includes:

[0020] Obtain the temperature values ​​at both ends of the thermoelectric generator as measured by the temperature sensor;

[0021] The voltage monitoring circuit acquires the current and voltage values ​​of the thermoelectric generator.

[0022] The heat generated by the CPU is obtained based on the temperature value, the current value, and the voltage value.

[0023] The fan speed is adjusted according to the amount of heat generated.

[0024] Preferably, obtaining the heat generated by the CPU based on the temperature value, the current value, and the voltage value includes:

[0025] The heating area, material, and efficiency of the thermoelectric generator are obtained.

[0026] The thermal conductivity is determined based on the material.

[0027] Obtain the temperature difference between the two ends of the thermoelectric generator;

[0028] The first heat output in the form of heat conduction is determined from the heat generated by the CPU based on the temperature difference, the thermal conductivity, and the heat-generating area.

[0029] Obtain the product of the voltage value and the current value;

[0030] The second heat source used for converting heat into electrical energy in the CPU's heat generation is determined based on the product and the efficiency of the thermoelectric generator.

[0031] The sum of the first heat and the second heat is obtained as the heat generated by the CPU.

[0032] Preferably, after obtaining the heat generated by the CPU based on the temperature value, the current value, and the voltage value, and before adjusting the fan speed based on the heat generated, the method further includes:

[0033] Obtain the current temperature of the server and the preset temperature threshold;

[0034] Determine whether the current temperature is higher than the temperature threshold.

[0035] If so, proceed to the step of adjusting the fan speed based on the heat generated.

[0036] Preferably, when there are multiple servers, there are also multiple thermoelectric generators;

[0037] Among them, when the required voltage value is greater than the voltage threshold, each of the thermoelectric generators is connected in parallel;

[0038] When the required current value is greater than the current threshold, the thermoelectric generators are connected in series.

[0039] Preferably, after obtaining the heat generated by the CPU based on the temperature value, the current value, and the voltage value, the method further includes:

[0040] From the moment the heat generated by the CPU is acquired, it is determined within a preset time whether the heat generated by the CPU is greater than the heat generation threshold.

[0041] If so, output a prompt message indicating abnormal heat generation by the CPU.

[0042] To address the aforementioned technical problems, this application also provides a device for controlling server temperature, applied to a server including a fan, a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor, wherein the thermoelectric generator is connected to the CPU; the temperature sensor is located at both ends of the thermoelectric generator; the temperature sensor is connected to the BMC; the voltage and current monitoring circuit is connected to the thermoelectric generator; the voltage and current monitoring circuit is connected to the BMC; the device includes:

[0043] The first acquisition module is used to acquire the temperature values ​​at both ends of the thermoelectric generator measured by the temperature sensor;

[0044] The second acquisition module is used to acquire the current value and voltage value of the thermoelectric generator collected by the voltage monitoring circuit;

[0045] The third acquisition module is used to acquire the heat generated by the CPU based on the temperature value, the current value, and the voltage value.

[0046] An adjustment module is used to adjust the fan speed according to the heat generated.

[0047] To address the aforementioned technical problems, this application also provides a device for controlling server temperature, comprising:

[0048] Memory, used to store computer programs;

[0049] A processor, used to execute the computer program to implement the steps of the above-described method for controlling server temperature.

[0050] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for controlling server temperature described above.

[0051] This application provides a device for controlling server temperature, including a fan, a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor. The thermoelectric generator is connected to the CPU and receives the heat generated by the CPU, converting a portion of the heat into electrical energy and transferring the remaining portion through heat conduction. The temperature sensor is located at both ends of the thermoelectric generator and measures the temperature at both ends. The temperature sensor is connected to the BMC (Browser Control Center) to transmit the temperature value to the BMC. The voltage and current monitoring circuit is connected to the thermoelectric generator and measures the current and voltage values ​​of the thermoelectric generator. The voltage and current monitoring circuit is also connected to the BMC to transmit the current and voltage values ​​to the BMC, allowing the BMC to obtain the heat generated by the CPU based on the temperature, current, and voltage values, and adjust the fan speed accordingly. In this device, the CPU provides the generated heat to the thermoelectric generator, which uses a portion of the heat to generate electricity and transfers the remaining heat through heat conduction. Therefore, the heat generated by the CPU can be calculated based on the current, voltage, and temperature values. Since the change in CPU temperature only occurs after the heat generation is integrated over time, meaning that heat generation precedes temperature change, the device in this application adjusts the fan speed based on heat generation in advance, compared to adjusting the fan speed based on the CPU temperature change. This increases system stability and reduces the time required to adjust the system temperature. Furthermore, by converting heat into electrical energy through a thermoelectric generator, waste heat is recovered, reducing the cooling pressure on the fan and relatively reducing the heat dissipated into the air, which is beneficial to environmental protection.

[0052] In addition, this application also provides a method for controlling server temperature, a device for controlling server temperature, and a computer-readable storage medium, which have the same or corresponding technical features as the aforementioned device for controlling server temperature, and have the same effect. Attached Figure Description

[0053] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0054] Figure 1 This is a schematic diagram illustrating the heating principle of a thermoelectric generator.

[0055] Figure 2 A schematic diagram of a device for controlling server temperature provided in an embodiment of this application;

[0056] Figure 3A schematic diagram of a server waste heat recovery and temperature control system based on thermoelectric power generation provided in an embodiment of this application;

[0057] Figure 4 A flowchart illustrating a method for controlling server temperature provided in an embodiment of this application;

[0058] Figure 5 A structural diagram of a device for controlling server temperature according to an embodiment of this application;

[0059] Figure 6 This is a structural diagram of a device for controlling server temperature, provided in another embodiment of this application. Detailed Implementation

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

[0061] The core of this application is to provide a device, method, and medium for controlling server temperature, thereby improving system stability while controlling server temperature.

[0062] As server performance improves, so does its power consumption. The main heat sources are the CPU and GPU. Common cooling methods for existing servers include air cooling, liquid cooling, and immersion liquid cooling. Air cooling involves installing fans inside the server to remove more heat by increasing airflow. Liquid cooling involves the coolant flowing over heat-generating parts to remove heat. Immersion liquid cooling involves submerging the entire server in coolant, utilizing the coolant's low thermal resistance to achieve highly efficient heat dissipation from heat sources.

[0063] For servers that generate a significant amount of heat, addressing their cooling issues is crucial and requires substantial time and financial resources. First, a sufficient number of fans need to be installed, increasing the Bill of Materials (BoM) cost. Second, the server design must allocate space for airflow and fans, increasing the chassis size and overall cost. Finally, the generated heat must be dissipated into the server room through air conditioning and other means, a process that also incurs considerable expenses. Besides the significant cost of cooling, this heat release into the environment is also environmentally harmful, exacerbating global warming and rising sea levels.

[0064] Currently, server temperature control is primarily based on proportional control (negative feedback regulation). This means that the greater the deviation of the server's internal temperature from the set value, the higher the fan speed; conversely, the smaller the deviation, the lower the fan speed. However, a drawback of proportional regulation is that once a deviation occurs, the proportional regulator immediately adjusts to reduce the deviation. A large proportional effect can speed up the adjustment and reduce errors, but an excessively large proportional ratio reduces system stability and robustness. Intuitively, when the server temperature is high, the fan speed is very high; when the temperature quickly drops, the fan speed drops very low; then the temperature rises again, and the fan speeds up again… the fan repeatedly fluctuates between high and low speeds, failing to find a suitable, constant optimal speed. This leads to high noise and low efficiency. Therefore, this application utilizes the power generated by a thermoelectric generator and the temperature difference between its two ends to calculate the CPU's heat generation, using this as a reference for server fan speed adjustment. This transforms the original proportional control into proportional-derivative control, thereby enhancing system stability and reducing system settling time. Figure 1 This is a schematic diagram illustrating the heating principle of a thermoelectric generator. Thermoelectric generators utilize the Seebeck effect, which means that when two different metals form a closed circuit, a current is generated in the circuit when a temperature difference exists between the two junctions. For example... Figure 1 As shown, in a circuit composed of two different conductors, A and B, if the two nodes are at different temperatures (T1 and T2 are not equal), an electromotive force will exist in the circuit. This realizes the conversion from heat to electrical energy.

[0065] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. Figure 2 A schematic diagram of a device for controlling server temperature provided in an embodiment of this application is shown below. Figure 2 As shown, it includes: CPU 1, BMC 2, fan 3, and also includes: thermoelectric generator 4, voltage and current monitoring circuit 5, temperature sensor 6;

[0066] Thermoelectric generator 4 is connected to CPU 1 to receive the heat generated by CPU 1 and convert part of the heat generated by CPU 1 into electrical energy, while the other part is transferred in the form of heat conduction.

[0067] Temperature sensor 6 is located at both ends of thermoelectric generator 4 and is used to measure the temperature values ​​at both ends of thermoelectric generator 4.

[0068] Temperature sensor 6 is connected to BMC 2 and is used to transmit temperature values ​​to BMC 2;

[0069] The voltage and current monitoring circuit 5 is connected to the thermoelectric generator 4 and is used to measure the current and voltage values ​​of the thermoelectric generator 4.

[0070] The voltage and current monitoring circuit 5 is connected to BMC 2 and is used to transmit the current and voltage values ​​to BMC 2 so that BMC 2 can obtain the heat generated by CPU 1 based on the temperature, current and voltage values ​​and adjust the speed of fan 3 according to the heat generated.

[0071] As server performance improves, so does its power consumption. The CPU is one of the largest heat sources. When the CPU temperature rises to a certain level, it affects server performance, thus requiring CPU cooling. Currently, the main method is to use fans to dissipate heat from the CPU. However, this only begins to regulate the CPU temperature after it has already risen, resulting in a certain lag in temperature control. Since the heat generated by the CPU accumulates over time before causing a temperature change, this embodiment controls the CPU temperature based on the amount of heat generated.

[0072] Figure 3 This is a schematic diagram of a server waste heat recovery and temperature control system based on thermoelectric power generation, provided as an embodiment of this application. Figure 3 As shown, the system includes a CPU 1, a BMC 2, a thermoelectric generator 4, a heat sink 7, a voltage and current monitoring circuit, and a temperature sensor 6.

[0073] A thermoelectric generator is installed between the server CPU and the CPU heatsink. The cold end of the thermoelectric generator is in contact with the heatsink, and the hot end is in contact with the CPU. When the server is running, the temperature difference between the heatsink and the CPU causes current to flow through the thermoelectric generator. Taking the commonly available SEEBACK SP1848-27145 series as an example, a single thermoelectric generator can achieve an open-circuit voltage of 1.8V and a generating current of 368mA when the temperature difference between its two ends reaches 40°C. The generated electricity can be extracted via wires. Simultaneously, a voltage and current monitoring circuit is placed to convert the current and voltage information generated by the thermoelectric generator into digital signals in real time and transmit them to the server's Baseboard Management Controller (BMC). Based on the current and voltage signals, the BMC can calculate the real-time power of the thermoelectric generator and the generated electrical energy. Additionally, a temperature sensor is placed at each end of the thermoelectric generator, and the detected temperature signals are transmitted to the BMC. It is obvious that in this system consisting of the CPU, the thermoelectric generator, and the heat sink, there is one path for heat generation, namely the CPU (the heat generated by the CPU is denoted as Q1); and two paths for heat dissipation, namely the thermoelectric generator itself (heat is converted into electrical energy, the absorbed heat is denoted as Q2), and the heat sink (heat is dissipated into the air, the absorbed heat is denoted as Q3). Assuming that the specific heat capacity of the thermoelectric generator is so small as to be negligible, we have Q1 = Q2 + Q3.

[0074] Since the thermal resistance of the thermoelectric generator is constant, the amount of heat passing through the thermoelectric generator in the form of heat conduction, namely Q3, can be calculated by the temperature difference between the two temperature measuring points.

[0075] BMC can indirectly obtain the heat absorbed by the thermoelectric generator, Q2, by calculating the product of current and voltage and then dividing by the efficiency of the thermoelectric generator. Therefore, by summing Q3 and Q2, the heat generated by the CPU can be calculated.

[0076] After obtaining the CPU's heat generation, the Q1 value can be used as one of the parameters for adjusting the fan speed by modifying the firmware. Because Q1 reflects the current heat generation of the CPU, and the temperature change only occurs as a result of the integral of this heat generation over time, the heat generation Q1 changes before the temperature. By incorporating Q1 into the factors determining fan speed, the BMC can adjust the fan speed in advance when it detects a change in Q1, increasing system stability and reducing settling time. Previously, fan speed was adjusted only based on the difference between the current temperature and the set temperature; now, Q1 is added as a reference. The essence of this change is replacing proportional control with proportional-derivative control, increasing system stability and reducing system settling time.

[0077] The device for controlling server temperature provided in this embodiment includes a fan, a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor. The thermoelectric generator is connected to the CPU and receives the heat generated by the CPU, converting a portion of the heat into electrical energy and transferring the remaining portion through heat conduction. The temperature sensor is located at both ends of the thermoelectric generator and measures the temperature at both ends. The temperature sensor is connected to the BMC (Body Control Center) and transmits the temperature value to the BMC. The voltage and current monitoring circuit is connected to the thermoelectric generator and measures the current and voltage values ​​of the thermoelectric generator. The voltage and current monitoring circuit is also connected to the BMC and transmits the current and voltage values ​​to the BMC, so that the BMC can obtain the heat generated by the CPU based on the temperature, current, and voltage values ​​and adjust the fan speed accordingly. In this device, the CPU provides the heat generated to the thermoelectric generator, which uses a portion of the heat to generate electricity and transfers the remaining heat through heat conduction. Therefore, the heat generated by the CPU can be calculated based on the current, voltage, and temperature values. Since the change in CPU temperature only occurs after the heat generation is integrated over time, meaning that heat generation precedes temperature change, the device in this application adjusts the fan speed based on heat generation in advance, compared to adjusting the fan speed based on the CPU temperature change. This increases system stability and reduces the time required to adjust the system temperature. Furthermore, by converting heat into electrical energy through a thermoelectric generator, waste heat is recovered, reducing the cooling pressure on the fan and relatively reducing the heat dissipated into the air, which is beneficial to environmental protection.

[0078] In practice, to measure voltage and current values, a preferred embodiment includes a voltage and current monitoring circuit comprising: an electrical appliance, an ammeter, and a voltmeter; the specific voltage and current monitoring circuit is as described above. Figure 3 As shown:

[0079] The first end of the electrical appliance is connected to the first end of the thermoelectric generator;

[0080] The second terminal of the electrical appliance is connected to the first terminal of the ammeter;

[0081] The second end of the ammeter is connected to the second end of the thermoelectric generator to measure the current value passing through the thermoelectric generator and the electrical appliance;

[0082] The second end of the ammeter is connected to the server to transmit the current value to the BMC;

[0083] A voltmeter is connected in parallel across the two ends of an electrical appliance to measure the voltage across the appliance.

[0084] The voltmeter connects to the server to transmit voltage values ​​to the BMC.

[0085] The voltage and current values ​​of the thermoelectric generator are converted into the voltage across the electrical appliance and the current flowing through it. The thermoelectric generator converts some of the waste heat generated by the CPU into electrical energy. This generated energy has many uses; for example, in this embodiment, it powers the electrical appliance. The specific appliance is not limited; it could be a button battery, lighting equipment, etc. For instance, it can be used to charge the button battery of the Real-Time Clock (RTC) on the server motherboard. A server is typically designed for a lifespan of over ten years. A button battery's lifespan is far shorter. Once the button battery is depleted, any subsequent power outage could cause the server's configuration information to be lost and its time information to reset, causing problems. To solve this, the electrical energy generated by the thermoelectric generator can be used to charge the button battery, ensuring it is fully charged. Another use is for lighting in the server room. The generated energy can also be stored in batteries to power critical equipment during power outages in the server room, ensuring data is not lost.

[0086] The voltage and current monitoring circuit provided in this embodiment uses a voltmeter to measure voltage and an ammeter to measure current. Since ammeters and voltmeters are common components, measuring voltage and current values ​​is convenient and simple, and the circuit structure is simple. Therefore, the voltage and current values ​​can be quickly obtained through this voltage and current monitoring circuit. In addition, the electrical energy generated by the thermoelectric generator in the voltage and current monitoring circuit is used by electrical appliances, which enables the heat generated by the CPU to be reused, reducing the heat dissipation pressure on the fan and reducing heat dissipation in the environment.

[0087] The above describes a device for controlling server temperature. This embodiment also provides a method for controlling server temperature, applied to a server including a fan, a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor. The thermoelectric generator is connected to the CPU; the temperature sensor is located at both ends of the thermoelectric generator; the temperature sensor is connected to the BMC; the voltage and current monitoring circuit is connected to the thermoelectric generator; and the voltage and current monitoring circuit is connected to the BMC. Figure 4 A flowchart illustrating a method for controlling server temperature provided in this application embodiment is shown below. Figure 4 As shown, the method includes:

[0088] S10: Obtain the temperature values ​​at both ends of the thermoelectric generator measured by the temperature sensor;

[0089] S11: Obtain the current and voltage values ​​of the thermoelectric generator collected by the voltage monitoring circuit;

[0090] S12: Obtain the heat generated by the CPU based on temperature, current, and voltage values;

[0091] S13: Adjust the fan speed according to the heat generated.

[0092] The method for controlling server temperature provided in this embodiment has corresponding technical features to the device for controlling server temperature described in the above embodiments. The device for controlling server temperature has been described in detail above, and the embodiment of the method for controlling server temperature will not be repeated here. Furthermore, it has the same beneficial effects as the aforementioned device for controlling server temperature.

[0093] In practice, to obtain the heat generated by the CPU, specifically, the heat generated by the CPU is obtained based on temperature, current, and voltage values, including:

[0094] To obtain the heating area, material, and efficiency of the thermoelectric generator;

[0095] The thermal conductivity is determined based on the material.

[0096] Obtain the temperature difference between the two ends of the thermoelectric generator;

[0097] The first type of heat output by the CPU in the form of heat conduction is determined based on the temperature difference, thermal conductivity, and heat generation area.

[0098] Obtain the product of the voltage and current values;

[0099] The efficiency of the product and thermoelectric generator determines the second heat source used for converting heat into electrical energy in the CPU's heat generation.

[0100] The sum of the first heat and the second heat is obtained as the heat generated by the CPU.

[0101] Specifically, the first heat, Q3 as described above, is calculated using formula (1), which is expressed as follows:

[0102] φ=K×A×ΔT (1)

[0103] In formula (1), φ represents heat flow, K represents thermal conductivity, A represents heating area, and ΔT represents the temperature difference between the two ends of the thermoelectric generator.

[0104] When calculating the second heat, namely Q2 as described above, the BMC obtains the product of the voltage and current values ​​and then divides it by the efficiency of the thermoelectric generator to indirectly obtain Q2, which is the heat absorbed by the thermoelectric generator.

[0105] After obtaining the first and second heat sources, assuming the specific heat capacity of the thermoelectric generator is small enough to be negligible, the sum of the first and second heat sources is the heat generated by the CPU, i.e., Q1 = Q2 + Q3. Thus, the heat generated by the CPU has been obtained.

[0106] In practice, to effectively adjust fan speed and control server temperature based on heat generation, a preferred implementation method includes, after obtaining CPU heat generation data based on temperature, current, and voltage values, and before adjusting fan speed based on heat generation, the method for controlling server temperature further includes:

[0107] Obtain the server's current temperature and the preset temperature threshold;

[0108] Determine if the current temperature is higher than the temperature threshold;

[0109] If so, proceed to the step of adjusting the fan speed based on the heat generated.

[0110] The specific value of the preset temperature threshold is not limited and is determined based on the actual situation. Before adjusting the fan speed based on heat generation, the current temperature of the server is obtained. If the current temperature is higher than the temperature threshold, the fan speed will be adjusted based on heat generation; if the current temperature is not higher than the temperature threshold, the fan speed does not need to be adjusted based on heat generation.

[0111] The embodiment described herein provides a method to adjust the fan speed based on heat generation only when the current temperature is higher than a temperature threshold, thereby enabling effective adjustment of fan speed and effective control of server temperature.

[0112] In practice, a typical data center contains hundreds or thousands of servers. The heat generated by these servers can be converted into a large amount of electricity by thermoelectric generators. When there are multiple servers, there are multiple thermoelectric generators; when the required voltage value is greater than the voltage threshold, the thermoelectric generators are connected in parallel; when the required current value is greater than the current threshold, the thermoelectric generators are connected in series.

[0113] The connection method, required voltage value, voltage threshold, required current value, and current threshold of the thermoelectric generators are not limited and can be determined based on the actual situation. When the required voltage value is greater than the voltage threshold, the thermoelectric generators are connected in parallel; when the required current value is greater than the current threshold, the thermoelectric generators are connected in series. This can be understood as follows: when a higher voltage is required, these thermoelectric generators can be connected in series; when a larger current is required, these thermoelectric generators can be connected in parallel.

[0114] In practice, to facilitate maintenance personnel's understanding of the data center's operational status, a preferred implementation method, after obtaining the CPU's heat generation based on temperature, current, and voltage values, includes the following methods for controlling server temperature:

[0115] From the moment the CPU heat generation is acquired, it is determined within a preset time whether the CPU heat generation exceeds the heat generation threshold.

[0116] If so, output a message indicating abnormal CPU heat generation.

[0117] There are no restrictions on the specific value of the preset time, the manner of the output prompt message, or the specific content of the prompt message; these can be determined based on the actual situation.

[0118] The calculated CPU heat output Q1 can indirectly reflect the changes in the server's CPU power consumption (the greater the CPU power consumption, the greater the heat output, and the more heat generated by the thermoelectric generator). This helps maintenance personnel understand the operating status of the data center and provides them with a way to discover abnormal problems (a sudden increase in the power consumption generated by the thermoelectric generator may indicate a surge in CPU computation, which may represent a system failure or a hacker attack).

[0119] The prompts provided in this embodiment enable maintenance personnel to understand the operational status of the data center.

[0120] In the above embodiments, the method for controlling server temperature has been described in detail. This application also provides embodiments of a device for controlling server temperature. It should be noted that this application describes the embodiments of the device from two perspectives: one is based on functional modules, and the other is based on hardware.

[0121] Figure 5 This is a structural diagram of a device for controlling server temperature according to an embodiment of this application. Based on functional modules, this embodiment applies to a server including a fan, a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor. The thermoelectric generator is connected to the CPU; the temperature sensor is located at both ends of the thermoelectric generator; the temperature sensor is connected to the BMC; the voltage and current monitoring circuit is connected to the thermoelectric generator; and the voltage and current monitoring circuit is connected to the BMC. Figure 5 As shown, the device includes:

[0122] The first acquisition module 10 is used to acquire the temperature values ​​at both ends of the thermoelectric generator measured by the temperature sensor;

[0123] The second acquisition module 11 is used to acquire the current value and voltage value of the thermoelectric generator collected by the voltage monitoring circuit;

[0124] The third acquisition module 12 is used to acquire the heat generated by the CPU based on the temperature value, current value, and voltage value.

[0125] Adjustment module 13 is used to adjust the fan speed according to the heat generated.

[0126] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.

[0127] The device for controlling server temperature provided in this embodiment acquires the temperature values ​​at both ends of the thermoelectric generator measured by a temperature sensor through a first acquisition module; acquires the current and voltage values ​​of the thermoelectric generator collected by a voltage monitoring circuit through a second acquisition module; acquires the heat generated by the CPU based on the temperature, current, and voltage values ​​through a third acquisition module; and adjusts the fan speed based on the heat generated through an adjustment module. In this device, the CPU provides the heat generated to the thermoelectric generator, which uses part of the heat to generate electricity and transfers the rest through thermal conduction. Therefore, the heat generated by the CPU can be calculated based on the current, voltage, and temperature values. Since the change in CPU temperature only occurs after the heat generated is integrated over time, meaning the heat generation precedes the temperature change, compared to adjusting the fan speed based on the CPU temperature change, the device in this embodiment adjusts the fan speed in advance based on the heat generated, increasing system stability and reducing the time required to adjust the system temperature. Furthermore, by converting heat into electrical energy through the thermoelectric generator, waste heat is recovered, reducing the cooling pressure on the fan and relatively reducing the heat dissipated into the air, which is beneficial to environmental protection.

[0128] Figure 6 This is a structural diagram of a device for controlling server temperature, provided as another embodiment of this application. This embodiment is based on a hardware perspective, such as... Figure 6 As shown, the device for controlling the server temperature includes:

[0129] Memory 20 is used to store computer programs;

[0130] The processor 21 is configured to execute a computer program to implement the steps of the method for controlling server temperature as described in the above embodiments.

[0131] The device for controlling server temperature provided in this embodiment may include, but is not limited to, smartphones, tablets, laptops, or desktop computers.

[0132] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one of the following hardware forms: Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as the CPU, is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a GPU, which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an Artificial Intelligence (AI) processor, which is used to handle computational operations related to machine learning.

[0133] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, which, after being loaded and executed by the processor 21, is capable of implementing the relevant steps of the method for controlling server temperature disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, and the storage method may be temporary or permanent storage. The operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the aforementioned method for controlling server temperature.

[0134] In some embodiments, the device for controlling the server temperature may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.

[0135] Those skilled in the art will understand that Figure 6 The structure shown does not constitute a limitation on the device for controlling server temperature and may include more or fewer components than shown.

[0136] The device for controlling server temperature provided in this application includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: a method for controlling server temperature, with the same effect as above.

[0137] Finally, this application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above method embodiments.

[0138] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0139] The computer-readable storage medium provided in this application includes the aforementioned method for controlling server temperature, with the same effect.

[0140] The foregoing has provided a detailed description of the apparatus, method, and medium for controlling server temperature provided in this application. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.

[0141] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A device for controlling server temperature, comprising: The fan is characterized by further comprising: a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor; The thermoelectric generator is connected to the CPU and is used to receive the heat generated by the CPU, convert a portion of the heat generated by the CPU into electrical energy, and transfer the other portion in the form of heat conduction. The temperature sensors are located at both ends of the thermoelectric generator and are used to measure the temperature values ​​at both ends of the thermoelectric generator. The temperature sensor is connected to the BMC and is used to transmit the temperature value to the BMC; The voltage and current monitoring circuit is connected to the thermoelectric generator and is used to lead the electrical energy generated by the thermoelectric generator to the voltage and current monitoring circuit through a wire, so that the voltage and current monitoring circuit can measure the current value and voltage value of the thermoelectric generator; wherein, the cold end of the thermoelectric generator is in contact with the heat sink and the hot end is in contact with the CPU. When the server is running, the temperature difference between the heat sink and the CPU causes current to flow through the two ends of the thermoelectric generator. The voltage and current monitoring circuit is connected to the BMC and is used to transmit the current value and the voltage value to the BMC so that the BMC can obtain the heat generated by the CPU based on the temperature value, the current value and the voltage value, and adjust the fan speed based on the heat generated; wherein, the heat generated by the CPU is used as a reference for server fan speed adjustment, so as to convert proportional control into proportional-derivative control. The step of obtaining the heat generated by the CPU based on the temperature value, the current value, and the voltage value includes: The heating area, material, and efficiency of the thermoelectric generator are obtained. The thermal conductivity is determined based on the material. Obtain the temperature difference between the two ends of the thermoelectric generator; The first heat output in the form of heat conduction is determined from the heat generated by the CPU based on the temperature difference, the thermal conductivity, and the heat-generating area. Obtain the product of the voltage value and the current value; The second heat source used for converting heat into electrical energy in the CPU's heat generation is determined based on the product and the efficiency of the thermoelectric generator. The sum of the first heat and the second heat is obtained as the heat generated by the CPU.

2. The device for controlling server temperature according to claim 1, characterized in that, The voltage and current monitoring circuit includes: an electrical appliance, an ammeter, and a voltmeter; The first end of the electrical appliance is connected to the first end of the thermoelectric generator. The second terminal of the electrical appliance is connected to the first terminal of the ammeter; The second end of the ammeter is connected to the second end of the thermoelectric generator, and is used to measure the current value passing through the thermoelectric generator and the electrical appliance; The second end of the ammeter is connected to the server and is used to transmit the current value to the BMC; The voltmeter is connected in parallel across the two ends of the electrical appliance to measure the voltage across the electrical appliance. The voltmeter is connected to the server and is used to transmit the voltage value to the BMC.

3. A method for controlling server temperature, characterized in that, An application is made to a server including a fan, a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor. The thermoelectric generator is connected to the CPU; the temperature sensor is located at both ends of the thermoelectric generator; the temperature sensor is connected to the BMC (Body Control Center); the voltage and current monitoring circuit is connected to the thermoelectric generator and is used to lead the electrical energy generated by the thermoelectric generator to the voltage and current monitoring circuit via wires, so that the voltage and current monitoring circuit can measure the current and voltage values ​​of the thermoelectric generator; the voltage and current monitoring circuit is connected to the BMC; the method includes: Obtain the temperature values ​​at both ends of the thermoelectric generator as measured by the temperature sensor; The current and voltage values ​​of the thermoelectric generator are acquired by the voltage and current monitoring circuit. The cold end of the thermoelectric generator is in contact with the heat sink, and the hot end is in contact with the CPU. When the server is running, the temperature difference between the heat sink and the CPU causes current to flow through both ends of the thermoelectric generator. The heat generated by the CPU is obtained based on the temperature value, the current value, and the voltage value. The fan speed is adjusted according to the heat generated; wherein the heat generated by the CPU is used as a reference for adjusting the server fan speed, so as to convert proportional control into proportional-derivative control. The step of obtaining the heat generated by the CPU based on the temperature value, the current value, and the voltage value includes: The heating area, material, and efficiency of the thermoelectric generator are obtained. The thermal conductivity is determined based on the material. Obtain the temperature difference between the two ends of the thermoelectric generator; The first heat output in the form of heat conduction is determined from the heat generated by the CPU based on the temperature difference, the thermal conductivity, and the heat-generating area. Obtain the product of the voltage value and the current value; The second heat source used for converting heat into electrical energy in the CPU's heat generation is determined based on the product and the efficiency of the thermoelectric generator. The sum of the first heat and the second heat is obtained as the heat generated by the CPU.

4. The method for controlling server temperature according to claim 3, characterized in that, After obtaining the heat generated by the CPU based on the temperature value, the current value, and the voltage value, and before adjusting the fan speed based on the heat generated, the method further includes: Obtain the current temperature of the server and the preset temperature threshold; Determine whether the current temperature is higher than the temperature threshold. If so, proceed to the step of adjusting the fan speed based on the heat generated.

5. The method for controlling server temperature according to claim 4, characterized in that, In the case of multiple servers, there are multiple thermoelectric generators; Among them, when the required voltage value is greater than the voltage threshold, each of the thermoelectric generators is connected in parallel; When the required current value is greater than the current threshold, the thermoelectric generators are connected in series.

6. The method for controlling server temperature according to any one of claims 3 to 5, characterized in that, After obtaining the heat generated by the CPU based on the temperature value, the current value, and the voltage value, the method further includes: From the moment the heat generated by the CPU is acquired, it is determined within a preset time whether the heat generated by the CPU is greater than the heat generation threshold. If so, output a prompt message indicating abnormal heat generation by the CPU.

7. A device for controlling server temperature, characterized in that, An application is made in a server including a fan, a thermoelectric generator, a voltage and current monitoring circuit, and a temperature sensor. The thermoelectric generator is connected to the CPU; the temperature sensor is located at both ends of the thermoelectric generator; the temperature sensor is connected to the BMC (Body Control Center); the voltage and current monitoring circuit is connected to the thermoelectric generator and is used to lead the electrical energy generated by the thermoelectric generator to the voltage and current monitoring circuit via wires, so that the voltage and current monitoring circuit can measure the current and voltage values ​​of the thermoelectric generator; the voltage and current monitoring circuit is connected to the BMC; the device includes: The first acquisition module is used to acquire the temperature values ​​at both ends of the thermoelectric generator measured by the temperature sensor; The second acquisition module is used to acquire the current value and voltage value of the thermoelectric generator collected by the voltage and current monitoring circuit; wherein, the cold end of the thermoelectric generator is in contact with the heat sink and the hot end is in contact with the CPU. When the server is running, the temperature difference between the heat sink and the CPU causes current to flow through both ends of the thermoelectric generator. The third acquisition module is used to acquire the heat generated by the CPU based on the temperature value, the current value, and the voltage value. An adjustment module is used to adjust the fan speed according to the heat generated; wherein the heat generated by the CPU is used as a reference for adjusting the server fan speed, so as to convert proportional control into proportional-derivative control. The third acquisition module is specifically used for: The heating area, material, and efficiency of the thermoelectric generator are obtained. The thermal conductivity is determined based on the material. Obtain the temperature difference between the two ends of the thermoelectric generator; The first heat output in the form of heat conduction is determined from the heat generated by the CPU based on the temperature difference, the thermal conductivity, and the heat-generating area. Obtain the product of the voltage value and the current value; The second heat source used for converting heat into electrical energy in the CPU's heat generation is determined based on the product and the efficiency of the thermoelectric generator. The sum of the first heat and the second heat is obtained as the heat generated by the CPU.

8. A device for controlling server temperature, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the method for controlling server temperature as described in any one of claims 3 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method for controlling server temperature as described in any one of claims 3 to 6.

Citation Information

Patent Citations

  • Overheat detection method and device and readable storage medium

    CN114814582A

  • Television heat dissipation device and television

    CN203722722U

  • Thermoelectric generation apparatus

    US20210036205A1