Domestic server fan control system based on single-chip microcomputer and serial port communication

By adopting a fan control system based on communication between a microcontroller and a serial port in a 1U rack-type domestic server, the problems of high costs and incomplete functions in the existing technology are solved, and intelligent adjustment of fan speed and efficient heat dissipation of the server are achieved.

CN119755119APending Publication Date: 2025-04-04TIANJIN TIANDY DIGITAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411858034.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The existing server fan control system is costly in 1U rack-type domestic servers, and the functional requirements for specific application scenarios are not fully in line with.

Method used

The domestic server fan control system based on communication between the microcontroller and the serial port is adopted. The CPU and hard disk temperature information are obtained regularly through the motherboard service program, the required fan speed is calculated, and the control signaling is sent to the microcontroller control unit through the serial port communication interface to adjust the fan speed.

Benefits of technology

It significantly reduces R&D and production costs, realizes intelligent adjustment of fan speed, and ensures the heat dissipation efficiency and stability of the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119755119A_ABST
    Figure CN119755119A_ABST
Patent Text Reader

Abstract

The invention relates to a domestic server fan control system based on communication between a single chip microcomputer and a serial port. Temperature information of a CPU and a hard disk of a server is obtained regularly through a service program on a mainboard; according to a temperature threshold value and a control strategy preset by the service program on the mainboard, the service program on the mainboard calculates the required fan rotating speed; the mainboard service program sends a fan control signal to the serial port communication interface on the hard disk backboard through the serial port communication interface, and the serial port communication interface transmits the fan control signal to the single-chip microcomputer control unit; the single-chip microcomputer control unit adjusts the rotating speed of the fan module according to a control algorithm after receiving the fan control signal. The single-chip microcomputer is adopted to replace a BMC for fan control, and the research and development and production cost is remarkably reduced. Meanwhile, data transmission between the mainboard and the single chip microcomputer is achieved through serial port communication, and accuracy and timeliness of control signals are guaranteed. Finally, temperature monitoring and control strategies are combined, intelligent adjustment of the rotating speed of the fan is achieved, and the heat dissipation efficiency and stability of the server are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of servers, and in particular to a domestic server fan control system based on a single-chip microcomputer and serial port communication. Background Art

[0002] A server is a device that provides computing services. It is a type of computer that provides computing or application services to other clients (such as PCs, smartphones, ATMs, and other terminals) in the network. Since the server needs to respond to service requests and process them, it should have the ability to undertake and guarantee services. Compared with general computer architectures, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.

[0003] The server consists of a processor, hard disk, memory, system bus, etc., which is similar to the general computer architecture. In a network environment, depending on the type of service provided by the server, it is usually divided into file servers, database servers, application servers, WEB servers, etc.

[0004] The appearance of a rack server does not look like a computer, but like a switch. It has specifications such as 1U (1U = 1.75 inches = 4.445CM), 2U, and 4U. Rack servers are installed in a standard 19-inch cabinet. Most of these servers are functional servers.

[0005] For information service companies (such as ISP / ICP / ISV / IDC), when choosing a server, the first thing to consider is the server's physical parameters such as size, power consumption, and heat generation, because information service companies usually use large dedicated computer rooms to uniformly deploy and manage a large number of server resources. The computer rooms are usually equipped with strict security measures, good cooling systems, and multiple backup power supply systems. The cost of the computer room is quite expensive. How to deploy more servers in a limited space is directly related to the company's service cost. Usually, rack servers with mechanical dimensions that meet the 19-inch industrial standard are selected. Rack servers also have a variety of specifications, such as 1U (4.45cm high), 2U, 4U, 6U, 8U, etc. Usually 1U rack servers save the most space, but the performance and scalability are poor, and they are suitable for some relatively fixed business use areas. Products above 4U have higher performance and good scalability, and generally support more than 4 high-performance processors and a large number of standard hot-swappable components. Management is also very convenient. Manufacturers usually provide corresponding management and monitoring tools, which are suitable for critical applications with large traffic, but the size is large and the space utilization rate is not high.

[0006] At present, traditional server fan control systems mostly use BMC (Baseboard Management Controller) for intelligent control. Although it is powerful, the R&D and production costs are high. For some specific application scenarios, such as 1U rack-mounted domestic servers, users may pay more attention to cost control rather than all the functions provided by BMC. Therefore, it is particularly important to develop a domestic server fan control system based on single-chip microcomputer and serial port communication. Summary of the invention

