Fan controls and electronics
By introducing a dual-number mapping method in the server cooling system, the adaptation problem caused by inconsistent fan module order is solved, the flexible adaptability of the fan control device is achieved, the design cost is reduced, and the transparency and maintainability of the system are improved.
Patent Information
- Application Number
- CN202510927059.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2045-07-07
AI Technical Summary
In existing server cooling systems, the order of fan modules is not fixed, resulting in the order of connector numbers being inconsistent with the fan module numbers. This cannot meet the adaptation requirements of various server architectures, resulting in the inability to unify fan control solutions, and reducing the transparency and maintainability of the system.
A dual-number mapping method is adopted to separate the physical fan serial number and the logical fan serial number. The first controller and the second controller are used to map and convert the instruction sequence. This ensures normal control even if the fan module hardware is changed, improving the transparency and maintainability of the system.
The flexible adaptability of the fan control device is achieved when the fan module hardware is changed, which reduces the design cost and improves the system's reusability and user-friendliness.
Smart Images

Figure CN120426252B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fan control, and in particular to a fan control device and electronic equipment. Background Art
[0002] Currently, the main cooling methods used in server cooling systems are air cooling and air-liquid hybrid cooling. Both air-cooled and air-liquid hybrid cooling servers use fan modules as the main heat dissipation components. The fan modules accelerate the flow of cold air into the chassis and the flow of hot air out of the chassis to achieve server cooling.
[0003] The controller on the fan board can control different fans based on the connection relationship between the connector and the fan module. However, the order of the fan modules varies depending on the server architecture. As a result, the connector numbering sequence cannot be consistent with the fan module numbering sequence in some architectures. This makes the fan control solution in related technologies unable to 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] According to a first aspect of the present invention, a fan control device is provided, comprising: a first controller, a second controller and a connector, wherein the first controller is electrically connected to the second controller, and the second controller is electrically connected to multiple interfaces of the connector, respectively, and the multiple interfaces of the connector are used to respectively connect to multiple fan modules; wherein the first controller is used to receive a first instruction sequence based on a logical fan sequence through an interactive port with a user, map the first instruction sequence to a second instruction sequence based on a physical fan sequence based on a target mapping relationship, and provide the second instruction sequence to the second controller, wherein the second instruction sequence includes the first control instructions of each of the multiple fan modules, and the physical fan sequence is determined based on the connection relationship between the second controller and the multiple fan modules; the second controller is used to send the first control instructions of each to the multiple fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the speed based on the received first control instructions.
[0006] The second aspect of the present invention provides an electronic device, which includes a fan control device and multiple fan modules; wherein the fan control device includes a first controller, a second controller and a connector, wherein the first controller is electrically connected to the second controller, and the second controller is respectively electrically connected to multiple interfaces of the connector, and the multiple interfaces of the connector are used to respectively connect the multiple fan modules; wherein the first controller is used to receive a first instruction sequence based on a logical fan sequence through an interactive port with a user, map the first instruction sequence to a second instruction sequence based on a physical fan sequence based on a target mapping relationship, and provide the second instruction sequence to the second controller, wherein the second instruction sequence includes the first control instructions of each of the multiple fan modules, and the physical fan sequence is determined based on the connection relationship between the second controller and the multiple fan modules; the second controller is used to send the first control instructions of each to the multiple fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the speed based on the received first control instructions. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The above contents 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.
[0008] Figure 1 A schematic diagram showing the connection relationship of a fan control device according to an embodiment of the present invention is shown.
[0009] Figure 2 A schematic diagram of a mapping relationship of a fan control device according to an embodiment of the present invention is shown.
[0010] Figure 3 FIG. 4 is a schematic diagram showing a fan control device according to another embodiment of the present invention.
[0011] Figure 4 FIG. 4 is a schematic diagram showing a fan control device according to another embodiment of the present invention.
[0012] Figure 5 A schematic diagram of the initialization logic flow of the first controller of the fan control device according to an embodiment of the present invention is shown.
[0013] Figure 6 A control logic flow diagram of a first controller of a fan control device according to an embodiment of the present invention is shown.
[0014] Figure 7 A structural block diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0015] 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 unnecessarily confusing the concept of the present invention.
[0016] 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.
[0017] 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.
[0018] 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.).
[0019] Currently, the main cooling methods used in server cooling systems are air cooling and air-liquid hybrid cooling. Both air-cooled and air-liquid hybrid cooling servers use fan modules as the main heat dissipation components. The fan modules accelerate the flow of cold air into the chassis and the flow of hot air out of the chassis to achieve server cooling.
[0020] The fan modules are numbered sequentially, for example, from left to right or from top to bottom. As shown in Table 1, when there are 10 fan modules, the fan modules are numbered sequentially as FAN0, FAN1, FAN2, FAN3, FAN4, FAN5, FAN6, FAN7, FAN8, and FAN9.
[0021] Table 1 Fan module serial number record
[0022]
[0023] Each fan module is connected to the corresponding serially numbered port on the connector via a cable. The connector is fixed to the fan board on which the fan controller is mounted, and the connector port is also connected to the fan controller, connecting the fan controller to the fan modules via the connector and cable. For example, fan module number 0, FAN0, is connected to port number 0 on the fan board connector; fan module number 1, FAN1, is connected to port number 1 on the fan board connector; and so on.
[0024] The Complex Programmable Logic Device (CPLD) on the fan board also communicates with the Baseboard Management Controller (BMC) in this order. The Baseboard Management Controller can control and detect each fan module according to its serial number. For example, the BMC sends instructions to fan module number 5 connected to the connector of the fan board CPLD control number 5 via the Inter-Integrated Circuit (I2C). During use, the user can view the speed and duty cycle of each fan module through the display interface, and can also manually control the duty cycle of each fan module through the display interface. In heat dissipation control, the heat dissipation strategy setting is also based on this one-to-one sequential numbering method. The heat dissipation strategy can include settings for the speed weight, duty cycle, etc. of each fan module.
[0025] In actual project development, fan configuration changes often occur for various reasons. For example, project cost optimization reduces the number of fans from 10 to 8. Alternatively, the introduction of a liquid cooling module reduces the number of fans from 10 to 8, which occupies some physical space. This reduces the number of fans to only 8.
[0026] According to an embodiment of the present invention, taking the reduction of the number of fans as an example, after the number of fans is reduced, in order to minimize the change in the heat dissipation effect of the reduced number of fans on the target device, the installation position of the fan can be fine-tuned according to the spatial variation range of the fan installation position. Since the fan position is fine-tuned, the speed weight of the fan after the fine-tuning position is also fine-tuned, thereby optimizing the heat dissipation strategy. When fine-tuning the speed weight of the fan, experiments are conducted on the heat dissipation conditions of different fan installation positions under different speed weights, and the speed weight fine-tuning rules are determined by statistically analyzing the experimental results.
[0027] When changing the fan configuration, fan modules with later numbers are not removed first. For example, for fan modules numbered 0 through 9, fan module number 9 is not the last one to be removed. Instead, due to current design limitations, any fan module with any number can be removed. As shown in Table 2, fan module number 2, FAN2, has been removed from the fan modules numbered 0 through 9. The other fan modules, FAN0, FAN1, FAN3, FAN4, FAN5, FAN6, FAN7, FAN8, and FAN9, remain unchanged.
[0028] Table 2 Fan serial number record table of other fans after removing one fan
[0029]
[0030] To cope with this configuration change, the fan board can be redesigned or the cable connection method can be modified, which will increase project costs. Without modifying the hardware design, if only the fan module is removed, the fan serial numbers presented to the user's interactive port will be inconsistent, which can easily lead to misunderstandings. For example, in a certain project, if fan module FAN2 with serial number 2 is removed, the display interface will not display fan module FAN2 with serial number 2. As shown in Table 2, in this case, unnecessary ambiguity will arise. If the fan modules are renumbered after fan module FAN2 is removed, it will cause control logic deviations. As shown in Table 3, if fan module FAN2 with serial number 2 is removed in a certain project, the fan modules numbered after fan module FAN2, such as fan modules 3 to 9, will be renumbered 2 to 8. Since the original cooling strategy relies on the continuous numbering when fan module FAN2 is not removed, the cooling strategy needs to be redesigned based on the order of the renumbered fan modules.
[0031] Table 3 Fan sequence number record table after removing one fan and reordering
[0032]
[0033] Figure 1 FIG. 1 is a schematic diagram of a fan control device according to an embodiment of the present invention. Figure 1As shown, the BMC, CPLD, and connector are all installed on the same motherboard. Physical fan modules FAN0, FAN1, ..., FANn are connected to connector interfaces CON0, CON1, ..., CONn in a one-to-one correspondence. The CPLD acts as a fan controller, collecting duty cycle signals and rotor speed signals, which are then transmitted to the fan modules via cables. The duty cycle and rotor speed signals are also numbered, maintaining a one-to-one mapping relationship with the serial numbers of the fan modules connected by the cables. Duty cycle signals can be represented by PWM0-PWMn, and rotor speed signals by TACH0-TACHn.
[0034] Figure 2 FIG. 1 shows a schematic diagram of a mapping relationship of a fan control device according to an embodiment of the present invention. Figure 2 As shown, the BMC is provided with a CPLD interaction layer. The CPLD interaction layer transmits information with the fan controller through the I2C bus and numbers information such as the duty cycle of the fan module and the received rotor speed value of the fan module. The serial number is consistent with the serial number of the information provided by the fan controller, that is, a one-to-one mapping relationship is maintained with the serial number of the fan module connected to the cable. The BMC displays the duty cycle value and rotor speed value of each fan module group to the user and numbers this information so that the numbered information maintains a one-to-one mapping relationship with the BMC command, the information provided by the CPLD, and the serial number of the fan module connected to the cable.
[0035] When the user views the duty cycle and rotor speed values of the corresponding fan module through the BMC, they are the same as those of the fan module with the same serial number. The user can adjust the speed of each fan as needed by inputting the duty cycle of fan modules FAN0, FAN1, ..., FANn and transmitting the command to the BMC. The BMC then transmits the command to the CPLD via the I2C bus, which ultimately outputs a signal to the fan module. When the user controls the fan number displayed on the display, they are actually controlling the fan module with the same serial number. The BMC calculates the duty cycle of fan modules FAN0, FAN1, ..., FANn based on the established cooling strategy and sends it to the CPLD via the I2C bus. The CPLD ultimately outputs a signal to the fan module. The BMC's cooling control of the logical fan module with the same serial number controls the physical fan module with the same serial number.
[0036] Figure 1 and Figure 2The numbering of the fan modules, cables, connectors, CPLDs, and upper-layer operation logic in the existing server cooling system shown is a one-to-one mapping mechanism. When the hardware configuration changes or the fan is removed, the current design cannot be reused, and the board, connector, and cable connection relationships, as well as the cooling and fan control relationships, need to be redesigned, resulting in poor reusability of the existing server cooling system. In addition, when the configuration changes and the middle fan module needs to be removed, without modifying the design, the fan module at the middle removal position is left vacant, and the user may mistakenly believe that there is a vacant fan module. For example, the speed and duty cycle of FAN2 displayed on the display interface are both 0, and the user believes that the undetected FAN2 should still exist, but in fact FAN2 has been removed, thereby reducing the user-friendliness of the fan control device.
[0037] To address the above issues, it is necessary to develop a fan control device that uses a physical-logical separation method and a dual-number mapping method. Physical fan modules, connectors, fan controller signals, BMC operations, and I2C operations are all uniformly numbered according to a one-to-one mapping relationship. This series of numbers is called physical fan numbers, and the arrangement of the physical fan numbers constitutes the physical fan order. Each fan module can be assigned a unique logical fan number, and the arrangement of the logical fan numbers constitutes the logical fan order. Multiple mapping relationships can exist between physical fan numbers and logical fan numbers, and these mapping relationships are stored in a non-volatile memory accessible to the BMC. At the same time, the BMC also stores at least one mapping scheme that the BMC may use. A mapping scheme is determined based on the mapping relationship between the physical fan number and the logical fan number. Users use the logical fan number to view and control the fan, and the conversion between the logical fan number and the physical fan number is achieved through the mapping relationship in the BMC. When the BMC automatically adjusts the fan speed, the physical fan number is used to control the fan module.
[0038] In view of this, an embodiment of the present invention provides a fan control device that can flexibly respond to hardware changes of the fan module, improve the transparency and maintainability of the server cooling system, standardize the hardware design, improve reuse and reduce design costs.
[0039] Specifically, an embodiment of the present invention provides a fan control device, comprising: a first controller, a second controller and a connector, wherein the first controller is electrically connected to the second controller, and the second controller is electrically connected to multiple interfaces of the connector respectively, and the multiple interfaces of the connector are used to respectively connect multiple fan modules; wherein the first controller is used to receive a first instruction sequence based on a logical fan sequence through an interactive port with a user, map the first instruction sequence to a second instruction sequence based on a physical fan sequence based on a target mapping relationship, and provide a second instruction sequence to the second controller, the second instruction sequence including the first control instructions of each of the multiple fan modules, and the physical fan sequence is determined based on the connection relationship between the second controller and the multiple fan modules; the second controller is used to send the respective first control instructions to the multiple fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the speed based on the received first control instructions.
[0040] According to an embodiment of the present invention, the first controller may be a baseboard management controller, the second controller may be a CPLD, and the second controller is a fan controller. The connections between the multiple interfaces of the connector and the multiple fan modules may be a one-to-one correspondence between one interface of the connector and one fan module.
[0041] According to an embodiment of the present invention, the fan control device has an interactive port with the user, which is used to input a first instruction sequence based on the logical fan sequence. The first instruction sequence is an instruction sequence for the user to control the speed of each logical fan module, etc. For example, based on the logical fan sequence of fan 0, fan 1 and fan 2, the user can choose to control the speed of fan 0, fan 1 and fan 2 respectively. However, the physical fan order corresponding to fan 0, fan 1 and fan 2 based on the logical fan sequence may be FAN5, FAN7 and FAN8 respectively. In other words, the user is actually controlling the speed of FAN5, FAN7 and FAN8.
[0042] When the first controller is a baseboard management controller and the second controller is a CPLD, the baseboard controller maps a first instruction sequence for controlling the speeds of fans 0, 1, and 2 into a second instruction sequence for controlling the speeds of fans 5, 7, and 8 based on a mapping relationship between the logical fan sequence of fans 0, 1, and 2 and the physical fan sequence of fans 5, 7, and 8, and sends the second instruction sequence to the CPLD. The second instruction sequence includes first control instructions for each fan module connected to the connector interface in a one-to-one correspondence. For example, the second instruction sequence includes first control instructions for each fan module. The CPLD sends the first control instructions to each fan module based on the physical fan sequence of fans 5, 7, and 8 to control the speeds of fans 5, 7, and 8.
[0043] According to an embodiment of the present invention, when the hardware configuration in the server cooling system changes or the fan is removed, based on the target mapping relationship, the first instruction based on the logical fan sequence can be mapped to a second instruction sequence based on the physical fan sequence, thereby realizing the operation of the physical fan module directly based on the logical fan sequence. Therefore, it is possible to flexibly respond to hardware changes of the fan module in the server cooling system, improve the reuse of the fan control device, and reduce the design cost of the fan control device. Since the user only needs to care about the logical fan sequence and does not need to care about the underlying hardware design, the transparency and maintainability of the server cooling system to the user are improved.
[0044] When displaying the status of fan modules to the user, the server cooling system can arrange and display the logical fan modules in a logical fan order. The user can control the speed of each logical fan module, etc. This control operation can form a first instruction sequence based on the logical fan order. The first controller can reorder the control instructions in the first instruction sequence based on the mapping between the logical fan order and the physical fan order to obtain a second instruction sequence. The second controller can receive the second instruction sequence and send each instruction to multiple fan modules in sequence. This method can flexibly respond to hardware changes of fan modules. Users only need to care about the logical fan order and not the underlying hardware design. This improves system transparency and maintainability, increases reuse, and reduces design costs.
[0045] Figure 3 FIG. 1 is a schematic diagram of a fan control device according to another embodiment of the present invention. Figure 3As shown, the fan control device can be set in the heat dissipation duct area of the server chassis or other target equipment in the area where heat dissipation is required. The fan control device can include a mainboard 10 and a fan board 20, which are electrically connected through a board-to-board connector.
[0046] The motherboard 10 can be a multi-layer or single-layer circuit board, without limitation. A first controller 11 can be disposed on one surface of the motherboard 10 and secured to the motherboard 10 by soldering. The first controller 11 can transmit information via an LPC bus (Low Pin Count Bus) or an I2C bus (Inter-Integrated Circuit Bus). The interactive port 30 is connected to the first controller.
[0047] The fan board 20 can be a single-sided board, a double-sided board, or a multi-layer circuit board, which is not limited here. The fan board 20 can include a second controller 21 and a connector 22. The fans FAN0, FAN1, FAN2, ... FANn in the physical fan sequence are consistent with the serial numbers interface 0, interface 1, interface 2, ... interface n of the connector 22, connecting the physical fan modules to the corresponding interfaces of the connector; the second controller 21 can control the duty cycle signal, rotor speed signal, etc. of each physical fan module according to the multiple first control instructions included in the second instruction sequence; when the first controller is a BMC, the BMC transmits information to the second controller via the I2C bus, and the serial number of the logical fan module corresponding to the information such as the duty cycle of each group of logical fan modules sent by the BMC and the rotor speed value of each group of logical fan modules received is mapped to the serial number of the physical fan module corresponding to the information provided by the second controller, that is, the serial number of the physical fan module connected to the connector via the cable maintains a one-to-one mapping relationship.
[0048] According to an embodiment of the present invention, the physical fan modules are logically numbered according to a preset coding sequence. The numbering sequence of the logical fan modules corresponding to the physical fan modules can be continuous, discontinuous, or reversed, but repeated serial numbers cannot appear. For example, two FAN2s cannot exist at the same time.
[0049] Table 4 Fan module serial number mapping table
[0050]
[0051] As shown in Table 4, the physical fan numbers 0, 1, 2, 3, 4, 5, and 6 correspond to the physical fan modules FAN0, FAN1, FAN2, FAN3, FAN4, FAN5, and FAN6. In solutions 1 and 3, the logical fan numbers are consecutive. For example, in solution 1, the logical fan numbers are fan0, fan1, fan2, fan3, fan4, fan5, and fan6. In solutions 2 and 5, the logical fan numbers are discontinuous. For example, in solution 2, the logical fan numbers are fan0, fan1, fan3, fan4, fan5, and fan6. In solution 4, the logical fan numbers are in reverse order.
[0052] exist Figure 3 In the figure, the mapping relationship between the physical fan sequence and the logical fan sequence can be based on the mapping relationship corresponding to solution 1 or the mapping relationship corresponding to solution 2. In addition, the mapping relationship between the physical fan sequence and the logical fan sequence can also be based on the mapping relationship corresponding to solution 3, solution 4, solution 5 or other solutions, which will not be repeated here.
[0053] Figure 4 FIG. 1 shows a schematic diagram of a fan control device according to another embodiment of the present invention. Figure 4 As shown, the BMC is used as the first controller and the CPLD is used as the second controller. The BMC automatically adjusts the speed of the fan module according to the preset heat dissipation strategy. The speed adjustment operation outputs the duty cycle of each group of fan modules. The BMC sends corresponding duty cycle information to the corresponding physical fan module through the serial number of the logical fan module according to the mapping relationship between the logical fan module and the physical fan module. The BMC sends the duty cycle information of each group of fan modules to the CPLD through the I2C bus. The CPLD outputs the duty cycle signal to the physical fan module according to the physical fan serial number, thereby realizing the communication of duty cycle information between the BMC and the CPLD according to the serial number of the physical fan module.
[0054] In the non-volatile memory accessible to the BMC, the mapping relationships between multiple sets of physical fan numbers and logical fan numbers are stored, and the target mapping relationship scheme required by the current fan control device is also stored. When the BMC starts, the mapping relationships between multiple sets of physical fan numbers and logical fan numbers stored in the non-volatile memory are loaded, and the target mapping relationship scheme stored in the non-volatile memory is also loaded. The mapping relationships between multiple sets of physical fan numbers and logical fan numbers include the mapping relationship corresponding to scheme 1 in Table 4, the mapping relationship corresponding to scheme 2, and so on. The user sends the duty cycle of the user-operated logical fan module to the BMC, and receives the duty cycle and speed value of the logical fan module returned by the BMC.
[0055] According to an embodiment of the present invention, the fan control device further includes a display panel electrically connected to the first controller, and the display panel is used to display a plurality of virtual fan modules, where the plurality of virtual fan modules are arranged based on a logical fan sequence.
[0056] According to an embodiment of the present invention, the display panel of the fan control device can be a device such as a display or a mobile terminal. The display panel can display the operating status of the corresponding physical fan modules in the form of virtual fan modules according to user needs. The virtual fan modules are arranged based on the logical fan sequence. For example, if the logical fan modules are arranged in the order of Fan 0, Fan 1, and Fan 2, then on the display panel, the virtual fan modules are arranged from left to right as Fan 0, Fan 1, and Fan 2, or from top to bottom as Fan 0, Fan 1, and Fan 2, etc.
[0057] According to an embodiment of the present invention, the second controller is also used to obtain the respective operating information of the multiple fan modules and provide the respective operating information of the multiple fan modules to the first controller, where the operating information of the fan modules includes the duty cycle and the rotor speed value; the first controller is also used to map the respective operating information of the multiple fan modules into the respective operating information of multiple virtual fan modules based on the target mapping relationship, and provide the respective operating information of the multiple virtual fan modules to the display panel.
[0058] According to an embodiment of the present invention, when the first controller is a BMC and the second controller is a CPLD, the display panel is electrically connected to the BMC, and the BMC displays the duty cycle and rotor speed value of each group of fan modules to the user through the display panel. At this time, the BMC needs to interact with the CPLD using the physical fan serial number, and obtain the duty cycle and rotor speed value of each group of fan modules of the physical fan serial number from the CPLD. The BMC converts the physical fan serial number into a logical fan serial number based on the target mapping relationship between the currently used physical fan serial number and the logical fan serial number, and displays it to the user through the display panel.
[0059] According to an embodiment of the present invention, by applying a display panel to display the operating information of multiple virtual fan modules, a user can intuitively understand the operating status of each physical fan module, making the user's experience of using the fan control device more user-friendly.
[0060] According to an embodiment of the present invention, the display panel is further configured to display operating information of the virtual fan module in response to a touch operation on the virtual fan module.
[0061] According to an embodiment of the present invention, when the display panel is an operable display device, for example, a control panel such as a touch screen or a computer display screen, a user can operate the display panel. For example, if the display panel is a touch screen, the display panel can receive a user's touch operation on a virtual fan module and perform a corresponding action based on the touch operation. For example, the touch operation can display operating information of the physical fan module corresponding to the virtual fan module. The touch operation can also be configured as needed, for example, inputting a speed value for the physical fan module corresponding to the virtual fan module.
[0062] According to the embodiment of the present invention, by directly performing a touch operation on the display panel, the convenience of realizing display requirements is improved, and the user can obtain the operating information of the virtual fan module more conveniently and quickly.
[0063] According to an embodiment of the present invention, the second controller is also used to detect the on-site status of each of the multiple fan modules and provide the on-site status of each of the multiple fan modules to the first controller; the first controller is also used to map the on-site status of each of the multiple fan modules to the on-site status of each of the multiple virtual fan modules based on the target mapping relationship, and provide the on-site status of each of the multiple virtual fan modules to the display panel.
[0064] According to an embodiment of the present invention, the second controller can determine the in-place status of each of the multiple fan modules based on the configuration information of the server cooling system. The in-place status can be set to include connected to the connector and not connected to the connector. For example, if the physical fan module FAN0 is not connected to the connector, the in-place status of the physical fan module FAN0 is not connected to the connector. If the physical fan module FAN0 is connected to the connector, the in-place status of the physical fan module FAN0 is connected to the connector.
[0065] The second controller sends the detection results of the in-place status of multiple fan modules to the first controller, so that the first controller can determine the in-place status of the virtual fan module according to the target mapping relationship, and display the virtual fan module corresponding to the physical fan module connected to the connector on the display panel.
[0066] According to an embodiment of the present invention, by detecting the on-site status of each of the multiple fan modules through the second controller, the on-site status of all the physical fan modules can be obtained, so that the display panel can display the on-site status of each of the virtual fan modules corresponding to the multiple fan modules to truly reflect the on-site status of all the physical fan modules.
[0067] According to an embodiment of the present invention, the display panel is further configured to display the virtual fan module based on a preset color when the in-position state of the virtual fan module is indicated as out-position.
[0068] According to an embodiment of the present invention, the in-position state may include in-position and out-of-position. When the in-position state is in-position, it means that the physical fan module corresponding to the virtual fan module is connected to the connector and accepts the control of the first control instruction. When the in-position state is out-of-position, it means that the physical fan module corresponding to the virtual fan module is not connected to the connector and does not accept the control of the first control instruction. When the in-position state is out-of-position, the color of the virtual fan module with the in-position state of out-of-position can be displayed according to a preset color, for example, the color of the virtual fan module with the in-position state of out-of-position can be set to gray.
[0069] According to an embodiment of the present invention, the virtual fan module is displayed in a preset color, so that the display of the virtual fan module is more intuitive.
[0070] According to an embodiment of the present invention, the first controller is configured to receive a mapping configuration instruction through an interactive port, and execute the mapping configuration instruction to obtain a target mapping relationship.
[0071] According to an embodiment of the present invention, a mapping configuration instruction receives an externally input mapping relationship and uses this mapping relationship as a target mapping relationship. For example, the configuration instruction may be to map physical fan module FAN3 to logical fan module 0, physical fan module FAN1 to logical fan module 1, and physical fan module FAN0 to logical fan module 2. By executing this mapping configuration instruction, the first controller determines the target mapping relationship.
[0072] According to the embodiment of the present invention, the mapping configuration instruction is received through the interactive port, so that the configuration of the target mapping relationship is more flexible and convenient.
[0073] According to an embodiment of the present invention, the fan control device further includes a first memory electrically connected to the first controller, and the first memory is used to store device configuration information and a mapping relationship table, wherein the mapping relationship table records multiple mapping relationships.
[0074] According to an embodiment of the present invention, the object of heat dissipation of the multiple fan modules controlled by the fan control device is referred to as a target device, and the device configuration information may include information such as the manufacturer, model, environmental parameters, arrangement order of each fan module, or presence and absence of each fan module of the target device. For example, when the target device is an artificial intelligence (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 the location and model information of the graphics processing unit (GPU) and the location and model information of the central processing unit (CPU). 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 fan modules. For example, fan module FAN0 corresponds to logical fan module 6, fan module FAN1 corresponds to logical fan module 5, fan module FAN2 corresponds to logical fan module 4, fan module FAN3 corresponds to logical fan module 3, fan module FAN4 corresponds to logical fan module 2, fan module FAN5 corresponds to logical fan module 1, and fan module FAN6 corresponds to logical fan module 0.
[0075] According to an embodiment of the present invention, the device configuration information and the mapping relationship table stored in the first memory as preset information have strong versatility and can improve the efficiency of the fan control device in determining the target mapping relationship.
[0076] According to an embodiment of the present invention, a first controller is configured to read device configuration information from a first memory and, based on the device configuration information, match multiple mapping relationships included in a mapping relationship table to obtain a target mapping relationship. The multiple mapping relationships include a preset mapping relationship. The first controller is further configured to determine the preset mapping relationship as the target mapping relationship if the target mapping relationship cannot be obtained by matching the multiple mapping relationships.
[0077] According to an embodiment of the present invention, in the process of matching multiple mapping relationships included in the mapping relationship table based on device configuration information, 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 module and fan module expressed in the target mapping information is matched with the mapping relationship between the logical fan module and the fan module in the logical mapping relationship in turn. All logical mapping relationships are matched in turn based on the mapping relationship between a logical fan module and a fan module in the target mapping information. When the current group of logical mapping relationships is not satisfied, switch to the next group of logical mapping relationships, and match in turn until the target mapping relationship is obtained. For example, scheme 4 in Table 4 is used as the logical mapping table, and the target mapping information shows that the fan module corresponding to the logical fan module 6 is FAN0. The first controller first uses this target mapping information to search in scheme 1 and obtains that the fan module corresponding to the logical fan module 6 in scheme 1 is FAN6. At this time, it switches to scheme 2 for searching, but the fan module corresponding to the logical fan module 6 in scheme 2 is FAN6, which still does not meet the requirements. At this time, it switches to scheme 3 for searching, but there is no logical fan module 6 in scheme 3, which still does not meet the requirements. At this time, it switches to scheme 4 for searching, and the match is successful, finally obtaining the first logical mapping relationship. The above-mentioned first logical mapping relationship is the target mapping relationship.
[0078] If a situation occurs where multiple logical mapping relationships do not match the target mapping information, for example: the logical mapping relationship is that the fan module corresponding to the logical fan module 6 is FAN5, and Scheme 4 in Table 4 is used as the logical mapping table, which shows that the fan module corresponding to the logical fan module 6 is FAN0. The logical mapping table corresponding to Scheme 4 in Table 4 does not match the target mapping information, and then the first controller uses Scheme 1, Scheme 2, Scheme 3, and Scheme 5 in the mapping relationship table to match in turn, but none of them match. At this time, the mapping relationship corresponding to Scheme 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 relationships can be referred to for judgment. For example, the target mapping relationship also shows that the fan module corresponding to the logical fan module 3 is vacant. Among the three mapping relationships in the logical mapping table, only one mapping relationship of the fan module corresponding to the logical fan module 3 is vacant. Then, the first controller can select the mapping relationship in which the fan module corresponding to the logical fan module 3 is vacant as the second logical mapping relationship, and then use the above-mentioned second logical mapping relationship as the target mapping relationship.
[0079] According to an embodiment of the present invention, an operating mode is designed to specify a mapping relationship when a matching result is not obtained. 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 the target device even 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.
[0080] According to an embodiment of the present invention, the second controller is also used to detect the on-site status of each of the multiple fan modules and provide the on-site status of each of the multiple fan modules to the first controller; the first controller is also used to determine the target mapping relationship from the mapping relationship table based on the on-site status of each of the multiple fan modules.
[0081] According to an embodiment of the present invention, since the second controller is electrically connected to the connector, and the connector is connected to the fan module, the second controller can detect the in-place status of each of the plurality of fan modules by detecting the physical connection status of the fan module.
[0082] According to an embodiment of the present invention, through the connection relationship between the first controller and the second controller, the second controller transmits the detected on-site status of each of the multiple fan modules to the first controller, so that the first controller can determine the target mapping relationship from the mapping relationship table according to the on-site status of each of the multiple fan modules.
[0083] According to an embodiment of the present invention, the first controller is used to obtain the number of in-place fans based on the in-place status of each of the multiple fan modules, select at least one candidate mapping relationship that matches the number of in-place fans from the mapping relationship table, and determine the target mapping relationship from the at least one candidate mapping relationship.
[0084] According to an embodiment of the present invention, the first controller can also preliminarily determine at least one candidate mapping relationship by comparing the number of in-place fans in the mapping relationship table with the actual number of in-place fans, and then further determine the target mapping relationship based on other methods. For example, based on the in-place status of multiple fan modules, the fan module that is out of place is determined, and the target mapping relationship is further determined based on whether the fan module that is out of place corresponds to an empty position.
[0085] According to an embodiment of the present invention, by storing corresponding device configuration information and a logical mapping table in a first storage device, 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.
[0086] According to an embodiment of the present invention, the first controller is further electrically connected to a plurality of temperature sensors. The temperature sensors are configured to be disposed adjacent to the heating parts, and the temperature sensors are used to feed back temperature information to the first controller.
[0087] According to an embodiment of the present invention, a temperature sensor can be disposed within the chassis of the target device, and further disposed within the chassis of the target device near a heat-generating portion of the target device. The first controller in the fan control device can also establish an electrical connection with the multiple temperature sensors to transmit collected temperature information in the form of a digital signal to the first controller in real time, thereby enabling real-time monitoring of the temperature within the chassis of the target device. For example, the temperature sensor can be a high-precision digital temperature sensor.
[0088] According to an embodiment of the present invention, multiple temperature sensors can be arranged in a chassis of a target 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.
[0089] 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 target 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.
[0090] 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.
[0091] According to an embodiment of the present invention, temperature sensors are preferably located in locations on the target 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.
[0092] According to an embodiment of the present invention, multiple temperature sensors are used to capture temperature changes in the chassis of a target 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 locations or increase the speed of the fan modules in corresponding locations 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 locations can be reduced to reduce power consumption. The above-mentioned temperature-based fan speed control event triggering mechanism has a faster response speed and higher energy efficiency ratio.
[0093] According to an embodiment of the present invention, the first controller is also used to generate a third instruction sequence based on the physical fan sequence based on the temperature information fed back by each of the multiple temperature sensors, and provide the third instruction sequence to the second controller, the third instruction sequence including the second control instructions of each of the multiple fan modules; the second controller is also used to send the respective second control instructions to the multiple fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the speed based on the received second control instructions.
[0094] According to an embodiment of the present invention, the first controller can determine a third instruction sequence based on the physical fan sequence according to a preset speed adjustment rule and the temperature information fed back by each of the multiple temperature sensors received. For example, the second control instructions of each of the multiple fan modules included in the third instruction sequence include the duty cycle of each group of fan modules. The first controller can use the logical fan serial number to issue the third instruction sequence. The first controller converts the logical fan serial number into a physical fan serial number through the mapping relationship between the currently used physical fan serial number and the logical fan serial number, and sends it to the second controller through the I2C bus. The second controller then outputs the second control instruction to the fan module according to the physical fan serial number, realizing communication based on the physical fan serial number, so that the first controller can realize the function of accurately controlling the physical fan module by operating the logical fan module.
[0095] According to an embodiment of the present invention, the second controller is further configured to detect the working state of the first controller, and control the rotation speeds of the plurality of fan modules when it is determined that the first controller is working abnormally.
[0096] According to an embodiment of the present invention, the working status of the first controller may include normal operation and abnormal operation. When the first controller is working normally, the first controller continues to work. When the first controller is working abnormally, the second controller may temporarily replace the work of the first controller and control the speed of multiple fan modules until the first controller is working normally.
[0097] According to the embodiment of the present invention, when the working state of the first controller is abnormal, the second controller controls the rotation speeds of the plurality of fan modules, thereby improving the reliability of the fan control device.
[0098] According to an embodiment of the present invention, the second controller is used to generate a fourth instruction sequence based on the physical fan sequence based on a preset control strategy, and the fourth instruction sequence includes the third control instructions of each of the multiple fan modules; the second controller is also used to send the respective third control instructions to the multiple fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the speed based on the received third control instructions.
[0099] According to an embodiment of the present invention, the preset control strategy can be a control strategy for controlling the fan module to operate based on maximum power, a control strategy for controlling the fan module to operate based on minimum power, or a control strategy for controlling the fan module to operate according to a preset power curve.
[0100] According to the embodiment of the present invention, by means of presetting the control strategy, the personalized needs of the user can be more conveniently met, and the control of the fan module can be made more flexible.
[0101] Figure 5 A schematic diagram of the initialization logic flow of the first controller of the fan control device according to an embodiment of the present invention is shown.
[0102] like Figure 5 As shown, when the first controller is a BMC and the second controller is a CPLD, after the BMC is powered on, the BMC performs an initialization process, loads the mapping relationship between multiple sets of physical fan serial numbers and logical fan serial numbers stored in the non-volatile memory, as shown in Table 4, and loads the target mapping relationship applied by the current fan control device; after the loading is completed, according to the actual operation of the current fan control device, it is confirmed whether the loaded target mapping relationship is correct. If the loading is successful, the target mapping relationship is used as the loading scheme. For example, if the loading is successful, the applied target mapping relationship is Scheme 3 in Table 4, then Scheme 3 in Table 4 is used as the final loading scheme. If the loading fails, a one-to-one mapping scheme is used, such as Scheme 1 in Table 4.
[0103] The initialization logic method of the first controller includes operations S501 to S506.
[0104] In operation S501 , the first controller is powered on and started.
[0105] In operation S502 , a plurality of mapping relationships between physical fan serial numbers and logical fan serial numbers stored in a non-volatile memory is loaded.
[0106] In operation S503 , a target mapping relationship is determined from a plurality of mapping relationships between physical fan numbers and logical fan numbers.
[0107] In operation S504, it is determined whether the target mapping relationship is correct. If the target mapping relationship is correct, operation S506 is performed, and the target mapping relationship is used as the loading solution. If the target mapping relationship is incorrect, operation S505 is performed.
[0108] In operation S505 , the default mapping is used, the physical fan number is consistent with the logical fan number, and operation S506 is performed.
[0109] In operation S506 , the target mapping relationship is loaded.
[0110] Figure 6 A control logic flow diagram of a first controller of a fan control device according to an embodiment of the present invention is shown.
[0111] like Figure 6As shown, when the first controller is a BMC and the second controller is a CPLD, the BMC uses the physical fan serial number to interact with the CPLD via the I2C bus. The CPLD obtains the duty cycle and rotor speed of the physical fan module. Based on the mapping between the physical fan serial number and the logical fan serial number, the BMC converts the physical fan serial number into a logical fan serial number and displays the fan information to the user using the logical fan serial number. For example, the CPLD obtains the duty cycle and rotor speed of physical fan module FAN3. The BMC interacts with the CPLD via the I2C bus and, based on the mapping between the physical fan serial number and the logical fan serial number, converts physical fan module FAN3 into logical fan module 2 and displays the fan information to the user using the logical fan module 2.
[0112] The control logic method of the first controller includes operations S601 to S607.
[0113] In operation S601, a user's speed adjustment instruction for a logical fan number is obtained.
[0114] In operation S602 , the logical fan number is converted into a physical fan number.
[0115] In operation S603 , a heat dissipation strategy of the fan module is obtained.
[0116] In operation S604 , a duty cycle of the physical fan module corresponding to the physical fan serial number is determined according to the heat dissipation strategy of the fan module.
[0117] In operation S605, the duty cycle of the physical fan module is sent to the second controller, so that the second controller controls the physical fan module represented by the corresponding physical fan serial number according to the duty cycle, and receives the duty cycle and rotor speed of the physical fan module represented by the physical fan serial number collected by the second controller.
[0118] In operation S606 , the physical fan number is converted into a logical fan number.
[0119] In operation S607 , the operating status of the fan is displayed to the user using the logical fan number.
[0120] An embodiment of the present invention provides an electronic device, which includes a fan control device and multiple fan modules; wherein the fan control device includes a first controller, a second controller and a connector, wherein the first controller is electrically connected to the second controller, and the second controller is electrically connected to multiple interfaces of the connector respectively, and the multiple interfaces of the connector are used to connect multiple fan modules respectively; wherein the first controller is used to receive a first instruction sequence based on a logical fan sequence through an interactive port with a user, map the first instruction sequence to a second instruction sequence based on a physical fan sequence based on a target mapping relationship, and provide a second instruction sequence to the second controller, the second instruction sequence including the first control instructions of each of the multiple fan modules, and the physical fan sequence is determined based on the connection relationship between the second controller and the multiple fan modules; the second controller is used to send the respective first control instructions to the multiple fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the speed based on the received first control instructions.
[0121] Figure 7 A structural block diagram of an electronic device according to an embodiment of the present invention is shown.
[0122] like Figure 7 As shown, electronic device 700 includes a fan control device 701 and multiple fan modules. The multiple fan modules include a first fan module 702, a second fan module 703, ..., and an nth fan module 70n. The first fan module 702, the second fan module 703, ..., and the nth fan module 70n are all electrically connected to the fan control device 701.
[0123] According to an embodiment of the present invention, the electronic device further includes a display panel electrically connected to the first controller, and the display panel is used to display a plurality of virtual fan modules, wherein the plurality of virtual fan modules are arranged based on a logical fan sequence.
[0124] According to an embodiment of the present invention, the second controller is also used to obtain the respective operating information of the multiple fan modules, and provide the respective operating information of the multiple fan modules to the first controller, the operating information of the fan modules including the duty cycle and the rotor speed value; the first controller is also used to map the respective operating information of the multiple fan modules into the respective operating information of multiple virtual fan modules based on the target mapping relationship, and provide the respective operating information of the multiple virtual fan modules to the display panel; the display panel is also used to display the operating information of the virtual fan modules in response to touch operations on the virtual fan modules.
[0125] According to an embodiment of the present invention, the second controller is also used to detect the on-site status of each of the multiple fan modules, and provide the on-site status of each of the multiple fan modules to the first controller; the first controller is also used to map the on-site status of each of the multiple fan modules to the on-site status of each of the multiple virtual fan modules based on the target mapping relationship, and provide the on-site status of each of the multiple virtual fan modules to the display panel; the display panel is also used to display the virtual fan module based on a preset color when the on-site status of the virtual fan module is indicated as out of position.
[0126] 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, characterized in that: The device comprises: A first controller, a second controller, and a connector, wherein the first controller is electrically connected to the second controller, and the second controller is electrically connected to multiple interfaces of the connector, respectively, and the multiple interfaces of the connector are used to connect to multiple fan modules, respectively, wherein the serial numbers of the multiple interfaces of the connector correspond one-to-one to the serial numbers of the multiple fan modules; The first controller is configured to receive, through an interactive port with a user, a first instruction sequence based on a logical fan sequence, map the first instruction sequence into a second instruction sequence based on a physical fan sequence based on a target mapping relationship, and provide the second instruction sequence to the second controller, wherein the second instruction sequence includes first control instructions for each of the plurality of fan modules, and the physical fan sequence is determined based on a connection relationship between the second controller and the plurality of fan modules; The second controller is configured to send respective first control instructions to the plurality of fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the rotation speed based on the received first control instructions.
2. The fan control device according to claim 1, wherein: The fan control device further includes a display panel electrically connected to the first controller, and the display panel is used to display a plurality of virtual fan modules, where the plurality of virtual fan modules are arranged in sequence based on the logical fan.
3. The fan control device according to claim 2, wherein: The second controller is further configured to obtain operating information of each of the plurality of fan modules and provide the operating information of each of the plurality of fan modules to the first controller, wherein the operating information of the fan modules includes a duty cycle and a rotor speed value; The first controller is further configured to map the respective operating information of the plurality of fan modules to the respective operating information of the plurality of virtual fan modules based on the target mapping relationship, and provide the respective operating information of the plurality of virtual fan modules to the display panel.
4. The fan control device according to claim 3, wherein: The display panel is further configured to display operating information of the virtual fan module in response to a touch operation on the virtual fan module.
5. The fan control device according to claim 2, wherein: The second controller is further configured to detect the in-position status of each of the plurality of fan modules and provide the in-position status of each of the plurality of fan modules to the first controller; The first controller is further configured to map the respective on-site states of the plurality of fan modules to the respective on-site states of the plurality of virtual fan modules based on the target mapping relationship, and provide the respective on-site states of the plurality of virtual fan modules to the display panel.
6. The fan control device according to claim 5, characterized in that: The display panel is further configured to display the virtual fan module based on a preset color when the in-position state of the virtual fan module is indicated as out-position.
7. The fan control device according to claim 1, wherein: The first controller is configured to receive a mapping configuration instruction through the interactive port, and execute the mapping configuration instruction to obtain the target mapping relationship.
8. The fan control device according to claim 1, wherein: The fan control device further includes a first memory electrically connected to the first controller, and the first memory is used to store device configuration information and a mapping relationship table, wherein the mapping relationship table records a plurality of mapping relationships.
9. The fan control device according to claim 8, wherein: The first controller is configured to read the device configuration information from the first memory, and match a plurality of mapping relationships included in the mapping relationship table based on the device configuration information to obtain the target mapping relationship.
10. The fan control device according to claim 9, wherein: The multiple mapping relationships include preset mapping relationships; The first controller is further configured to determine the preset mapping relationship as the target mapping relationship if the target mapping relationship cannot be obtained by matching from the multiple mapping relationships.
11. The fan control device according to claim 8, wherein: The second controller is further configured to detect the in-position status of each of the plurality of fan modules and provide the in-position status of each of the plurality of fan modules to the first controller; The first controller is further configured to determine the target mapping relationship from the mapping relationship table based on the respective in-place statuses of the plurality of fan modules.
12. The fan control device according to claim 11, wherein: The first controller is used to obtain the number of fans in place based on the respective in-place status of the multiple fan modules, select at least one candidate mapping relationship that matches the number of fans in place from the mapping relationship table, and determine the target mapping relationship from the at least one candidate mapping relationship.
13. The fan control device according to claim 1, wherein: The first controller is also electrically connected to a plurality of temperature sensors. The temperature sensors are configured to be disposed adjacent to a heating portion and are used to feed back temperature information to the first controller.
14. The fan control device according to claim 13, wherein: The first controller is further configured to generate a third instruction sequence based on the order of the physical fans based on the temperature information fed back by each of the multiple temperature sensors, and provide the third instruction sequence to the second controller, wherein the third instruction sequence includes the second control instructions of each of the multiple fan modules; The second controller is further configured to send respective second control instructions to the plurality of fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the rotation speed based on the received second control instructions.
15. 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 control the rotation speeds of the plurality of fan modules when it is determined that the first controller is working abnormally.
16. The fan control device according to claim 15, wherein: The second controller is used to generate a fourth instruction sequence based on the physical fan sequence based on a preset control strategy, and the fourth instruction sequence includes the third control instructions of each of the multiple fan modules; the second controller is also used to send the respective third control instructions to the multiple fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the speed based on the received third control instructions.
17. An electronic device, characterized in that: The electronic device includes a fan control device and a plurality of fan modules; The fan control device includes a first controller, a second controller, and a connector, wherein the first controller is electrically connected to the second controller, and the second controller is electrically connected to multiple interfaces of the connector respectively, and the multiple interfaces of the connector are used to connect the multiple fan modules respectively, wherein the serial numbers of the multiple interfaces of the connector correspond one-to-one to the serial numbers of the multiple fan modules; The first controller is configured to receive, through an interactive port with a user, a first instruction sequence based on a logical fan sequence, map the first instruction sequence into a second instruction sequence based on a physical fan sequence based on a target mapping relationship, and provide the second instruction sequence to the second controller, wherein the second instruction sequence includes first control instructions for each of the plurality of fan modules, and the physical fan sequence is determined based on a connection relationship between the second controller and the plurality of fan modules; The second controller is configured to send respective first control instructions to the plurality of fan modules in sequence through the connector based on the physical fan sequence, so that the fan modules adjust the rotation speed based on the received first control instructions.
18. The electronic device according to claim 17, wherein: The electronic device further includes a display panel electrically connected to the first controller, and the display panel is configured to display a plurality of virtual fan modules arranged in sequence based on the logical fan sequence.
19. The electronic device according to claim 18, wherein: The second controller is further configured to obtain operating information of each of the plurality of fan modules and provide the operating information of each of the plurality of fan modules to the first controller, wherein the operating information of the fan modules includes a duty cycle and a rotor speed value; The first controller is further configured to map the respective operating information of the plurality of fan modules to the respective operating information of the plurality of virtual fan modules based on the target mapping relationship, and provide the respective operating information of the plurality of virtual fan modules to the display panel; The display panel is further configured to display operating information of the virtual fan module in response to a touch operation on the virtual fan module.
20. The electronic device according to claim 18, wherein The second controller is further configured to detect the in-position status of each of the plurality of fan modules and provide the in-position status of each of the plurality of fan modules to the first controller; The first controller is further configured to map the respective on-site states of the plurality of fan modules to the respective on-site states of the plurality of virtual fan modules based on the target mapping relationship, and provide the respective on-site states of the plurality of virtual fan modules to the display panel; The display panel is further configured to display the virtual fan module based on a preset color when the in-position state of the virtual fan module is indicated as out-position.
Citation Information
Patent Citations
Fan control device and electronic equipment
CN120231782A
Fan control system
TWI819749B