A fan control system and control method for Feiteng server
By designing a microcontroller module on the server, combining temperature measurement and fan control modules, and using a universal embedded processor chip, fan noise and design complexity problems during server startup are solved, and a rapid monitoring and miniaturized fan control system is realized.
Patent Information
- Application Number
- CN202010897018.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-31
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2040-08-31
AI Technical Summary
The existing server monitoring system takes several seconds to more than ten seconds when it is started, resulting in high fan noise and is not conducive to miniaturization. The monitoring chip hardware design is fixed and difficult to replace, which increases the design cost of the server motherboard and wiring complexity.
Design a fan control system including a microcontroller module, a fan control module and a temperature measurement module. The STM32F103RF microcontroller and the temperature measurement chip LM75ADP and fan control module are used to realize fan speed control through I2C, PWM and UART signals. The monitoring and management module is independent of the motherboard. , using a universal embedded processor chip.
It realizes that the server motherboard works normally within 100 milliseconds, controls the fan speed, reduces noise, facilitates monitoring chip replacement, saves motherboard wiring space, reduces design difficulty, and is suitable for server miniaturization.
Smart Images

Figure CN111911436B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fan control of Feiteng servers, in particular to a fan control system of a Feiteng server, and specifically to a control method of the fan control system of the Feiteng server. Background Art
[0002] With the development of information technology, people's lives have gradually become information-based. As a high-performance computer, the server plays a vital role in it. Therefore, it is very important to quickly and effectively solve problems that may arise in the system and ensure the availability of the server system. With the continuous expansion of the network scale, the scale of the server is also getting larger and larger. The traditional on-site supervision method can no longer meet the needs of monitoring and management. The server monitoring system has become very important. The monitoring management system can remotely monitor and control the server, obtain the working status of the server in real time, and facilitate the management personnel to manage the server.
[0003] At present, the monitoring system uses a dedicated monitoring chip to collect the server's operating temperature and control the operation of the cooling fan; the monitoring chip needs to be equipped with peripheral devices such as DDR memory, FLASH, and power management chip, and all these chips need to be soldered to the server motherboard.
[0004] However, the monitoring system is a small Linux system. It takes several seconds to more than ten seconds from power-on to entering normal working state or restarting. There are some defects in actual use:
[0005] 1. The design cost of the server motherboard is expensive. Once the monitoring chip is selected, the hardware design of the monitoring chip and the software design based on the dedicated hardware cannot be changed;
[0006] 2. The server motherboard needs to integrate a small embedded system consisting of a monitoring chip and its supporting memory, FLASH and other peripheral devices, which increases the wiring area of the motherboard and is not conducive to the miniaturization of the server motherboard;
[0007] 3. The monitoring system will be in a blank state within a few seconds to more than ten seconds before power-on or restart. In particular, the out-of-control fan will work at the maximum speed, making a harsh noise and accelerating the wear of the fan life. Summary of the invention
[0008] The technical problem to be solved by the present invention is to provide a fan control system for Feiteng servers that is convenient for replacing monitoring chips, saves server design space, and can monitor the server mainboard in the shortest possible time and control the fan to run at a normal speed.
[0009] Another technical problem to be solved by the present invention is to provide a control method for the fan control system of the above-mentioned Feiteng server.
[0010] The technical problem to be solved by the present invention is achieved by the following technical solution. The present invention is a fan control system of a Feiteng server, the control system includes a single-chip microcomputer module, a fan control module, a temperature measurement module and a monitoring management module, the single-chip microcomputer module includes a single-chip microcomputer, a reset circuit, a clock circuit and a voltage conversion module, the temperature measurement module, the fan control module, the clock circuit, the voltage conversion module, the reset circuit, and the monitoring management module are all connected to the single-chip microcomputer, and the monitoring management module is also connected to the reset circuit.
[0011] The technical problem to be solved by the present invention can also be further achieved by the following technical solution. For the fan control system of the Feiteng server described above, the single-chip microcomputer is connected to the temperature measurement module through the I2C bus signals DPJ_TEMP_SCL and DPJ_TEMP_SDA, and the DPJ_TEMP_SCL and DPJ_TEMP_SDA signals are respectively connected to the SCL1 and SDA1 pins of the single-chip microcomputer;
[0012] The MCU outputs high and low levels through the PWM signal FAN_CTL[X], which is connected to the fan control module. FAN_CTL[X] is connected to the timer pin [X] of the MCU. The speed signal FAN_TAC[X] of the fan control module is connected to the timer pin [X+7] of the MCU. The value range of X is 0 to 7.
[0013] The single-chip microcomputer is connected to the monitoring management module through UART signals INTERFACE_MONITOR_TX and INTERFACE_MONITOR_RX, and the INTERFACE_MONITOR_TX and INTERFACE_MONITOR_RX signals are connected to the UART_TX1 and UART_RX1 pins of the single-chip microcomputer respectively.
[0014] The technical problem to be solved by the present invention can be further achieved through the following technical solution. For the fan control system of the Feiteng server described above, the monitoring management module is connected to the reset circuit through the reset signal line RESET_MCU.
[0015] The technical problem to be solved by the present invention can be further achieved through the following technical solutions. For the fan control system of the Feiteng server described above, the voltage conversion circuit is externally connected to +5V_STBY for independent power supply and outputs voltage to the single-chip microcomputer.
[0016] The technical problem to be solved by the present invention can also be further achieved by the following technical solutions. For the fan control system of the Feiteng server described above, the temperature measurement module includes several temperature measurement chips LM75ADP, and the pin 5 of the temperature measurement chip LM75ADP is connected to the external voltage P3V3_STBY and connected to the capacitor C120 at the same time, and the other end of C120 is grounded; the pin 3 of the temperature measurement chip LM75ADP is connected to the resistor R140, and the other end of R140 is grounded; the pin 4, pin 6, pin 7, and pin 8 of the temperature measurement chip LM75ADP are grounded; the pin 1 of all the temperature measurement chips LM75ADP chips are connected together, and the pin 2 of all the temperature measurement chips LM75ADP chips are connected together.
[0017] The technical problem to be solved by the present invention can also be further achieved by the following technical solutions. For the fan control system of the Feiteng server described above, the fan control module includes an N-channel field effect transistor and a fan connector. The fan control signal FAN_CTL[X] is connected to the G end of the N-channel field effect transistor, and is also connected to the resistor R130, the capacitor C110, and the capacitor C111. The other end of R130 is connected to the external voltage P3V3, and the other ends of C110 and C111 are grounded.
[0018] The S end of the N-channel field effect transistor is grounded, the D end of the N-channel field effect transistor is connected to the positive electrode of the resistor R133, the resistor R132, and the diode D2 at the same time, the other end of the resistor R133 is connected to the pin 4 of the fan connector, the other ends of the resistor R132 and the diode D2 are connected to the external voltage P5V, one end of the capacitor C117 is connected to the external voltage P5V, and the other end is grounded;
[0019] The fan speed signal FAN_CTL[X] is connected to pin 3 of the fan connector, and is also connected to the positive electrode of capacitor C112, capacitor C113, resistor R131, and diode D1. The other ends of capacitor C112 and capacitor C113 are grounded, and the other ends of resistor R131 and diode D1 are connected to the voltage output end of the voltage conversion circuit.
[0020] Pin 2 of the fan connector is connected to the voltage P12V, and is also connected to capacitors C114, C115, and C116. The other ends of capacitors C114, C115, and C116 are grounded; pin 1 of the fan connector is grounded.
[0021] The technical problem to be solved by the present invention can also be further achieved through the following technical solutions. For the fan control system of the Feiteng server described above, the model of the single chip microcomputer is STM32F103RF.
[0022] The technical problem to be solved by the present invention can also be further achieved through the following technical scheme. For the fan control system of the Feiteng server mentioned above, the monitoring and management module is a PCI-E board designed with a general embedded processor chip or a PCI-E board designed with a server-specific monitoring processor chip.
[0023] The technical problem to be solved by the present invention can be further achieved by the following technical solutions. For the fan control system of the Feiteng server described above, a fan control method of the Feiteng server is provided, and its contents are as follows:
[0024] (1) Within 100 milliseconds of power-on, the MCU module enters normal working state, monitors the ambient temperature through the temperature measurement module, and controls the speed of fans at various locations through the fan control module, so that the server motherboard operates within a safe temperature range;
[0025] (2) The MCU module communicates with the temperature measurement module through the I2C bus DPJ_TEMP_SDA and DPJ_TEMP_SCL to obtain the temperature information of the temperature measurement module;
[0026] (3) The MCU module outputs a fixed-frequency PWM signal through the FAN_CTL[X] signal and simultaneously collects the count signal of FAN_CTL[X]. The two are combined to control the speed of the fan. When the PWM signal is low, the fan interrupts the connection with the external P12V power supply. When the PWM signal is high, the fan continues the connection with the external P12V power supply. At the same time, the MCU module adjusts the duty cycle of the PWM signal according to the temperature curve parameters transmitted by the monitoring and management module to control the speed of the fan.
[0027] (4) The MCU module reports the status information of the server motherboard to the monitoring and management module through UART communication, and receives configuration parameters from the monitoring and management module to change the working mode of the MCU module;
[0028] (5) The single-chip microcomputer module receives a forced reset signal from the monitoring and management module, restarts itself, exits the error state, and enters the normal working state.
[0029] Compared with the prior art, the advantages and technical effects of the present invention are as follows:
[0030] 1. Convenient replacement of monitoring chip
[0031] The technical solution proposed in the present invention separates monitoring management from fan control, and places the monitoring management module on an independent board. The monitoring management module can use common embedded processor chips on the market, not just dedicated monitoring management chips, because it is no longer a niche chip product, and the supply and price are guaranteed. In particular, the use of general processor chip design can take advantage of my country's large number of developers, rich design resources and technical support, and the human, material and technical guarantees can change my country's weak position in the field of server monitoring management.
[0032] 2. It is conducive to the miniaturization of servers
[0033] The monitoring design based on the universal single-chip microcomputer module proposed in the present invention saves the wiring space of the server mainboard, reduces the design difficulty of the mainboard, can reduce the size of the server chassis, and is conducive to the miniaturization of the server;
[0034] 3. Full-process and comprehensive monitoring of the server motherboard operation
[0035] The new control system proposed in the present invention can monitor the server mainboard in the shortest possible time, and control the fan to run at a normal speed based on the monitoring of the ambient temperature, thereby eliminating the harsh fan noise emitted when the server is turned on, reducing the life and wear of the fan, and allowing the server to run as quietly as a PC. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A structural diagram of the present invention;
[0037] Figure 2 It is a temperature measurement module diagram of the present invention;
[0038] Figure 3 This is a diagram of the fan control module of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] Reference Figure 1-3 A fan control system for a Feiteng server includes a single-chip microcomputer module, a fan control module, a temperature measurement module and a monitoring management module. The single-chip microcomputer module includes a single-chip microcomputer, a reset circuit, a clock circuit, and a voltage conversion module. The single-chip microcomputer uses an STM32F103RF chip.
[0041] The microcontroller module is connected via I 2 C bus signals DPJ_TEMP_SCL and DPJ_TEMP_SDA are used to connect multiple temperature measurement modules to obtain temperature data at multiple locations on the server; DPJ_TEMP_SCL and DPJ_TEMP_SDA signals are connected to the SCL1 and SDA1 pins of the STM32F103RF chip respectively;
[0042] The MCU module outputs high and low levels through the PWM signal FAN_CTL[X] to control the power on / off state of the fan. FAN_CTL[X] is connected to the timer pin [X] of the STM32F103RF chip. The fan speed signal FAN_TAC[X] is connected to the timer pin [X+7] of the STM32F103RF chip to measure the fan speed. The value range of X is 0 to 7.
[0043] The single-chip microcomputer module is connected to the monitoring management module through the UART signals INTERFACE_MONITOR_TX and INTERFACE_MONITOR_RX; the INTERFACE_MONITOR_TX and INTERFACE_MONITOR_RX signals are connected to the UART_TX1 and UART_RX1 pins of the STM32F103RF chip respectively;
[0044] The monitoring and management module is a PCI-E card containing a general-purpose embedded processor, which runs the Linux system and provides monitoring and management functions to remote users;
[0045] The monitoring management module is connected to the reset circuit through the reset signal line RESET_MCU. When RESET_MCU is at a low level, the single-chip microcomputer module enters the reset state. When RESET_MCU is at a high level, the single-chip microcomputer module enters the normal state.
[0046] The +5V_STBY independent power supply generates a P3V3_STBY voltage through a voltage conversion circuit for use by the single-chip microcomputer STM32F103RF; the monitoring management module controls the working state of the present invention through a UART interface and a reset signal line.
[0047] The temperature measurement module is composed of LM75ADP and peripheral devices; Pin 5 of the temperature measurement chip LM75ADP is connected to the voltage P3V3_STBY and is also connected to the capacitor C120, and the other end of C120 is grounded; Pin 3 of the LM75ADP is connected to the resistor R140, and the other end of R140 is grounded; Pins 4, 6, 7, and 8 of the LM75ADP are grounded; The above combination constitutes a most basic temperature measurement function module, which is placed near the PCI-E slot of the server motherboard, near the processor, and near the memory slot according to the temperature measurement requirements; The temperature measurement unit is placed near the PCI-E slot, near the processor, and near the memory slot of the server motherboard according to the temperature measurement requirements;
[0048] Pin 1 of all LM75ADP chips are connected together, and pin 2 of all LM75ADP chips are connected together; the signal at pin 1 is DPJ_TEMP_SDA, and the signal at pin 2 is DPJ_TEMP_SCL;
[0049] The fan control signal FAN_CTL[X] is connected to the G terminal of the N-channel field effect transistor, and is also connected to the resistor R130, the capacitor C110, and the capacitor C111. The other end of R130 is connected to the voltage P3V3, and the other ends of C110 and C111 are grounded.
[0050] The S end of the N-channel field effect transistor is grounded; the D end of the N-channel field effect transistor is connected to the positive electrode of the resistor R133, the resistor R132, and the diode D2 at the same time, the other end of the resistor R133 is connected to the pin 4 of the fan connector, and the other ends of the resistor R132 and the diode D2 are connected to the voltage P5V. One end of the capacitor C117 is connected to the voltage P5V, and the other end is grounded;
[0051] The fan speed signal FAN_CTL[X] is connected to pin 3 of the fan connector, and is also connected to the positive electrode of capacitor C112, capacitor C113, resistor R131, and diode D1. The other ends of capacitor C112 and capacitor C113 are grounded, and the other ends of resistor R131 and diode D1 are connected to voltage P3V3.
[0052] Pin 2 of the fan connector is connected to the voltage P12V, and is also connected to capacitors C114, C115, and C116. The other ends of capacitors C114, C115, and C116 are grounded. Pin 1 of the fan connector is grounded.
[0053] When the fan control signal FAN_CTL[X] is low, the fan connected to the fan connector stops rotating; when FAN_CTL[X] is high, the fan continues to rotate, and the fan continues to output a pulse signal through FAN_CTL[X].
[0054] The inventive principle of this application:
[0055] 1. Within 100 milliseconds of power-on, the MCU module enters normal working state, monitors the ambient temperature, controls the speed of fans in various places, and makes the server motherboard work within a safe temperature range;
[0056] 2. The MCU module communicates through the I2C bus DPJ_TEMP_SDA and DPJ_TEMP_SCL to obtain the temperature information of the LM75ADP chip;
[0057] 3. The MCU module outputs a fixed-frequency PWM signal through the FAN_CTL[X] signal and collects the count signal of FAN_CTL[X] at the same time. The two are combined to control the speed of the fan. When the PWM signal is low, the fan interrupts the connection with the P12V power supply. When the PWM signal is high, the fan continues the connection with the P12V power supply. The MCU module adjusts the duty cycle of the PWM signal according to the temperature curve parameters to control the speed of the fan.
[0058] 4. The MCU module reports the status information of the server mainboard to the monitoring and management module through UART communication, and receives the configuration parameters from the monitoring and management module to change the working mode of the MCU module;
[0059] 5. The single-chip microcomputer module receives the forced reset signal from the monitoring and management module, restarts itself, exits from the error state, and enters the normal working state.
[0060] The invention of this application is:
[0061] 1. The temperature of the server is measured by the microcontroller module;
[0062] 2. The speed of the server cooling fan is controlled by the single-chip microcomputer module;
[0063] 3. The single chip microcomputer module adjusts the fan speed in real time according to the temperature curve;
[0064] 4. The monitoring and management module transmits the temperature curve to the microcontroller module through the UART interface;
[0065] 5. The monitoring management module resets the microcontroller module through the reset signal line RESET_MCU;
[0066] 6. The monitoring and management module can adopt a PCI-E board designed with a general embedded processor chip, or a PCI-E board designed with a server-specific monitoring processor chip.
[0067] The advantages of this application are:
[0068] (1) Convenient replacement of monitoring chips
[0069] The technical solution proposed in the present invention separates monitoring management from fan control, and places the monitoring management module on an independent board. The monitoring management module can use common embedded processor chips on the market, not just dedicated monitoring management chips, because it is no longer a niche chip product, and the supply and price are guaranteed. In particular, the use of general processor chip design can take advantage of my country's large number of developers, rich design resources and technical support, and the human, material and technical guarantees can change my country's weak position in the field of server monitoring management.
[0070] (2) It is conducive to the miniaturization of servers
[0071] The monitoring design based on the universal single-chip microcomputer module proposed in the present invention saves the wiring space of the server mainboard, reduces the design difficulty of the mainboard, can reduce the size of the server chassis, and is conducive to the miniaturization of the server;
[0072] (3) Fully monitor the operation of the server motherboard without blind spots
[0073] The new control system proposed in the present invention can monitor the server mainboard in the shortest possible time, and control the fan to run at a normal speed based on the monitoring of the ambient temperature, thereby eliminating the harsh fan noise emitted when the server is turned on, reducing the life and wear of the fan, and allowing the server to run as quietly as a PC.
Claims
1. A fan control method for a Feiteng server, characterized in that: The method uses a fan control system of a Feiteng server, which includes a single-chip microcomputer module, a fan control module, a temperature measurement module and a monitoring management module. The single-chip microcomputer module includes a single-chip microcomputer, a reset circuit, a clock circuit and a voltage conversion module. The temperature measurement module, the fan control module, the clock circuit, the voltage conversion module, the reset circuit and the monitoring management module are all connected to the single-chip microcomputer, and the monitoring management module is also connected to the reset circuit. The voltage conversion module is externally connected to +5V_STBY for independent power supply and outputs voltage to the single chip microcomputer; The monitoring management module is a PCI-E board designed with a general embedded processor chip or a PCI-E board designed with a server-specific monitoring processor chip; The method content is as follows: (1) Within 100 milliseconds of power-on, the MCU module enters normal working state, monitors the ambient temperature through the temperature measurement module, and controls the speed of fans at various locations through the fan control module, so that the server motherboard operates within a safe temperature range; (2) The microcontroller module uses I 2 C bus DPJ_TEMP_SDA, DPJ_TEMP_SCL communicate with the temperature measurement module to obtain the temperature information of the temperature measurement module; (3) The MCU module outputs a fixed-frequency PWM signal through the FAN_CTL[X] signal and simultaneously collects the count signal of FAN_CTL[X]. The two are combined to control the speed of the fan. When the PWM signal is low, the fan interrupts the connection with the external P12V power supply. When the PWM signal is high, the fan continues the connection with the external P12V power supply. At the same time, the MCU module adjusts the duty cycle of the PWM signal according to the temperature curve parameters transmitted by the monitoring and management module to control the speed of the fan. (4) The MCU module reports the status information of the server motherboard to the monitoring and management module through UART communication, and receives configuration parameters from the monitoring and management module to change the working mode of the MCU module; (5) The single-chip microcomputer module receives a forced reset signal from the monitoring and management module, restarts itself, exits the error state, and enters the normal working state.
2. The fan control method of Feiteng server according to claim 1, characterized in that: The single chip microcomputer is connected via I 2 The C bus signals DPJ_TEMP_SCL and DPJ_TEMP_SDA are connected to the temperature measurement module, and the DPJ_TEMP_SCL and DPJ_TEMP_SDA signals are connected to the SCL1 and SDA1 pins of the microcontroller respectively; The MCU outputs high and low levels through the PWM signal FAN_CTL[X], which is connected to the fan control module. FAN_CTL[X] is connected to the timer pin [X] of the MCU. The speed signal FAN_TAC[X] of the fan control module is connected to the timer pin [X+7] of the MCU. The value range of X is 0 to 7. The single-chip microcomputer is connected to the monitoring management module through UART signals INTERFACE_MONITOR_TX and INTERFACE_MONITOR_RX, and the INTERFACE_MONITOR_TX and INTERFACE_MONITOR_RX signals are connected to the UART_TX1 and UART_RX1 pins of the single-chip microcomputer respectively.
3. The fan control method of Feiteng server according to claim 1, characterized in that: The monitoring management module is connected to the reset circuit via a reset signal line RESET_MCU.
4. The fan control method of Feiteng server according to claim 1, characterized in that: The temperature measurement module includes several temperature measurement chips LM75ADP, wherein pin 5 of the temperature measurement chip LM75ADP is connected to an external voltage P3V3_STBY and to a capacitor C120, and the other end of C120 is grounded; pin 3 of the temperature measurement chip LM75ADP is connected to a resistor R140, and the other end of R140 is grounded; pins 4, 6, 7, and 8 of the temperature measurement chip LM75ADP are grounded; pins 1 of all the temperature measurement chips LM75ADP are connected together, and pins 2 of all the temperature measurement chips LM75ADP are connected together.
5. The fan control method of Feiteng server according to claim 1, characterized in that: The fan control module includes an N-channel field effect transistor and a fan connector, the fan control signal FAN_CTL[X] is connected to the G end of the N-channel field effect transistor, and is also connected to a resistor R130, a capacitor C110, and a capacitor C111, the other end of R130 is connected to an external voltage P3V3, and the other ends of C110 and C111 are grounded; The S end of the N-channel field effect transistor is grounded, the D end of the N-channel field effect transistor is connected to the positive electrode of the resistor R133, the resistor R132, and the diode D2 at the same time, the other end of the resistor R133 is connected to the pin 4 of the fan connector, the other ends of the resistor R132 and the diode D2 are connected to the external voltage P5V, one end of the capacitor C117 is connected to the external voltage P5V, and the other end is grounded; The fan speed signal FAN_CTL[X] is connected to pin 3 of the fan connector, and is also connected to the positive electrode of capacitor C112, capacitor C113, resistor R131, and diode D1. The other ends of capacitor C112 and capacitor C113 are grounded, and the other ends of resistor R131 and diode D1 are connected to the voltage output end of the voltage conversion circuit. Pin 2 of the fan connector is connected to the voltage P12V, and is also connected to capacitors C114, C115, and C116. The other ends of capacitors C114, C115, and C116 are grounded; pin 1 of the fan connector is grounded.
6. The fan control method of Feiteng server according to claim 1, characterized in that: The model of the single chip microcomputer is STM32F103RF.
Citation Information
Patent Citations
MCU based intelligent fan control system
CN105587678A
Smart fan system based on single chip microcomputer control
CN205207234U
Fan control system of Feiteng server
CN212407104U
Gas pressure in tire measuring device
JP2008267862A
System and mtehod for monitoring server simulated loads
US20130166092A1