[0007] The purpose of the present invention is to overcome the shortcomings of the prior art, and propose a domestic server fan control system based on single-chip microcomputer and serial communication, which regularly obtains the temperature information of the CPU and hard disk of the server through the service program on the mainboard; according to the temperature threshold and control strategy preset by the service program on the mainboard, the service program on the mainboard calculates the required fan speed; the mainboard service program sends the fan control signal to the serial communication interface on the hard disk backplane through the serial communication interface, and the serial communication interface transmits the fan control signal to the single-chip microcomputer control unit; after the single-chip microcomputer control unit receives the fan control signal, it adjusts the speed of the fan module according to the control algorithm. The present invention adopts a single-chip microcomputer to replace the BMC for fan control, which significantly reduces the R&D and production costs. At the same time, serial communication is used to realize data transmission between the mainboard and the single-chip microcomputer, ensuring the accuracy and timeliness of the control signal. Finally, combined with temperature monitoring and control strategy, the intelligent adjustment of the fan speed is realized to ensure the heat dissipation efficiency and stability of the server.

[0008] The present invention solves the technical problem by adopting the following technical solutions:

[0009] A domestic server fan control system based on single-chip microcomputer and serial port communication, comprising a hard disk backplane, a fan module and a mainboard, wherein the mainboard is connected to the backplane via a data cable, and the backplane is connected to the fan via a control cable. The mainboard is used to regularly obtain temperature information of the server's CPU and hard disk, and calculate the required fan speed according to a preset temperature threshold and control strategy; the hard disk backplane is used to receive a fan speed module and adjust the speed of the fan module according to a built-in control algorithm, and the fan module is used to dissipate heat according to.

[0010] Moreover, the hard disk backplane integrates a single-chip microcomputer control unit and a serial communication interface, the single-chip microcomputer control unit and the serial communication interface are connected to control and adjust the fan speed, and the serial communication interface is connected to the mainboard to receive the fan speed calculated by the mainboard.

[0011] Moreover, the hard disk backplane also includes SATA0 interface, SATA1 interface, SATA2 interface, SATA3 interface and fan pins; the motherboard also includes SATA0 interface, SATA1 interface, SATA2 interface, SATA3 interface and serial port, wherein the SATA0 interface of the motherboard is connected to the SATA0 interface of the hard disk backplane, the SATA1 interface of the motherboard is connected to the SATA1 interface of the hard disk backplane, the SATA2 interface of the motherboard is connected to the SATA2 interface of the hard disk backplane, the SATA3 interface of the motherboard is connected to the SATA3 interface of the hard disk backplane, the serial port of the motherboard is connected to the serial communication interface of the hard disk backplane, and the fan pin of the hard disk backplane is connected to the fan module.

[0012] A working method of a domestic server fan control system based on single-chip microcomputer and serial port communication, comprising the following steps:

[0013] Step 1: The service program on the mainboard periodically obtains the temperature information of the server's CPU and hard disk;

[0014] Step 2: According to the temperature threshold and control strategy preset by the service program on the mainboard, the service program on the mainboard calculates the required fan speed;

[0015] Step 3: The mainboard service program sends the fan control signal to the serial communication interface on the hard disk backplane through the serial communication interface, and the serial communication interface transmits the fan control signal to the single-chip microcomputer control unit;

[0016] Step 4: After receiving the fan control signal, the single-chip microcomputer control unit adjusts the speed of the fan module according to the control algorithm.

[0017] Moreover, the specific implementation scheme of step 2 is: the service program on the mainboard determines the required fan speed based on the preset temperature threshold and control strategy: the temperature threshold is flexibly set through the system configuration file, and the control strategy is to calculate the corresponding fan speed values ​​respectively, and select the larger of the two values ​​as the final fan control speed to ensure the effectiveness of system heat dissipation.

[0018] Moreover, the specific implementation scheme of step 4 is: the single chip microcomputer calculates two independent fan speed values ​​according to the real-time CPU temperature and hard disk temperature; the single chip microcomputer uses the larger of the two fan speed values ​​calculated according to the CPU temperature and the hard disk temperature as a control signal and sends it to the fan module to achieve more accurate temperature management and heat dissipation control; at the same time, the minimum duty cycle of the fan speed is set to 30% to ensure that the necessary heat dissipation support can be provided under any temperature conditions.

[0019] The advantages and positive effects of the present invention are:

[0020] The present invention periodically obtains the temperature information of the CPU and hard disk of the server through the service program on the mainboard; according to the temperature threshold and control strategy preset by the service program on the mainboard, the service program on the mainboard calculates the required fan speed; the mainboard service program sends the fan control signal to the serial communication interface on the hard disk backplane through the serial communication interface, and the serial communication interface transmits the fan control signal to the single-chip control unit; after the single-chip control unit receives the fan control signal, it adjusts the speed of the fan module according to the control algorithm. The present invention uses a single-chip microcomputer to replace the BMC for fan control, which significantly reduces the R&D and production costs. At the same time, serial communication is used to realize data transmission between the mainboard and the single-chip microcomputer, ensuring the accuracy and timeliness of the control signal. Finally, the temperature monitoring and control strategy are combined to realize the intelligent adjustment of the fan speed, and the heat dissipation efficiency and stability of the server are guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is an architecture diagram of a domestic server fan control system based on a single-chip microcomputer and serial port communication according to the present invention. DETAILED DESCRIPTION

