Fan controls and electronics

By introducing fan control devices into the server, using target mapping relationships and logical fan speed control instructions, the adaptation problem of irregular fan module sequence is solved, and the flexibility and maintainability of fan control devices are improved.

CN120231782BActive Publication Date: 2025-08-12INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510713082.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2025-08-12
Estimated Expiration
2045-05-29

AI Technical Summary

Technical Problem

In the prior art, the order of fan modules is not fixed, resulting in inconsistent connector numbers and fan module numbers, which cannot meet the adaptation requirements of multiple server architectures, increasing design costs and maintenance difficulties.

Method used

A fan control device is adopted, including a motherboard and a fan board, and the target mapping relationship is determined by the first controller, and the speed regulation command of the fan module is mapped into the speed regulation command of the logical fan. The second controller controls the speed of the fan module through the target port to achieve adaptability of multiple connection sequences.

Benefits of technology

It improves the reusability and maintainability of fan control devices, enhances the adaptability to different heat dissipation scenarios, and reduces design and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120231782B_ABST
    Figure CN120231782B_ABST
Patent Text Reader

Abstract

The present invention provides a fan control device and electronic device, which can be applied to the field of fan control technology. The fan control device includes: a mainboard provided with a first controller; a fan board provided with a second controller and a connector, the connector including multiple ports, the connector being used to electrically connect to multiple fan modules through multiple target ports among the multiple ports, the target ports corresponding to multiple logical fans respectively; wherein the first controller is used to determine a target mapping relationship, and in response to a fan speed adjustment event being triggered, based on the target mapping relationship, maps the speed adjustment instructions of the multiple fan modules into speed adjustment instructions of multiple logical fans, wherein the target mapping relationship is used to represent the mapping relationship between the multiple fan modules and the multiple logical fans; and the second controller is used to control the speed of the multiple fan modules through the multiple target ports based on the speed adjustment instructions of the multiple logical fans.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fan control, and in particular to a fan control device, electronic equipment and a fan control method. Background Art

[0002] In recent years, with the rapid development of internet technology, cloud services and cloud computing have flourished. Servers, as key devices supporting various current internet applications, have become increasingly important. Simultaneously, server computing power and storage density have experienced explosive growth, inevitably leading to increased power consumption and heat generation in these devices. Therefore, the design of server cooling systems has become particularly important. Air cooling is a mainstream server cooling method, using fan modules as the primary heat dissipation component. This is achieved by accelerating the flow of cool air into the chassis and the flow of hot air out of it.

[0003] The controller on the fan board can control different fans based on the connection relationship between the connector and the fan module, thereby achieving the purpose of independently regulating the speed of different fan modules. However, the order of the fan modules in different server architectures is not fixed. As a result, the order of the connector numbers cannot be consistent with the order of the fan module numbers in some architectures. Therefore, the fan control solution in the related art cannot meet the adaptation requirements of various scenarios. Summary of the Invention

[0004] In view of the above problems, the present invention provides a fan control device and an electronic device.

[0005] One aspect of the present invention provides a fan control device, which is arranged in a chassis of an electronic device, and the fan control device includes: a main board, which is provided with a first controller; a fan board, which is provided with a second controller and a connector, and the connector includes multiple ports, and the connector is used to electrically connect to multiple fan modules respectively through multiple target ports among the multiple ports, and the multiple ports correspond to multiple logical fans respectively; wherein the first controller is used to determine a target mapping relationship, and in response to a fan speed regulation event being triggered, based on the target mapping relationship, the speed regulation instructions of the multiple fan modules are mapped to the speed regulation instructions of the multiple logical fans, wherein the target mapping relationship is used to represent the mapping relationship between the multiple fan modules and the multiple logical fans; and the second controller is used to control the speed of the multiple fan modules respectively through the multiple target ports based on the speed regulation instructions of the multiple logical fans.

[0006] Another aspect of the present invention provides an electronic device including the fan control device as described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0008] Figure 1A An example of the connection relationship between the fan module and the connector on the fan board is shown;

[0009] Figure 1B Two examples of fan module arrangements are shown;

[0010] Figure 2 A schematic diagram of a fan control device according to an embodiment of the present invention is shown schematically;

[0011] Figure 3 A schematic diagram of a fan control device according to another embodiment of the present invention is shown schematically;

[0012] Figure 4 A schematic diagram of a fan control device according to another embodiment of the present invention is shown schematically;

[0013] Figure 5 A schematic diagram of a fan control device according to another embodiment of the present invention is shown schematically;

[0014] Figure 6 A schematic diagram of a fan control device according to another embodiment of the present invention is shown schematically;

[0015] Figure 7 A schematic diagram of a fan control device according to another embodiment of the present invention is shown schematically;

[0016] Figure 8 A schematic diagram of a fan control device according to another embodiment of the present invention is shown schematically;

[0017] Figure 9 A schematic diagram of a fan control device according to another embodiment of the present invention is shown schematically;

[0018] Figure 10 A schematic diagram of the operation flow of the fan control device when the first controller according to an embodiment of the present invention works abnormally is shown;

[0019] Figure 11 A schematic diagram illustrating the operating principle of a fan control device when a first controller works abnormally according to another embodiment of the present invention is shown;

[0020] Figure 12 Schematically shows a structural diagram of an electronic device according to an embodiment of the invention;

[0021] Figure 13 The flowchart of the fan control method according to the embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0022] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concept of the present invention.

[0023] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the presence of the features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.

[0024] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0025] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0026] Currently, server cooling systems primarily use air cooling or liquid cooling. The fan module is the primary heat dissipation component in air-cooled servers. Air cooling is achieved by accelerating the flow of cold air into the chassis and the flow of hot air out of it.

[0027] Fan modules can be arranged in one, two, or even more layers depending on the server architecture. For example, large-capacity servers or AI servers, where a single server host contains a large number of processors and memory, require more layers of fan modules to achieve a wider ventilation area.

[0028] The fan modules can be connected to each other through cables and connectors on the fan board.

[0029] Figure 1A An example of the connection relationship between the fan module and the connector on the fan board is shown.

[0030] like Figure 1A As shown, the fan modules can be numbered according to 0-9, and the corresponding connectors can also be numbered according to 0-9. Fan modules with the same number are connected to the connectors. The controller on the fan board can control different fan speeds according to the relationship between the connectors, thereby achieving the purpose of separate speed regulation of different fan modules.

[0031] However, in actual development and use, the order of fan modules is not fixed or regular, but rather varies. This results in the connector numbering sequence sometimes not being consistent with the fan module numbering sequence. In this case, adjusting cables and modifying the fan board design not only increases costs but also brings many maintenance difficulties, which is not an optimal solution.

[0032] Figure 1B Two examples of fan module arrangement are shown.

[0033] like Figure 1B As shown, in heat dissipation scenario one, the electronic device needs to have fan modules in 10 positions, and the order is from top to bottom and from left to right. However, in heat dissipation scenario two, the electronic device only needs to have fan modules in 8 positions, and the setting order is staggered. In this way, for different heat dissipation scenarios, not only the fan modules need to be adjusted, but also the fan connection plates corresponding to the fan modules need to be adjusted in order to adapt to different orders. Figure 1B These are just two examples of fan module sequence behavior. Actual scenarios can be even more complex and diverse. Therefore, the current fan control solution cannot meet the requirements of multiple scenarios.

[0034] To address the above issues, it is necessary to develop a fan module and connector that use the same set of physical connection relationships, which can achieve the effect of multiple connection sequences after being controlled by a controller, thereby adapting to different cooling scenarios.

[0035] In view of this, an embodiment of the present invention provides a fan control device that has strong flexibility when facing the layout and arrangement of multi-layer fan modules, and can at least partially solve the problems of poor reusability, high design cost and difficult maintenance in related solutions.

[0036] Specifically, an embodiment of the present invention provides a fan control device, which is arranged in a chassis of an electronic device, and the fan control device includes: a main board, which is provided with a first controller; a fan board, which is provided with a second controller and a connector, the connector including multiple ports, and the connector is used to electrically connect to multiple fan modules through multiple target ports among the multiple ports, and the multiple ports correspond to multiple logical fans respectively; wherein, the first controller is used to determine a target mapping relationship, and in response to a fan speed regulation event being triggered, based on the target mapping relationship, the speed regulation instructions of the multiple fan modules are mapped to speed regulation instructions of multiple logical fans, wherein the target mapping relationship is used to represent the mapping relationship between multiple fan modules and multiple logical fans; and the second controller is used to control the speed of multiple fan modules respectively through multiple target ports based on the speed regulation instructions of multiple logical fans.

[0037] Figure 2 The figure schematically shows a fan control device according to an embodiment of the present invention.

[0038] like Figure 2 As shown, the fan control device 200 can be set in the heat dissipation duct area of the server chassis or other areas of electronic equipment that need heat dissipation. The fan control device 200 can include a mainboard 10 and a fan board 20, which are electrically connected through a board-to-board connector.

[0039] According to an embodiment of the present invention, the motherboard 10 may be a multi-layer circuit board or a single-layer circuit board, without limitation. A first controller 11 may be disposed on one surface of the motherboard 10 and may be fixed to the motherboard 10 by soldering. The first controller 11 may be a baseboard management controller (BMC). The first controller 11 may transmit information via an LPC bus (Low Pin Count Bus) or an I2C bus (Inter-Integrated Circuit Bus).

[0040] According to an embodiment of the present invention, the fan board 20 may be a single-sided board, a double-sided board, or a multi-layer circuit board, which is not limited herein. The fan board 20 may include a second controller 21 and a connector 22. The second controller 21 may be an MCU (Microcontroller Unit) or a CPLD (Complex Programmable Logic Device). The connector 22 may include multiple ports, such as port P0, port P1, port P2, and port P3. nThe fan module is a physical fan that is connected to some or all of the ports. For example, port P0 is connected to the physical fan F. A Electrical connection, port P1 and physical fan F B Electrical connection, port P2 and physical fan F C Electrical connection and port P n With physical fan F Z Each port can correspond to a logical fan, for example, port P0 can correspond to logical fan P0, port P1 can correspond to logical fan P1, port Pn can correspond to logical fan Pn, and so on.

[0041] According to an embodiment of the present invention, the number of logical fans can be greater than the number of physical fans, and some ports may not be connected to physical fans. The target port may represent a port connected to a physical fan, and the number of target ports is less than or equal to the number of ports.

[0042] According to an embodiment of the present invention, when the electronic device starts running, the first controller 11 can determine the target mapping relationship through relevant device information of the electronic device or through manual setting. The target mapping relationship is used to represent the mapping relationship between multiple fan modules and multiple logical fans.

[0043] According to an embodiment of the present invention, when an electronic device is in operation, a fan speed adjustment event may be triggered due to factors such as temperature changes and human control. The first controller 11 will respond and determine the speed adjustment instructions of multiple fan modules, and then map the speed adjustment instructions of the multiple fan modules into speed adjustment instructions for multiple logical fans based on the target mapping relationship.

[0044] For example: the target mapping relationship can be as follows Figure 2 For example, the physical fan F A Corresponding to logical fan P0 and physical fan F B Corresponding logical fan P1, physical fan F C Corresponding to logical fan P2, physical fan F Z Corresponding logical fan P n . In the physical fan F A and physical fan F B When performing speed control, the first speed control instruction is used and based on the target mapping relationship, the physical fan F A and physical fan F B The first speed control instruction is mapped into the speed control instruction for the logical fan P0 and the logical fan P1 and sent to the second controller. The second controller sends the speed control instruction for the logical fan P0 and the logical fan P1 to the port P0 and the port P1 respectively based on the physical connection relationship on the current fan board. A Electrical connection, port P1 and physical fan FB The second controller can use the first speed control instruction to adjust the physical fan F A and physical fan F B speed.

[0045] According to an embodiment of the present invention, during the actual speed control process, the second controller adjusts the parameters of the output signal according to the requirements of the speed regulation instruction, thereby changing the supply voltage or current of the fan module to achieve the purpose of accurately controlling the fan speed.

[0046] According to an embodiment of the present invention, the first controller can realize adaptive switching of multiple fan sequences by loading different mapping relationships, and indirectly control the fan module after the conversion sequence by regulating the signal instructions of the logical fan, thereby effectively improving the flexibility of the fan module arrangement layout and improving the reusability of the fan control device.

[0047] According to an embodiment of the present invention, a first memory is further provided on the mainboard; the first memory is used to store device configuration information and a logical mapping table, wherein the logical mapping table includes multiple logical mapping relationships. The first controller is used to read the device configuration information and the logical mapping table from the first memory; and based on the device configuration information, determine a target mapping relationship from the multiple logical mapping relationships included in the logical mapping table.

[0048] Figure 3 The figure schematically shows a fan control device according to another embodiment of the present invention.

[0049] like Figure 3 As shown, the fan control device 300 includes a mainboard 10 and a fan board 20. The mainboard 10 is equipped with a first controller 11 and a first memory 12. The fan board 20 is equipped with a second controller 21 and a connector 22. The connector 22 connects multiple fan modules via multiple ports. The mapping relationship between logical fans and fan modules can be stored in the first memory 12, which can be a FRU (Baseboard Management Controller, an asset information storage chip). The first controller 11 is electrically connected to the first memory 12, which is electrically connected to the second controller 21, which is electrically connected to the connector 22.

[0050] According to an embodiment of the present invention, device configuration information may include the manufacturer, model, environmental parameters, the order of fan modules configured in the electronic device, or the presence and vacancy of fan modules configured in the electronic device. For example, if the electronic device is an AI server, the device configuration information may include core computing device information, storage system information, and network configuration information. The core computing device information may include GPU location and model information, and CPU location and model information.

[0051] According to an embodiment of the present invention, the logical mapping table may include multiple logical mapping relationships, each of which may represent a mapping relationship between multiple fan modules and multiple logical fans. For example, the logical mapping table may be as shown in Table 1.

[0052] Table 1

[0053]

[0054] In Table 1, mapping relationship 1 is fan module F A Corresponding logical fan P0, fan module F B Corresponding to the logical fan P1, the fan module Fc corresponds to the logical fan P2, the fan module F D Corresponding logical fan P3, fan module F E Corresponding logical fan P4, fan module F F Corresponding logical fan P5, fan module F G Corresponding to logical fan P6.

[0055] Mapping relationship 2 is fan module F A Corresponding logical fan P6, fan module F B Corresponding to the logical fan P5, the fan module Fc corresponds to the logical fan P4, the fan module F D Corresponding logical fan P3, fan module F E Corresponding logical fan P2, fan module F F Corresponding logical fan P1, fan module F G Corresponding to logical fan P0.

[0056] Mapping relationship three is fan module F A Empty space, fan module F B Corresponding to the logical fan P4, fan module Fc corresponds to the logical fan P5, fan module F D Corresponding logical fan P6, fan module F E Corresponding logical fan P0, fan module F F Corresponding logical fan P1, fan module F G It is a vacant seat.