[0022] The present invention is further described in detail below with reference to the accompanying drawings.

[0023] A domestic server fan control system based on single chip microcomputer and serial port communication, such as Figure 1 As shown, the hard disk backplane, fan module and mainboard, wherein the mainboard is connected to the backplane via a data cable, and the backplane is connected to the fan via a control cable. The mainboard is used to regularly obtain the temperature information of the CPU and hard disk of the server, and calculate the required fan speed according to the preset temperature threshold and control strategy; the hard disk backplane is used to receive the fan speed module and adjust the speed of the fan module according to the built-in control algorithm, and the fan module is used to dissipate heat according to.

[0024] The hard disk backplane integrates a single-chip microcomputer control unit and a serial communication interface, the single-chip microcomputer control unit and the serial communication interface are connected to control and adjust the fan speed, and the serial communication interface is connected to the mainboard to receive the fan speed calculated by the mainboard.

[0025] The hard disk backplane also includes SATA0 interface, SATA1 interface, SATA2 interface, SATA3 interface and fan pins; the motherboard also includes SATA0 interface, SATA1 interface, SATA2 interface, SATA3 interface and serial port, wherein the SATA0 interface of the motherboard is connected to the SATA0 interface of the hard disk backplane, the SATA1 interface of the motherboard is connected to the SATA1 interface of the hard disk backplane, the SATA2 interface of the motherboard is connected to the SATA2 interface of the hard disk backplane, the SATA3 interface of the motherboard is connected to the SATA3 interface of the hard disk backplane, the serial port of the motherboard is connected to the serial communication interface of the hard disk backplane, and the fan pin of the hard disk backplane is connected to the fan module.

[0026] The motherboard also includes a motherboard service program. The motherboard system service program is used for system services under the operating system running on the server motherboard. It is responsible for obtaining key information such as CPU temperature and hard disk temperature, and sending control signals to the microcontroller control unit through the serial communication interface.

[0027] A working method of a domestic server fan control system based on single-chip microcomputer and serial port communication, comprising the following steps:

[0028] Step 1: The service program on the mainboard periodically obtains the temperature information of the server's CPU and hard disk;

[0029] Step 2: According to the temperature threshold and control strategy preset by the service program on the mainboard, the service program on the mainboard calculates the required fan speed;

[0030] The service program on the motherboard determines the required fan speed based on the preset temperature threshold and control strategy. Specifically, the temperature threshold can be flexibly set through the system configuration file, but any configuration changes require restarting the service to reload these parameters. The control strategy carefully considers the hard disk temperature and CPU temperature, calculates the corresponding fan speed values ​​for them respectively, and selects the larger of the two values ​​as the final fan control speed to ensure the effectiveness of system cooling. It is worth noting that the minimum duty cycle of the fan speed is set to 30% to ensure basic cooling requirements.

[0031] Step 3: The mainboard service program sends the fan control signal to the serial communication interface on the hard disk backplane through the serial communication interface, and the serial communication interface transmits the fan control signal to the single-chip microcomputer control unit;

[0032] Step 4: After receiving the fan control signal, the single-chip microcomputer control unit adjusts the speed of the fan module according to the control algorithm.

[0033] The microcontroller calculates two independent fan speed values ​​based on the real-time CPU temperature and hard disk temperature. For the CPU temperature, when the temperature exceeds 80 degrees, the fan will run at full speed to ensure rapid heat dissipation; when the temperature is below 35 degrees, the fan will run at the lowest speed (duty cycle is 30%) to maintain basic heat dissipation performance. In the temperature range of 35 to 80 degrees, the fan speed will gradually increase proportionally.

[0034] For hard drive temperature, when the temperature is above 55 degrees, the fan will also run at full speed to prevent overheating; when the temperature is below 42 degrees, the fan will run at the lowest speed. In the temperature range of 42 to 55 degrees, the fan speed will also be adjusted proportionally according to the temperature.

[0035] Finally, the microcontroller uses the larger of the two fan speed values ​​calculated based on the CPU temperature and the hard disk temperature as a control signal and sends it to the fan module to achieve more accurate temperature management and heat dissipation control. At the same time, in either case, the minimum duty cycle of the fan speed is set to 30% to ensure that the necessary heat dissipation support can be provided under any temperature conditions.