[0057] According to an embodiment of the present invention, the determination of the target mapping relationship can be determined based on the vacancy information of the fan module. For example, the fan module F is obtained based on the vacancy information of each fan module included in the device configuration information. A and fan module F G If it is an empty position, then only mapping relationship three meets the requirements for the three mapping relationships stored in the logical mapping table, and the target mapping relationship can be determined to be mapping relationship three.

[0058] According to an embodiment of the present invention, the target mapping relationship can also be determined by the electrical connection relationship between the port and the fan module stored in the device configuration information. For example, according to the device configuration information, it is obtained that the port P0 is electrically connected to the fan module F. A , port P0 is electrically connected to the fan module F G , then for the three mapping relationships stored in the logical mapping table, only mapping relationship three meets the requirements, so it can be determined that the target mapping relationship is mapping relationship one.

[0059] According to an embodiment of the present invention, a second memory is further provided on the fan board; the second memory is used to store device configuration information and a logical mapping table, wherein the logical mapping table includes multiple logical mapping relationships. The device configuration information and the logical mapping table are read from the second memory; and based on the device configuration information, a target mapping relationship is determined from the multiple logical mapping relationships included in the logical mapping table.

[0060] Figure 4 The figure schematically shows a fan control device according to another embodiment of the present invention.

[0061] like Figure 4 As shown, fan control device 400 includes a mainboard 10 and a fan board 20. Mainboard 10 is equipped with a first controller 11, while fan board 20 is equipped with a second controller 21, a connector 22, and a second memory 23. Connector 22 connects multiple fan modules via multiple ports. The mapping between logical fans and fan modules can be stored in second memory 23, which can be a FRU (Baseboard Management Controller) asset information storage chip. First controller 11 is electrically connected to second memory 23, which is in turn electrically connected to second controller 21, which is in turn electrically connected to connector 22.

[0062] The method for constructing the logical mapping table and determining the target mapping relationship is the same as described above and will not be repeated here.

[0063] According to an embodiment of the present invention, by storing corresponding device configuration information and a logical mapping table in a first memory, a target mapping relationship can be obtained by filtering the logical mapping table using the device configuration information. This allows for matching different cooling requirements or fan module arrangement sequences, and speed adjustment of the corresponding fan module based on the target mapping relationship. This decouples the fan's physical address from its logical address, improving the scalability and maintainability of the fan control device. The method of the present invention also effectively enhances the flexibility of fan module arrangement and layout, improving the reusability of the fan control device.

[0064] According to an embodiment of the present invention, a first memory is further provided on the mainboard, the first memory being used to store device configuration information and a mapping information table, the mapping information table including multiple pieces of logical mapping information, the logical mapping information including information describing a mapping relationship between a fan module and a logical fan; a second memory is further provided on the fan board, the second memory being used to store a logical mapping table, the logical mapping table including multiple logical mapping relationships. The first controller is configured to determine target mapping information from the multiple pieces of logical mapping information included in the mapping information table based on the device configuration information; and to use the target mapping information to match the target mapping relationship from the multiple logical mapping relationships included in the logical mapping table.

[0065] Figure 5 Schematically shows a schematic diagram of a fan control device according to another embodiment of the present invention. Figure 5 As shown, fan control device 500 includes a motherboard 10 and a fan board 20. Motherboard 10 is equipped with a first controller 11 and a first memory 12. Fan board 20 is equipped with a second controller 21, a connector 22, and a second memory 23. Connector 22 connects to multiple fan modules via multiple ports. The mapping relationship between logical fans and fan modules can be stored in second memory 23. First controller 11 is electrically connected to first memory 12, second controller 21, and second memory 23. Second controller 21 is electrically connected to connector 22.

[0066] Both the first memory 12 and the second memory 23 may be FRUs (Field Replaceable Units, asset information storage chips).

[0067] According to an embodiment of the present invention, first memory 12 may store device configuration information and a mapping information table. The device configuration information may include hardware specifications of the electronic device, the cooling system topology, or the arrangement order of each fan module. The logical mapping information in the mapping information table may include multiple pieces of logical mapping information stored in the form of a relational database table. Each piece of logical mapping information includes descriptive fields such as the fan module's physical identifier, the logical identifier of the logical fan, the fan type, and the speed range. However, the logical mapping information is merely descriptive, and fan modules cannot be controlled solely based on the aforementioned logical mapping information.

[0068] According to an embodiment of the present invention, a logical mapping table may be stored in the second memory 23. The logical mapping table includes multiple logical mapping relationships. The logical mapping relationships associate corresponding logical fans and fan modules. For example, Table 1 above can be used as the logical mapping table.

[0069] According to an embodiment of the present invention, the target mapping relationship is first determined based on the device configuration information, and then the target mapping relationship is determined based on the target mapping information. For example, if the target mapping information obtained based on the vacancy information of each fan module included in the device configuration information indicates that the fan modules mapped to logical fans P3 and P2 are vacant, then, based on the target mapping information, a comparison is performed to determine that only mapping relationship three meets the requirements of the three mapping relationships stored in the logical mapping table. In this case, the target mapping relationship can be determined to be mapping relationship three.

[0070] According to an embodiment of the present invention, the target mapping relationship can be accurately determined from the logical mapping table based on the target mapping information. The target mapping information may include more comprehensive information about the logical fan and the fan module, making the determination of the target mapping relationship more precise.

[0071] According to an embodiment of the present invention, the first controller is also used to: match the target mapping information with multiple logical mapping relationships respectively to obtain matching results; when the matching result indicates that the first logical mapping relationship among the multiple logical mapping relationships matches the target mapping information, determine the first logical mapping relationship as the target mapping relationship; and when the matching result indicates that all the multiple logical mapping relationships do not match the target mapping information, select a second logical mapping relationship from the multiple logical mapping relationships, and determine the second logical mapping relationship as the target mapping relationship.

[0072] According to an embodiment of the present invention, during the matching process, the target mapping information is matched with multiple logical mapping relationships respectively. When matching with each logical mapping relationship, the mapping information between each logical fan and fan module expressed in the target mapping information is matched with the mapping relationship between the logical fan and the fan module in the logical mapping relationship in turn.

[0073] Based on the mapping relationship between a logical fan and a fan module in the target mapping information, all logical mapping relationships are matched in sequence. If the current set of logical mapping relationships is not satisfied, the next set of logical mapping relationships is switched to and matched in sequence until the target mapping relationship is obtained. For example, if Table 1 is used as the logical mapping table and the target mapping information shows that the fan module corresponding to the logical fan P4 is F B The first controller first uses this target mapping information to search in the mapping relationship 1, and obtains that the fan module corresponding to the logical fan P4 in the mapping relationship 1 is F E At this time, switch to mapping relationship 2 to search, but the fan module corresponding to the logical fan P4 in mapping relationship 2 is F C , it still does not meet the requirements, and now switches to mapping relationship three for search, and the match is successful, and finally the first logical mapping relationship is obtained. The above-mentioned first logical mapping relationship is the target mapping relationship.

[0074] If multiple logical mapping relationships do not match the target mapping information, for example, Table 1 is used as the logical mapping table, and the target mapping information shows that the fan module corresponding to the logical fan P4 is F A , the first controller uses mapping relationship 1, mapping relationship 2 and mapping relationship 3 in the mapping relationship table in turn to match, but none of them match. At this time, mapping relationship 1 can be specified as the second logical mapping relationship, and then the above-mentioned second logical mapping relationship can be used as the target mapping relationship. Alternatively, other target mapping information can be referred to for judgment. For example, the target mapping information also shows that the fan module corresponding to the logical fan P3 is vacant. Among the three mapping relationships in the logical mapping table, only the fan module corresponding to the logical fan P3 of mapping relationship 3 is vacant. In this case, the first controller can select mapping relationship 3 as the second logical mapping relationship, and then use the above-mentioned second logical mapping relationship as the target mapping relationship.

[0075] According to an embodiment of the present invention, when no matching result is obtained, an operating mode is designed to specify a mapping relationship. When specifying a mapping relationship, the logical mapping relationship that is closest to the physical location of the target mapping information, has the highest historical usage frequency, or is recommended by the manufacturer can be selected as the final target mapping relationship. The staff can also dynamically modify the specified mapping relationship and use another mapping relationship as the second logical mapping relationship based on the actual situation. This allows the present invention to maximize the heat dissipation of electronic equipment when the corresponding target mapping relationship cannot be matched, without affecting the normal operation of the system, thereby enhancing the flexibility and adaptability of the entire heat dissipation system.

[0076] According to an embodiment of the present invention, the first controller is also electrically connected to a plurality of temperature sensors, which are configured to be arranged in a chassis of an electronic device. The temperature sensors are used to collect and provide temperature information to the first controller, wherein the temperature sensors are configured to be arranged adjacent to a heating part of the electronic device, and the temperature feedback information includes the temperature information of each of the plurality of temperature sensors.

[0077] Figure 6 Schematically shows a schematic diagram of a fan control device according to another embodiment of the present invention. Figure 6 As shown, the fan control device 600 further includes a first temperature sensor 31, a second temperature sensor 32, a third temperature sensor 33 and a fourth temperature sensor 34. The first temperature sensor 31, the second temperature sensor 32, the third temperature sensor 33 and the fourth temperature sensor 34 are electrically connected to the first controller 11 respectively.

[0078] According to an embodiment of the present invention, the first controller in the fan control device can also establish electrical connections with multiple temperature sensors to transmit collected temperature information in the form of digital signals to the first controller in real time, thereby enabling real-time monitoring of the temperature within the electronic device chassis. The temperature sensors can, for example, be high-precision digital temperature sensors.

[0079] According to an embodiment of the present invention, multiple temperature sensors can be arranged in a chassis of an electronic device in a distributed layout. For example, for an AI (Artificial Intelligence) server, temperature sensors can be arranged on the surface of the CPU heat sink, around the GPU module, in the memory slot area, in the hard disk storage compartment, and at the chassis air outlet. By being arranged in the above-mentioned locations, multiple temperature sensors can comprehensively collect temperature information of key heat-generating components inside the AI server and the overall environment. For example, the temperature sensor arranged on the surface of the CPU heat sink can directly monitor the temperature changes in the CPU core area, while the sensor at the chassis air outlet is used to obtain temperature data after the overall heat dissipation inside the chassis.

[0080] According to an embodiment of the present invention, the first controller is equipped with a preset temperature change threshold and a fan speed adjustment algorithm. After receiving the temperature information, the real-time temperature data will be compared and analyzed with the preset threshold. When the temperature of a certain area exceeds the preset threshold, the first controller generates a corresponding control signal based on the temperature deviation value and the preset algorithm to adjust the speed of the corresponding area or the overall cooling fan to achieve dynamic heat dissipation control. For example, if the temperature of the CPU area rises by 15°C, the first controller can start the fan module at the corresponding position, or increase the speed of the fan module at the corresponding position to enhance the heat dissipation effect and ensure the stable operation of the electronic device; if the temperature of the memory area drops by 15°C, the first controller can reduce the speed of the fan module at the corresponding position, or temporarily turn off the fan module at the corresponding position to partially reduce the energy consumption of the fan module.

[0081] The first controller also features temperature data storage and analysis capabilities. It can store historical temperature information collected by temperature sensors and analyze temperature trends to easily predict future temperature fluctuations. If abnormal temperature fluctuations or potential overheating risks are detected, the first controller can send an alarm to a remote terminal, facilitating timely intervention by staff, further enhancing the reliability and safety of the fan control system.

[0082] According to an embodiment of the present invention, temperature sensors are preferably located in locations within the electronic device that are prone to heat generation. For example, for an AI server, these locations are the GPU cluster, CPU, memory module, power module, and network interface card. Placing temperature sensors in these locations maximizes the use of temperature information to dynamically generate speed control instructions, resulting in higher information utilization.

[0083] According to an embodiment of the present invention, multiple temperature sensors are used to capture temperature changes in the chassis of an electronic device. The temperature change can be the amount of temperature increase or decrease compared to the rated operating temperature. If the temperature increase is too large, it is necessary to turn on more fans in corresponding positions or increase the speed of the fan modules in corresponding positions to promote heat dissipation. If the temperature decreases too much, the fan modules in the corresponding areas can be turned off or the speed of the fan modules in the corresponding positions can be reduced to reduce power consumption. The above-mentioned temperature-based fan speed control event triggering mechanism has a faster response speed and a higher energy efficiency ratio.

[0084] According to an embodiment of the present invention, during the startup phase, the first controller is further configured to generate test instructions for multiple fan modules and, based on a target mapping relationship, map the test instructions for the multiple fan modules into test instructions for multiple logical fans. The second controller is further configured to, based on the test instructions for the multiple logical fans, control the speed of the multiple fan modules through multiple target ports. The first controller is further configured to obtain test temperature information fed back by each of the multiple temperature sensors when the second controller controls the speed of each fan module, and determine a fan module detection result based on the multiple test temperature information, the detection result indicating whether there is an error in the connection between the fan module and the corresponding target port.

[0085] According to an embodiment of the present invention, Figure 6 For example, the first controller sends a test instruction to the second controller, and the test instruction may be to make the fan module F A Low speed operation makes the fan module F B Run at full speed and map the test instructions based on mapping relationship 1. After completing the instruction mapping, the first controller sends the test instructions of the logical fans P0 and P1 to the second controller through the data bus. After receiving the instructions, the second controller parses each logical fan test instruction and controls the corresponding fan module according to the port, i.e., F A and F B If the mapping relationship and fan control device are normal, then F A It will run at low speed, F B It will run at full speed.

[0086] According to an embodiment of the present invention, during the test process, after the second controller sends a test instruction to the fan module via the target port and drives it to operate, the first controller can also begin collecting temperature information fed back by the temperature sensor. For example, the first controller can poll and read the test temperature information fed back by multiple temperature sensors at a frequency of five times per second via the I2C bus.

[0087] For example, in controlling the fan module F A During rotation, according to the theoretical position relationship, the temperature feedback from the first temperature sensor and the second temperature sensor should decrease, while the temperature feedback from other temperature sensors should remain unchanged or change less. If the actual test temperature information indicates that the temperature feedback from the first temperature sensor and the second temperature sensor decreases, while the test temperature information from other temperature sensors remains basically unchanged, then an accurate feedback result of the connection relationship can be obtained. However, if the actual test temperature information indicates that only the temperature of the third temperature sensor decreases, then it can be determined that the fan module F A The connection is incorrect.

[0088] Furthermore, the first controller determines the detection result of the fan module in combination with the target mapping relationship and the feedback from the temperature sensor. Based on the detection results, it is possible to obtain, for example, a loose physical interface, a broken circuit, or an incorrect mapping relationship, and generate a detection result report containing the faulty fan module number and the suspected cause of the fault. The staff can check and repair the fan control device based on the detection result report to ensure that the fan control device completes accurate fault detection and positioning during the startup phase. The fan control device can perform self-detection at startup and can obtain detection results based on the feedback from the temperature sensor, so that problems with the device can be discovered in a timely manner to avoid equipment losses caused by insufficient heat dissipation.