[0036] The present invention periodically obtains the temperature information of the CPU and hard disk of the server through the service program on the mainboard; according to the temperature threshold and control strategy preset by the service program on the mainboard, the service program on the mainboard calculates the required fan speed; the mainboard service program sends the fan control signal to the serial communication interface on the hard disk backplane through the serial communication interface, and the serial communication interface transmits the fan control signal to the single-chip control unit; after the single-chip control unit receives the fan control signal, it adjusts the speed of the fan module according to the control algorithm. The present invention uses a single-chip microcomputer to replace the BMC for fan control, which significantly reduces the R&D and production costs. At the same time, serial communication is used to realize data transmission between the mainboard and the single-chip microcomputer, ensuring the accuracy and timeliness of the control signal. Finally, the temperature monitoring and control strategy are combined to realize the intelligent adjustment of the fan speed, and the heat dissipation efficiency and stability of the server are guaranteed.

[0037] It should be emphasized that the embodiments described in the present invention are illustrative rather than restrictive. Therefore, the present invention includes but is not limited to the embodiments described in the specific implementation manner. Any other implementation manners derived by those skilled in the art based on the technical solution of the present invention also fall within the scope of protection of the present invention.

Claims

1. A domestic server fan control system based on single-chip microcomputer and serial port communication, characterized in that: It includes a hard disk backplane, a fan module and a mainboard, wherein the mainboard is connected to the backplane via a data cable, and the backplane is connected to the fan via a control cable. The mainboard is used to regularly obtain the temperature information of the server's CPU and hard disk, and calculate the required fan speed according to the preset temperature threshold and control strategy; the hard disk backplane is used to receive the fan speed module and adjust the speed of the fan module according to the built-in control algorithm, and the fan module is used to dissipate heat according to.

2. According to claim 1, a domestic server fan control system based on single-chip microcomputer and serial port communication is characterized in that: The hard disk backplane is integrated with a single-chip microcomputer control unit and a serial communication interface, which are connected to the serial communication interface for controlling and adjusting the fan speed, and the serial communication interface is connected to the mainboard for receiving the fan speed calculated by the mainboard.

3. According to claim 2, a domestic server fan control system based on single-chip microcomputer and serial port communication is characterized in that: The hard disk backplane also includes a SATA0 interface, a SATA1 interface, a SATA2 interface, a SATA3 interface and a fan pin; the mainboard also includes a SATA0 interface, a SATA1 interface, a SATA2 interface, a SATA3 interface and a serial port, wherein the SATA0 interface of the mainboard is connected to the SATA0 interface of the hard disk backplane, the SATA1 interface of the mainboard is connected to the SATA1 interface of the hard disk backplane, the SATA2 interface of the mainboard is connected to the SATA2 interface of the hard disk backplane, the SATA3 interface of the mainboard is connected to the SATA3 interface of the hard disk backplane, the serial port of the mainboard is connected to the serial communication interface of the hard disk backplane, and the fan pin of the hard disk backplane is connected to the fan module.

4. A working method of a domestic server fan control system based on single-chip microcomputer and serial port communication as claimed in any one of claims 1 to 3, characterized in that: The following steps are involved: Step 1: The service program on the mainboard periodically obtains the temperature information of the server's CPU and hard disk; Step 2: According to the temperature threshold and control strategy preset by the service program on the mainboard, the service program on the mainboard calculates the required fan speed; Step 3: The mainboard service program sends the fan control signal to the serial communication interface on the hard disk backplane through the serial communication interface, and the serial communication interface transmits the fan control signal to the single-chip microcomputer control unit; Step 4: After receiving the fan control signal, the single-chip microcomputer control unit adjusts the speed of the fan module according to the control algorithm.

5. The working method of a domestic server fan control system based on single chip microcomputer and serial port communication according to claim 4 is characterized in that: The specific implementation scheme of step 2 is: the service program on the mainboard determines the required fan speed based on the preset temperature threshold and control strategy: the temperature threshold is flexibly set through the system configuration file, and the control strategy is to calculate the corresponding fan speed values ​​respectively, and select the larger of the two values ​​as the final fan control speed to ensure the effectiveness of system heat dissipation.

6. The working method of a domestic server fan control system based on single chip microcomputer and serial port communication according to claim 4 is characterized in that: The specific implementation scheme of step 4 is: the single chip microcomputer calculates two independent fan speed values ​​according to the real-time CPU temperature and hard disk temperature; the single chip microcomputer uses the larger of the two fan speed values ​​calculated according to the CPU temperature and the hard disk temperature as a control signal and sends it to the fan module to achieve more accurate temperature management and heat dissipation control; at the same time, the minimum duty cycle of the fan speed is set to 30% to ensure that the necessary heat dissipation support can be provided under any temperature conditions.