[0089] According to an embodiment of the present invention, the first controller is also used to send a fan speed control signal to the second controller; the second controller is also used to respond to the fan speed control signal, obtain the attribute information of each of the multiple fan modules through multiple target ports, the attribute information of the fan module includes the in-place status and current speed of the fan module, and provide the attribute information of each of the multiple fan modules to the first controller.

[0090] According to an embodiment of the present invention, Figure 2 For example, when the fan control device is in operation, if the first controller detects that the load of the electronic device increases and the fan speed needs to be adjusted, the first controller will send a fan speed adjustment signal to the second controller, and the signal is transmitted through the I2C or LPC bus.

[0091] According to an embodiment of the present invention, after the second controller receives the fan speed adjustment signal, taking mapping relationship 1 as an example, based on mapping relationship 1, the target ports P0, P1 and P2 are connected to the fan module F. A 、FB and F C Establish a communication connection. Specifically, the second controller sends a signal to the fan module F A 、F B and F C Send the command to obtain the attribute information. After receiving the command, the fan module will package its own attribute information, including the fan module's status and current speed. The status can be determined by detecting the level signal of the fan module and the motherboard connection interface. A high level indicates that it is in place, and a low level indicates that it is out of place. For the current speed, the speed pulse signal can be collected by the Hall sensor inside the fan and converted into the actual speed value through calculation. The second controller obtains the fan module F A 、F B and F C After receiving the attribute information of each, the information is sorted and fed back to the first controller through the data transmission bus, such as F A and F B In office, F C Out of position.

[0092] According to an embodiment of the present invention, adjusting the currently connected fan module based on its working status can achieve real-time transparent management of the fan module, provide precise support for the cooling system of the electronic device, and achieve timely troubleshooting and diagnosis of faults, significantly improving the reliability of the fan control device.

[0093] According to an embodiment of the present invention, the first controller is further configured to obtain temperature feedback information and / or attribute information of each of the plurality of fan modules, and generate speed regulation instructions for the plurality of fan modules.

[0094] Figure 7 The figure schematically shows a fan control device according to another embodiment of the present invention.

[0095] According to an embodiment of the present invention, Figure 7 As shown, the first controller in the fan control device 700 can simultaneously obtain temperature information and attribute information of the currently connected fan module. The attribute information can be working status information. At this time, the speed of the fan module can be adjusted based on the working status information and the temperature information. The working status information of the fan module includes the in-place status of the fan module and the current speed of the fan module. For example, the fan control device is applied to an electronic device, and the first controller is electrically connected to four temperature sensors distributed in the chassis of the electronic device through the I2C bus, including: a first temperature sensor 31, a second temperature sensor 32, a third temperature sensor 33 and a fourth temperature sensor 34; the second controller is connected to the corresponding fan module through multiple target ports. During the operation of the system, the four temperature sensors continuously collect temperature information of different areas in the chassis.

[0096] The first temperature sensor 31 is installed near the CPU heat sink, the second temperature sensor 32 is located next to the GPU module, the third temperature sensor 33 is close to the power supply, and the fourth temperature sensor 34 is set at the chassis vent. Each temperature sensor transmits the collected real-time temperature data to the first controller via the I2C bus at a frequency of 10 times per second. At the same time, the first controller 11 will send a fan speed control signal to the second controller 21 based on the device operating status or preset cycle. Fan module F A Set in the CPU heat sink area, fan module F B Set in the GPU module area, fan module F C Installed in the power supply area, fan module F D After receiving the fan speed control signal, the second controller 21 sends a property information acquisition instruction to the fan module through the target port. A、 F B、 F C and F D After receiving the instruction, its internal control circuit detects the in-position state and uses the Hall sensor to collect the current speed, and packages these attribute information and feeds it back to the second controller 21. The second controller 21 summarizes the attribute information of the four fan modules and sends it back to the first controller 11 through the bus.

[0097] The present invention realizes real-time feedback and correction of the fan module status. The first controller dynamically adjusts the rotation speed of the corresponding fan module based on the obtained attribute information and temperature information of each fan, thereby increasing the flexibility of the fan control device under different temperature conditions of the electronic equipment and the adaptability to different fan emergencies.

[0098] According to an embodiment of the present invention, a plurality of light-emitting units are further provided on the fan board, and the plurality of light-emitting units correspond to the plurality of ports respectively; the second controller is also used to determine the target port corresponding to the fan module when the in-place state of the fan module is indicated as out-of-place, and control the light-emitting unit corresponding to the target port to emit light.

[0099] Figure 8 The figure schematically shows a fan control device according to another embodiment of the present invention.

[0100] Figure 8 The fan control device 800 is further provided with light-emitting units L1 to Ln for displaying the status of the fan modules.

[0101] According to an embodiment of the present invention, Figure 8 As shown, a light-emitting unit can be provided for each port on the fan board, and the light-emitting unit is used to visually display the status of the fan module. The light-emitting unit can be an LED indicator.

[0102] According to an embodiment of the present invention, after the second controller obtains the attribute information of each fan module, it will perform real-time analysis on the in-position state. A If the connection is disconnected due to accidental loosening, the second controller can be positioned with the fan module F A The corresponding target port P0 then outputs a high level signal to the first LED (Light Emitting Diode) unit corresponding to the first target port through a preset control protocol, thereby triggering the first LED unit to continuously emit light, visually prompting the staff with a red light that the fan module F A In the off-position state. The staff can locate the faulty fan module through the indication of the light unit and perform repair or replacement, which significantly improves the equipment maintenance efficiency. At the same time, the second controller will A The out-of-position information is synchronously fed back to the first controller.

[0103] According to an embodiment of the present invention, the light-emitting unit enables the originally implicit fan module presence information to be displayed explicitly, allowing staff to conveniently and intuitively obtain the working status of the fan. When the fan module fails or is abnormal, the corresponding information can also be displayed through the light-emitting unit, making it easier for staff to conduct troubleshooting.

[0104] According to an embodiment of the present invention, the first controller is also used to send a fan speed control signal to the second controller in response to a fan speed control event being triggered; and / or, send a fan speed control signal to the second controller while sending speed control instructions for multiple logical fans to the second controller.

[0105] According to an embodiment of the present invention, when the first controller responds to the fan speed adjustment event, it may include open-loop control and closed-loop control situations, for example:

[0106] When the first controller of a fan control device performs fan speed control in open-loop control mode and a fan speed control event is triggered, such as manual user adjustment or a temperature threshold, the first controller directly sends a fan speed control signal containing the target speed value to the second controller. Upon receiving the signal, the second controller drives the fan module to operate according to the command without feedback verification. This makes it suitable for scenarios with high real-time requirements and stable loads.

[0107] In closed-loop control mode, after the first controller sends a fan speed control signal to the second controller, it continuously receives speed monitoring data fed back by the second controller, such as Hall sensor pulses or current sampling values. The first controller compares the actual speed with the pre-stored target value, and dynamically adjusts the speed control instruction through the PID control algorithm to form a closed-loop regulation. When speed control instructions for multiple logical fans are sent at the same time, the first controller can embed a group identifier into the speed control signal so that the second controller can distinguish the closed-loop control loops of each fan module. For multi-fan module collaboration scenarios, the first controller can also add a synchronization mark to the speed control signal to ensure that the speed deviation of multiple fan modules is controlled within a certain range.

[0108] According to an embodiment of the present invention, the PID (Proportional-Integral-Derivative) control algorithm can specifically be: through the three control methods of proportional, integral, and differential, the deviation of the fan speed control system is adjusted in real time, so that the fan speed is kept as close to the expected value as possible. Among them, (1) Proportional control: The proportional coefficient is responsible for responding to the deviation immediately according to the set proportional parameter. It directly affects the intensity and speed of the second controller's response to the deviation. The higher the proportional coefficient is set, the faster the fan module responds to the deviation and the greater the adjustment range of the fan speed. However, if it is too high, the system may be too sensitive and oscillate. If the proportional coefficient is set too low, the fan module will respond very slowly and will not be able to adjust the fan speed to the appropriate value in time.

[0109] (2) Integral control: Integral control primarily addresses the problem of accumulated deviations. In fan speed regulation, even if proportional control adjusts the fan speed, some steady-state error may still exist, meaning there is always a small deviation between the actual speed and the target speed. Integral control eliminates this steady-state error by integrating past deviations. Over time, the integral term gradually increases, further adjusting the fan speed until the steady-state error is eliminated. However, an excessively high integral value can cause the fan module to respond slowly and may cause oscillation.

[0110] (3) Differential control: Differential control predicts the future trend of the deviation by calculating the rate of change of the deviation, and then takes corresponding control measures in advance. During the fan speed regulation process, if the rate of change of the fan speed is large, the differential control will generate a large control amount to suppress this change, preventing excessive overshoot or oscillation of the fan speed, making the fan module more stable. Differential control can improve the stability and response speed of the fan module and smooth the control process.

[0111] In actual fan speed control applications, PID tuning is typically performed in the order of "P first, then I, then D." Each time a parameter is adjusted, the fan module's response should be observed until the desired control effect is achieved, ensuring that the fan speed quickly and stably tracks the target speed while avoiding excessive oscillation or overshoot.

[0112] According to embodiments of the present invention, in practical applications, the above two scenarios can exist independently or in combination. For example, when a fan speed control event is triggered by a fan module being out of position, the first controller first sends a fan speed control signal to prompt the second controller to collect attribute information of the remaining fan modules. Subsequently, when a new speed control instruction is generated, the fan speed control signal is sent again to ensure that the instruction is accurately executed, thereby enabling the fan control device to flexibly and efficiently respond to different operating conditions.

[0113] According to an embodiment of the present invention, the first controller is also used to determine a new target mapping relationship when the on-site status of at least one fan module changes, and based on the new target mapping relationship, map the speed control instructions of multiple fan modules into speed control instructions of multiple logical fans.

[0114] According to an embodiment of the present invention, when the in-position state of at least one fan module changes, for example, the fan module F that was originally in position changes. A The fan module F is faulty, has been pulled out, or is originally out of position. C When the fan module F is reinserted or resumes normal operation, the status monitoring module in the first controller will capture the level changes of the target port in real time. A and F G If a fault occurs, the corresponding fan module F A and F G The attribute information will show that the fan is out of position. Once the fan control device detects a change in the in-position state, the first controller can trigger a fan speed adjustment event, re-evaluate the current device heat dissipation requirements, and determine a new target mapping relationship. For example, the original mapping relationship is used, but the fan module F A and F G If a fault occurs, mapping relationship three can be determined as the new target mapping relationship. A new fan speed adjustment signal is then sent to the second controller, initiating a new round of fan attribute information acquisition and speed adjustment based on the new target mapping relationship, ensuring that the device can maintain stable heat dissipation performance even when the fan module status changes.

[0115] According to an embodiment of the present invention, the fan control device can also dynamically adjust the target mapping relationship according to the presence of the fan. Without shutting down the fan control device, the speed of the fan module can be adjusted according to the new target mapping relationship, thereby significantly enhancing the dynamic adaptability of the system and improving the convenience and reliability of equipment maintenance.

[0116] According to an embodiment of the present invention, the fan control device also includes: a write port electrically connected to the first controller, the write port is used to receive write information and provide write information to the first controller, wherein the write information includes a third logical mapping relationship; the first controller is also used to write the third logical mapping relationship into the first memory and / or the second memory.

[0117] Figure 9 Schematically shows a schematic diagram of a fan control device according to another embodiment of the present invention. Figure 9 As shown, fan control device 900 further includes a write port 35. Write port 35 is electrically connected to first controller 11. The write port enables dynamic configuration of the logical mapping relationship. The write port can be electrically connected to the first controller via an LPC or I2C bus. The first controller establishes a communication link with the first memory and / or the second memory via the LPC or I2C bus.

[0118] According to an embodiment of the present invention, when a user needs to adjust or update a heat dissipation strategy during operation of an electronic device, but the logical mapping table currently stored in the first memory or the second memory cannot meet the need, write information including a third logical mapping relationship can be generated by an external device, which can be a management terminal or a debugging tool. The third logical mapping relationship is not included in the previously stored logical mapping table.

[0119] Table 2

[0120]

[0121] For example, as shown in Table 2, when the fan module F D When a fault occurs or the fan module is unplugged, as shown in mapping relationship 1, mapping relationship 2 and mapping relationship 3, D When all other mappings fail to meet the requirements, mapping relationship four can be written into the fan control device through the write port using an external device to form a new logical mapping table, namely Table 2. After the write port receives the data, it first performs a CRC check. If the check passes, the written information is transmitted to the first controller in real time through the I2C bus. After the first controller receives the write information, it parses the third logical mapping relationship data, namely mapping relationship four. At this time, the first controller can choose to write mapping relationship four into the first memory and / or the second memory. During the writing process, the first controller will also perform a backup check on the written data. If a write error is detected, the write operation will be re-initiated to ensure that mapping relationship four is accurately stored.

[0122] Typically, updating the data in a fan control device requires shutting down the electronic device and then restarting it after the update is complete. However, according to an embodiment of the present invention, since the present invention decouples the physical and logical addresses of the fan module, the write port connected to the first controller can add mapping schemes in real time while the electronic device is running. The second controller can also immediately adjust the fan module speed according to the new mapping relationship, thus achieving flexible updates and efficient execution of fan control strategies.

[0123] According to an embodiment of the present invention, the second controller is further configured to detect the working status of the first controller, and when confirming that the first controller is not working, control the speed of the multiple fan modules through the multiple target ports based on a preset control strategy.

[0124] Figure 10 The diagram schematically shows an operation flow chart of a fan control device when a first controller works abnormally according to an embodiment of the present invention.

[0125] like Figure 10 As shown, the fan control device operation process 1000 may include operations S1010 to S1080.

[0126] In operation S1010 , the fan control device is activated.

[0127] In operation S1020, the first controller is initialized. At this time, the first controller can obtain information about the current electronic device and also obtain the number, type, and arrangement relationship of the fan modules.

[0128] In operation S1030 , the second controller is initialized. Generally, operation S1020 and operation S1030 occur simultaneously. The initialization time of the second controller may be shorter than the initialization time of the first controller.

[0129] In operation S1040 , the second controller may check whether the first controller has been operated through the watchdog signal WDT0 , and if the first controller is not operating normally, perform operation S1050 ; if the first controller is operating normally, perform operation S1060 .

[0130] In operation S1050, the rotation speeds of the plurality of fan modules are controlled based on a preset control strategy. After completing operation S1050, a preset time period may be delayed and the process returns to operation S1040 to continuously monitor whether the first controller operates normally.

[0131] In operation S1060 , the first controller determines a target mapping relationship and then performs operation S1070 .

[0132] In operation S1070, the first controller performs speed control command mapping, specifically, in response to a fan speed control event being triggered, mapping the speed control commands for the plurality of fan modules into speed control commands for the plurality of logical fans based on a target mapping relationship. Then, operation S1080 is performed.

[0133] In operation S1080, the second controller performs speed control based on the speed control instruction, specifically, based on the speed control instructions of the multiple logical fans, and controls the speeds of the multiple fan modules through the multiple target ports.

[0134] According to an embodiment of the present invention, since the first controller is not working when the second controller controls the speed based on the preset control strategy in operation S1060, it is impossible to retrieve the mapping relationship through the first controller and then perform fine control of the fan module. Therefore, in operation S1060, the second controller can control all fan modules to operate based on the maximum speed or control all fan modules to operate based on 50% of the maximum speed.

[0135] According to an embodiment of the present invention, this implementation significantly improves the reliability of the fan control device through a dual-master redundant design. If the first controller malfunctions, the second controller will employ a pre-set control strategy to control the fan speed. This prevents the fan from stalling due to a malfunction of the first controller, potentially causing overheating and damage to the electronic equipment. This ensures the operation of the entire fan control device.

[0136] According to an embodiment of the present invention, the second controller is further configured to detect the operating status of the first controller and, if it is determined that the first controller is not operating, determine a target mapping relationship, determine speed control instructions for multiple logical fans based on the target mapping relationship, and, based on the speed control instructions for the multiple logical fans, control the speeds of the multiple fan modules through multiple target ports. The second controller is further configured to provide fan speed control information to the first controller if it is determined that the first controller has resumed normal operation; the first controller is further configured to generate speed control instructions for the multiple fan modules based on the fan speed control information. The second controller is configured to detect the operating status of the first controller during the startup phase; and / or, based on a preset time interval, periodically detect the operating status of the first controller.

[0137] According to an embodiment of the present invention, when the first controller is not working, the second controller can also obtain the target mapping relationship through matching, for example:

[0138] The second controller may also sequentially match all logical mapping relationships based on a mapping relationship between a logical fan and a fan module. When the current set of logical mapping relationships is not satisfied, it switches to the next set of logical mapping relationships and sequentially matches until the target mapping relationship is obtained.

[0139] If multiple logical mapping relationships do not match the target mapping information, one mapping relationship can be designated as the target mapping relationship. Alternatively, other target mapping information can be referenced for judgment, and another mapping relationship can be selected as the target mapping relationship.

[0140] According to an embodiment of the present invention, when the first controller is not working, the second controller can also perform fan speed regulation based on an open-loop or closed-loop mode. For example, when the second controller of the fan control device performs fan speed control, in the open-loop control mode, when a fan speed regulation event is triggered, such as manual adjustment by the user or temperature threshold triggering, the second controller directly generates a fan speed regulation signal of the target speed value to drive the fan module to operate according to instructions.

[0141] In closed-loop control mode, the second controller continuously receives speed monitoring data, such as Hall sensor pulses or current sampling values, and then dynamically adjusts the speed control command through the PID control algorithm to form a closed-loop regulation.

[0142] Figure 11 The schematic diagram schematically shows the operating principle of the fan control device when the first controller works abnormally according to another embodiment of the present invention.

[0143] like Figure 11 As shown, the fan control device operation process 1100 may include operations S1101 to S1110.

[0144] In operation S1101 , the fan control device is activated.

[0145] In operation S1102 , the first controller is initialized. At this time, the first controller can obtain information about the current electronic device and also obtain the number, type, and arrangement relationship of the fan modules.

[0146] In operation S1103 , the second controller is initialized. Generally, operation S1102 and operation S1103 occur simultaneously, and the initialization time of the second controller may be shorter than the initialization time of the first controller.

[0147] In operation S1104 , the second controller may check whether the first controller has been working through the watchdog signal WDT0 , and if the first controller is not working properly, perform operation S1105 ; if the first controller is working properly, perform operation S1108 .

[0148] In operation S1105 , the second controller determines a target mapping relationship and then performs operation S1106 .

[0149] In operation S1106, the second controller performs speed control instruction mapping, specifically, in response to the fan speed control event being triggered, mapping the speed control instructions for the plurality of fan modules into speed control instructions for the plurality of logical fans based on the target mapping relationship. Then, operation S1107 is executed.

[0150] In operation S1107 , the second controller performs speed control based on the speed control instruction, specifically, based on the speed control instructions of the multiple logical fans, controls the speeds of the multiple fan modules through the multiple target ports.

[0151] After completing operation S1107 , a preset time period may be delayed, and the process returns to operation S1104 to continuously monitor whether the first controller operates normally.

[0152] In operation S1108 , the first controller determines a target mapping relationship and then performs operation S1109 .

[0153] In operation S1109 , the first controller performs speed control instruction mapping, specifically, in response to a fan speed control event being triggered, mapping the speed control instructions for multiple fan modules into speed control instructions for multiple logical fans based on a target mapping relationship. Then, operation S1110 is executed.

[0154] In operation S1110, the second controller performs speed control based on the speed control instruction, specifically, based on the speed control instructions of the multiple logical fans, and controls the speeds of the multiple fan modules through the multiple target ports.

[0155] According to an embodiment of the present invention, regardless of whether the first controller operates normally after the fan control device is started, during the operation of the fan control device, the second controller can continuously monitor the working status of the first controller at a preset time interval, every minute or every 30 seconds.

[0156] If both the second and first controllers are operating normally, if the first controller experiences a fault during operation, the second controller can quickly take over control of the fan modules based on detection. For example, the second controller sends a heartbeat check signal to the first controller via the bus. This signal contains an incrementing 16-bit counter value. Upon receiving the heartbeat check signal, the first controller increments the counter value by 1 and transmits it back to the second controller. Upon receiving the return signal, the second controller first verifies that the counter value has incremented correctly and checks that the signal transmission delay is within the normal range, typically no more than 10 milliseconds. If three consecutive heartbeat checks show an abnormality, such as the counter value not incrementing, a transmission timeout, or a data check error, the second controller determines that the first controller has failed. At this point, the second controller immediately invokes the preset control strategy and, through its signal output port, controls the speed of all active fan modules according to the preset control strategy. It also sends a fault alarm to the remote management system via the network interface, including the time of the fault and a detailed description of the abnormal first controller status, for prompt response.

[0157] If the first controller does not start normally, the above method can also be used for continuous detection. The difference is that if the heartbeat detection signal is detected to be returned normally to the second controller, the control of the fan module is transferred to the first controller to reduce the power consumption of the fan module.

[0158] According to an embodiment of the present invention, the second controller can also determine the target mapping relationship and issue speed control instructions for the fan module on behalf of the first controller. Moreover, due to the second controller's timed detection, the second controller can hand over the fan module after the first controller starts, thereby reducing fan power consumption. The second controller can also prevent the first controller from crashing, which would affect fan control and cause damage to the electronic device. This allows the fan control device to maintain effective heat dissipation, thereby improving the reliability of the fan control device for the electronic device and preventing delays in fan module startup in the event of an emergency, thereby enhancing stability.

[0159] Figure 12 The schematic diagram shows the structure of an electronic device according to an embodiment of the present invention.

[0160] According to an embodiment of the present invention, Figure 12 As shown, the electronic device 1200 may include at least one fan control device 1201, and the fan control device 1201 may be any one of the fan control device 200, fan control device 300, fan control device 400, fan control device 500, fan control device 600, fan control device 700, fan control device 800 and fan control device 900 described above, without limitation herein.

[0161] Figure 13 The flowchart of the fan control method according to the embodiment of the present invention is schematically shown.

[0162] like Figure 13 As shown, the fan control method 1300 includes operations S1310 to S1330.

[0163] In operation S1310 , a target mapping relationship is determined, where the target mapping relationship is used to represent a mapping relationship between a plurality of fan modules and a plurality of logical fans.

[0164] In operation S1320 , in response to a fan speed adjustment event being triggered, speed adjustment instructions for the plurality of fan modules are mapped to speed adjustment instructions for the plurality of logical fans based on a target mapping relationship.

[0165] In operation S1330, based on the speed adjustment instructions of the multiple logical fans, the speeds of the multiple fan modules are controlled respectively through the multiple target ports.

[0166] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the boxes may occur in an order different from that marked in the accompanying drawings. For example, two boxes shown in succession may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, as well as the combination of boxes in the block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or may be implemented using a combination of dedicated hardware and computer instructions. It will be understood by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present invention. In particular, the features described in the various embodiments of the present invention may be combined and / or coupled in various ways without departing from the spirit and teachings of the present invention. All such combinations and / or combinations fall within the scope of the present invention.

[0167] The above describes embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

Claims

1. A fan control device, arranged in a chassis of an electronic device, characterized in that: The fan control device comprises: A mainboard is provided with a first controller; A fan board is provided with a second controller and a connector, wherein the connector includes a plurality of ports, and the connector is used to electrically connect to the plurality of fan modules through a plurality of target ports among the plurality of ports, wherein the target ports correspond to the plurality of logical fans respectively; wherein the first controller is configured to determine a target mapping relationship, and in response to a fan speed adjustment event being triggered, map the speed adjustment instructions of the multiple fan modules to the speed adjustment instructions of the multiple logical fans based on the target mapping relationship, wherein the target mapping relationship is used to represent a mapping relationship between the multiple fan modules and the multiple logical fans, and the serial number order of the multiple fan modules is inconsistent with the serial number order of the multiple logical fans; and The second controller is configured to control the rotation speeds of the plurality of fan modules respectively through the plurality of target ports based on the speed adjustment instructions of the plurality of logical fans.

2. The fan control device according to claim 1, wherein: The mainboard is further provided with a first memory, the first memory being used to store device configuration information and a logic mapping table, the logic mapping table including a plurality of logic mapping relationships; or The fan board is further provided with a second memory, which is used to store the device configuration information and the logic mapping table.

3. The fan control device according to claim 2, wherein: The first controller is used for: Reading the device configuration information and the logic mapping table from the first memory or the second memory; and The target mapping relationship is determined from a plurality of logical mapping relationships included in the logical mapping table based on the device configuration information.

4. The fan control device according to claim 1, wherein: The mainboard is further provided with a first memory, the first memory being used to store device configuration information and a mapping information table, the mapping information table including a plurality of logical mapping information, the logical mapping information including information for describing a mapping relationship between the fan module and the logical fan; The fan board is further provided with a second memory, which is used to store a logic mapping table, wherein the logic mapping table includes a plurality of logic mapping relationships.

5. The fan control device according to claim 4, wherein: The first controller is used for: determining target mapping information from a plurality of pieces of logical mapping information included in the mapping information table based on the device configuration information; and The target mapping relationship is obtained by matching the target mapping information from the multiple logical mapping relationships included in the logical mapping table.

6. The fan control device according to claim 5, characterized in that: The first controller is further configured to: Matching the target mapping information with the multiple logical mapping relationships respectively to obtain matching results; If the matching result indicates that a first logical mapping relationship among the multiple logical mapping relationships matches the target mapping information, determining the first logical mapping relationship as the target mapping relationship; as well as When the matching result indicates that none of the multiple logical mapping relationships matches the target mapping information, a second logical mapping relationship is selected from the multiple logical mapping relationships, and the second logical mapping relationship is determined as the target mapping relationship.

7. The fan control device according to any one of claims 2 to 6, characterized in that: Also includes: a write port electrically connected to the first controller, the write port being configured to receive write information and provide the write information to the first controller, wherein the write information includes a third logical mapping relationship; The first controller is further configured to write the third logical mapping relationship into the first memory and / or the second memory.

8. The fan control device according to claim 1, wherein: The first controller is further configured to obtain temperature feedback information and / or attribute information of each of the plurality of fan modules, and generate speed regulation instructions for the plurality of fan modules.

9. The fan control device according to claim 8, wherein: The first controller is also electrically connected to a plurality of temperature sensors, which are configured to be disposed in a chassis of the electronic device. The temperature sensors are used to collect and provide temperature information to the first controller. The temperature sensors are configured to be disposed adjacent to a heat-generating portion of the electronic device, and the temperature feedback information includes temperature information of each of the plurality of temperature sensors.

10. The fan control device according to claim 9, wherein: During the startup phase, The first controller is further configured to generate test instructions for the plurality of fan modules, and map the test instructions for the plurality of fan modules into test instructions for the plurality of logical fans based on the target mapping relationship; The second controller is further configured to control the rotation speeds of the plurality of fan modules respectively through the plurality of target ports based on the test instructions of the plurality of logical fans.

11. The fan control device according to claim 10, wherein: The first controller is also used to obtain the test temperature information fed back by each of the multiple temperature sensors when the second controller controls the speed of each fan module, and determine the detection result of the fan module based on the multiple test temperature information, and the detection result indicates whether the connection between the fan module and the corresponding target port is incorrect.

12. The fan control device according to claim 8, wherein: The first controller is further configured to send a fan speed adjustment signal to the second controller; The second controller is also used to respond to the fan speed control signal, obtain the attribute information of each of the multiple fan modules through the multiple target ports, the attribute information of the fan modules including the in-place status and current speed of the fan modules, and provide the attribute information of each of the multiple fan modules to the first controller.

13. The fan control device according to claim 12, wherein: The fan plate is further provided with a plurality of light emitting units, each of which corresponds to the plurality of ports; The second controller is further configured to, when the in-position state of the fan module is indicated as out-position, determine a target port corresponding to the fan module and control the light-emitting unit corresponding to the target port to emit light.

14. The fan control device according to claim 12, wherein: The first controller is further configured to send a fan speed adjustment signal to the second controller in response to the fan speed adjustment event being triggered; and / or send a fan speed adjustment signal to the second controller while sending speed adjustment instructions for the multiple logical fans to the second controller.

15. The fan control device according to claim 12, wherein: The first controller is further configured to determine a new target mapping relationship when the in-place status of at least one of the fan modules changes, and map the speed control instructions of the multiple fan modules to the speed control instructions of the multiple logical fans based on the new target mapping relationship.

16. The fan control device according to claim 1, wherein: The second controller is further configured to detect a working state of the first controller, and when it is determined that the first controller is not working, control the rotation speeds of the plurality of fan modules respectively through the plurality of target ports based on a preset control strategy.

17. The fan control device according to claim 1, wherein: The second controller is also used to detect the working status of the first controller, and when it is determined that the first controller is not working, determine the target mapping relationship, determine the speed regulation instructions of the multiple logical fans based on the target mapping relationship, and based on the speed regulation instructions of the multiple logical fans, control the speed of the multiple fan modules respectively through the multiple target ports.

18. The fan control device according to claim 17, wherein: The second controller is further configured to provide fan speed adjustment information to the first controller when it is determined that the first controller has resumed normal operation; The first controller is further configured to generate speed adjustment instructions for the plurality of fan modules based on the fan speed adjustment information.

19. The fan control device according to any one of claims 16 to 18, wherein: The second controller is configured to detect the working status of the first controller during a startup phase; and / or periodically detect the working status of the first controller based on a preset time interval.

20. An electronic device comprising the fan control device according to any one of claims 1 to 19.

Citation Information

Patent Citations

  • Server rack system of managing rotating speeds of fan

    CN103138974A

  • Server system

    CN104564764A

  • Server heat dissipation method and device, electronic equipment and storage medium

    CN116643631A