CN120231782A - Fan Controls and Electronics - Google Patents
Fan Controls and Electronics Download PDFInfo
- Publication number
- CN120231782A CN120231782A CN202510713082.2A CN202510713082A CN120231782A CN 120231782 A CN120231782 A CN 120231782A CN 202510713082 A CN202510713082 A CN 202510713082A CN 120231782 A CN120231782 A CN 120231782A
- Authority
- CN
- China
- Prior art keywords
- fan
- controller
- logic
- mapping
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D27/00—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
- F04D27/004—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Cooling Or The Like Of Electrical Apparatus (AREA)
Abstract
The invention provides a fan control device and electronic equipment, which can be applied to the technical field of fan control. The fan control device comprises a main board, a fan controller and a second controller, wherein the first controller is provided with a first controller, the fan board is provided with a second controller and a connector, the connector comprises a plurality of ports, the connector is used for being respectively and electrically connected with a plurality of fan modules through a plurality of target ports in the plurality of ports, the target ports are respectively corresponding to a plurality of logic fans, the first controller is used for determining a target mapping relation, responding to a fan speed regulating event and being triggered, the speed regulating instructions of the plurality of fan modules are mapped into speed regulating instructions of the plurality of logic fans based on the target mapping relation, the target mapping relation is used for representing the mapping relation between the plurality of fan modules and the plurality of logic fans, and the second controller is used for respectively carrying out speed control on the plurality of fan modules through the plurality of target ports based on the speed regulating instructions of the plurality of logic fans.
Description
Technical Field
The present invention relates to the field of fan control technologies, and in particular, to a fan control device, an electronic apparatus, and a fan control method.
Background
In recent years, with rapid development of internet technology, cloud services and cloud computing are rapidly rising, and servers are also becoming more and more important as key devices supporting various applications of the current internet. Meanwhile, the computing power and the storage density of the server are both increased in an explosive manner, so that the power consumption and the heat generation of equipment elements are increased, and therefore, how to design a heat dissipation system of the server becomes important. The air cooling heat dissipation is a mainstream heat dissipation mode of a server, the fan set is used as a main heat dissipation component, and the fan set can be used for driving cold air to flow in an accelerating manner and hot air to flow out of the chassis in an accelerating manner.
The controller on the fan plate can respectively control different fans according to the connection relation between the connector and the fan module, thereby achieving the purpose of independently adjusting the speed of different fan modules. However, for different server architectures, the sequence of the fan modules is not fixed, so that the sequence of the connector numbers cannot be consistent with the sequence of the fan module numbers in some architectures, and the fan regulation scheme in the related art cannot meet the adaptation requirements of various scenes.
Disclosure of Invention
In view of the above, the present invention provides a fan control apparatus and an electronic device.
One aspect of the invention provides a fan control device arranged in a chassis of an electronic device, the fan control device comprising a main board provided with a first controller, a fan board provided with a second controller and a connector, wherein the connector comprises a plurality of ports, the connector is used for being electrically connected with a plurality of fan modules through a plurality of target ports in the plurality of ports respectively, the plurality of ports are corresponding to a plurality of logic fans respectively, the first controller is used for determining a target mapping relation, responding to a fan speed regulation event and being triggered based on the target mapping relation, a speed regulation instruction of the plurality of fan modules is mapped into a speed regulation instruction of the plurality of logic fans, the target mapping relation is used for representing the mapping relation between the plurality of fan modules and the plurality of logic fans, and the second controller is used for controlling the rotating speed of the plurality of fan modules through the plurality of target ports respectively based on the speed regulation instruction of the plurality of logic fans.
Another aspect of the present invention provides an electronic device comprising a fan control apparatus as described above.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1A illustrates an example of a connection relationship between a fan module and a connector on a fan board;
FIG. 1B illustrates an example of an arrangement of two fan modules;
FIG. 2 schematically illustrates a schematic view of a fan control apparatus according to an embodiment of the present invention;
FIG. 3 schematically illustrates a schematic view of a fan control apparatus according to another embodiment of the present invention;
fig. 4 schematically shows a schematic view of a fan control apparatus according to another embodiment of the present invention;
fig. 5 schematically illustrates a schematic view of a fan control apparatus according to another embodiment of the present invention;
FIG. 6 schematically illustrates a schematic view of a fan control apparatus according to another embodiment of the present invention;
FIG. 7 schematically illustrates a schematic view of a fan control apparatus according to another embodiment of the present invention;
fig. 8 schematically illustrates a schematic view of a fan control apparatus according to another embodiment of the present invention;
fig. 9 schematically illustrates a schematic view of a fan control apparatus according to another embodiment of the present invention;
FIG. 10 schematically illustrates a flow chart of operation of the fan control apparatus when the first controller is operating abnormally, according to an embodiment of the present invention;
FIG. 11 schematically illustrates a schematic diagram of the operation of the fan control apparatus when the first controller is out of operation in accordance with another embodiment of the present invention;
Fig. 12 schematically shows a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 13 schematically shows a flowchart of a fan control method according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. It should be understood that the description is only illustrative and is not intended to limit the scope of the invention. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the present invention.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one of skill in the art having generally understood the convention (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
The main modes adopted by the current server heat dissipation system are air cooling or liquid cooling. The main radiating component of the air-cooled radiating server is a fan module, and the air-cooled radiating can be realized by driving cold air to flow into the case in an accelerating way and hot air to flow out of the case in an accelerating way by the fan module.
For different server architectures, the fan module can realize one-layer, two-layer or even more layers of layout. For example, in a large-capacity server or an AI server, the number of processors and memories disposed in a single server host is large, so that more layers of fan modules need to be disposed in the servers to achieve a wider ventilation area.
The fan modules may be interconnected by cables with connectors on the fan plate.
Fig. 1A shows an example of a connection relationship between a fan module and a connector on a fan board.
As shown in FIG. 1A, the fan modules can be numbered according to 0-9, correspondingly, the connectors can also be numbered according to 0-9, the fan modules with the same number are connected with the connectors, and the controllers on the fan boards can respectively control different fan rotating speeds according to the relation of the connectors, so that the purpose of independently adjusting the speeds of the different fan modules is achieved.
However, in the practical development and use process, the sequence of the fan modules is not fixed and regular, but various. This results in a connector numbering sequence that sometimes cannot be consistent with the fan module numbering sequence, and in this case, if the cable is readjusted and the fan plate design is modified, not only the cost is increased, but also a number of difficulties are brought to maintenance, which is not the optimal solution.
Fig. 1B shows an example of an arrangement of two fan modules.
As shown in fig. 1B, in the first heat dissipation scenario, the electronic device needs to be provided with fan modules at 10 positions, and the order is sequentially arranged from top to bottom from left to right, but in the second heat dissipation scenario, the electronic device needs to be provided with fan modules at 8 positions, and the arrangement order is staggered, so that not only the fan modules need to be adjusted for different heat dissipation scenarios, but also the fan connection plates corresponding to the fan modules need to be adjusted for adapting to different orders. Fig. 1B only illustrates two kinds of scenes sequentially presented by the fan module, and the actual scene may be more complex and diverse than those two kinds of cases. Therefore, the current fan regulation scheme cannot meet the adaptation requirements of various scenes.
In view of the above, it is necessary to develop a fan module and a connector using the same set of physical connection relationship, and a fan device capable of achieving multiple connection sequences after being controlled by a controller, so as to adapt to different heat dissipation scenes.
In view of the foregoing, embodiments of the present invention provide a fan control apparatus that may have a relatively high flexibility when facing the layout arrangement combination of the multi-layer fan modules, and can at least partially solve the problems of poor reusability, high design cost, and difficult maintenance in the related solution.
The embodiment of the invention provides a fan control device which is arranged in a chassis of electronic equipment, and the fan control device comprises a main board, a fan module and a second controller, wherein the first controller is provided with a first controller, the fan board is provided with a second controller and a connector, the connector comprises a plurality of ports, the connector is used for being respectively and electrically connected with a plurality of fan modules through a plurality of target ports in the plurality of ports, the plurality of ports are respectively corresponding to a plurality of logic fans, the first controller is used for determining a target mapping relation, responding to a fan speed regulation event and being triggered, and mapping speed regulation instructions of the plurality of fan modules into speed regulation instructions of the plurality of logic fans based on the target mapping relation, the target mapping relation is used for representing the mapping relation between the plurality of fan modules and the plurality of logic fans, and the second controller is used for respectively controlling the rotating speed of the plurality of fan modules through the plurality of target ports based on the speed regulation instructions of the plurality of logic fans.
Fig. 2 schematically shows a schematic view of a fan control apparatus according to an embodiment of the present invention.
As shown in fig. 2, the fan control apparatus 200 may be disposed in a heat dissipation air duct area of the server chassis or an area in other electronic devices where heat dissipation is required. The fan control apparatus 200 may include a main board 10 and a fan board 20, which are electrically connected through a board-to-board connector.
The motherboard 10 may be a circuit board of a multilayer structure or a circuit board of a single-layer structure according to an embodiment of the present invention, which is not limited herein. A first controller 11 may be disposed on one of the surfaces of the main board 10, and the first controller 11 may be fixedly disposed on the main board 10 by means of soldering. The first controller 11 may be a baseboard management controller (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, integrated circuit bus).
According to an embodiment of the present invention, the fan board 20 may be a single-panel, double-panel, or multi-layered 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, microcontroller) or a CPLD (Complex Programmable Logic Device ). Connector 22 may include a plurality of ports, such as port P 0, port P 1, port P 2. The fan module is a physical fan, and some or all of the ports are connected with a physical fan, such as port P 0 electrically connected with physical fan F A, port P 1 electrically connected with physical fan F B, Port P 2 is electrically connected to physical fan F C and port P n is electrically connected to physical fan F Z. Each port may correspond to a logical fan, for example, port P 0 may correspond to logical fan P 0, port P 1 may correspond to logical fan P 1, port Pn may correspond to logical fan Pn, and so on.
According to the embodiment of the invention, the number of the logic fans can be larger than that of the physical fans, and part of ports can not be connected with the physical fans. The target ports may represent ports having a connection relationship with the physical fan, and the number of the target ports is equal to or less than the number of the ports.
According to the embodiment of the invention, when the electronic device starts to operate, the first controller 11 may determine the target mapping relationship through relevant device information of the electronic device or through manual setting, where the target mapping relationship is used to represent the mapping relationship between the plurality of fan modules and the plurality of logic fans.
According to the embodiment of the invention, when the electronic device is in operation, the fan speed regulation event is triggered due to factors such as temperature change and manual control, the first controller 11 responds and determines speed regulation instructions of the plurality of fan modules, and then maps the speed regulation instructions of the plurality of fan modules into speed regulation instructions of the plurality of logic fans based on the target mapping relation.
For example, the target mapping relationship can be as shown in FIG. 2, i.e. the physical fan F A corresponds to the logical fan P 0, the physical fan F B corresponds to the logical fan P 1, Physical fan F C corresponds to logical fan P 2 and physical fan F Z corresponds to logical fan P n. When the rotational speed of the physical fans F A and F B is controlled, the first speed regulating command is used and based on the target mapping relationship, the first speed regulating command of the physical fans F A and F B is mapped into the speed regulating command of the logical fans P 0 and P 1 and sent to the second controller, the second controller sends the speed regulating command of the logical fans P 0 and P 1 to the port P 0 and P 1 respectively based on the physical connection relationship on the current fan board, and since the port P 0 is electrically connected with the physical fan F A and the port P 1 is electrically connected with the physical fan F B, the second controller can regulate the rotational speeds of the physical fans F A and F B by using the first speed regulating command.
According to the embodiment of the invention, in the actual rotating speed control process, the second controller can adjust the parameters of the output signals according to the requirements of the speed regulation instruction, so as to change the power supply voltage or current of the fan module, thereby achieving the purpose of accurately controlling the rotating speed of the fan.
According to the embodiment of the invention, the first controller can realize the self-adaptive switching of various fan sequences by loading different mapping relations, and indirectly control the fan modules after the sequence conversion by regulating and controlling the signal instruction of the logic fan, so that the flexibility of the arrangement and layout of the fan modules is effectively improved, and the reusability of the fan control device is improved.
According to the embodiment of the invention, the main board is further provided with a first memory, and the first memory is used for storing the equipment configuration information and the logic mapping table, wherein the logic mapping table comprises a plurality of logic mapping relations. The first controller is used for reading the equipment configuration information and the logic mapping table from the first memory, and determining a target mapping relation from a plurality of logic mapping relations included in the logic mapping table based on the equipment configuration information.
Fig. 3 schematically shows a schematic view of a fan control apparatus according to another embodiment of the present invention.
As shown in fig. 3, the fan control apparatus 300 includes a main board 10 and a fan board 20. The main board 10 is provided with a first controller 11 and a first memory 12, the fan board 20 is provided with a second controller 21 and a connector 22, and the connector 22 connects a plurality of fan modules through a plurality of ports. The mapping relationship between the logic fan and the fan module may be stored in the first memory 12, and the first memory 12 may be an FRU (Baseboard Management Controller, asset information storage chip). The first controller 11 is electrically connected to the first memory 12, the first controller 11 is electrically connected to the second controller 21, and the second controller 21 is electrically connected to the connector 22.
According to the embodiment of the invention, the equipment configuration information can comprise information such as manufacturer, model, environmental parameters of the electronic equipment, arrangement sequence of each fan module configured in the electronic equipment or positions and vacancies of each fan module configured in the electronic equipment. For example, when the electronic device is an AI server, the device configuration information may include core computing device information, which may include GPU location and model information, CPU location and model information, stored system information, and network configuration information.
According to an embodiment of the present invention, the logic mapping table may include a plurality of logic mapping relationships, and each logic mapping relationship may represent a mapping relationship between a plurality of fan modules and a plurality of logic fans. For example, the logical mapping table may be as shown in Table 1.
TABLE 1
In table 1, the first mapping relationship is that the fan module F A corresponds to the logic fan P 0, the fan module F B corresponds to the logic fan P 1, the fan module Fc corresponds to the logic fan P 2, the fan module F D corresponds to the logic fan P 3, the fan module F E corresponds to the logic fan P 4, the fan module F F corresponds to the logic fan P 5, and the fan module F G corresponds to the logic fan P 6.
The second mapping relationship is that the fan module F A corresponds to the logic fan P 6, the fan module F B corresponds to the logic fan P 5, the fan module Fc corresponds to the logic fan P 4, the fan module F D corresponds to the logic fan P 3, the fan module F E corresponds to the logic fan P 2, the fan module F F corresponds to the logic fan P 1, and the fan module F G corresponds to the logic fan P 0.
The third mapping relationship is that the fan module F A is a null, the fan module F B is corresponding to the logic fan P 4, the fan module Fc is corresponding to the logic fan P 5, the fan module F D is corresponding to the logic fan P 6, the fan module F E is corresponding to the logic fan P 0, the fan module F F is corresponding to the logic fan P 1, and the fan module F G is a null.
According to the embodiment of the invention, the determination of the target mapping relationship can be determined according to the vacancy information of the fan modules, for example, the fan module F A and the fan module F G are obtained according to the vacancy information of each fan module included in the equipment configuration information, if the three mapping relationships stored in the logic mapping table only meet the requirement of the mapping relationship three, the target mapping relationship can be determined to be the mapping relationship three.
According to the embodiment of the invention, the determination of the target mapping relationship can also be determined by the electrical connection relationship between the port stored in the equipment configuration information and the fan module, for example, if the port P 0 is electrically connected with the fan module F A and the port P 0 is electrically connected with the fan module F G according to the electrical connection relationship between the port stored in the equipment configuration information, only the mapping relationship three accords with the requirement, and the target mapping relationship can be determined to be the mapping relationship one.
According to the embodiment of the invention, the fan board is further provided with a second memory, and the second memory is used for storing equipment configuration information and a logic mapping table, wherein the logic mapping table comprises a plurality of logic mapping relations. And determining a target mapping relation from a plurality of logic mapping relations included in the logic mapping table based on the device configuration information.
Fig. 4 schematically shows a schematic view of a fan control apparatus according to another embodiment of the present invention.
As shown in fig. 4, the fan control apparatus 400 includes a main board 10 and a fan board 20. The main board 10 is provided with a first controller 11, the fan board 20 is provided with a second controller 21, a connector 22 and a second memory 23, and the connector 22 is connected to a plurality of fan modules through a plurality of ports. The mapping relationship between the logic fan and the fan module can be stored in the second memory 23, and the second memory 23 can be an FRU (Baseboard Management Controller, asset information storage chip). The first controller 11 is electrically connected to the second memory 23, the first controller 11 is electrically connected to the second controller 21, and the second controller 21 is electrically connected to the connector 22.
The method for determining the structure and the target mapping relationship of the logic mapping table is the same as that described above, and will not be described in detail herein.
According to the embodiment of the invention, the corresponding equipment configuration information and the logic mapping table are stored in the first memory, the target mapping relation can be obtained by screening the equipment configuration information from the logic mapping table, different heat dissipation requirements or fan module arrangement sequences can be matched, and the corresponding fan modules are subjected to speed regulation based on the target mapping relation. The method of the invention also effectively improves the flexibility of the arrangement and layout of the fan modules and the reusability of the fan control device.
According to the embodiment of the invention, the main board is further provided with a first memory, the first memory is used for storing equipment configuration information and a mapping information table, the mapping information table comprises a plurality of pieces of logic mapping information, the logic mapping information comprises information for describing the mapping relation between the fan module and the logic fan, and the fan board is further provided with a second memory, the second memory is used for storing a logic mapping table, and the logic mapping table comprises a plurality of pieces of logic mapping relation. The first controller is used for determining target mapping information from a plurality of pieces of logic mapping information included in the mapping information table based on the equipment configuration information, and matching the target mapping information from the plurality of pieces of logic mapping relations included in the logic mapping table to obtain a target mapping relation.
Fig. 5 schematically shows a schematic view of a fan control apparatus according to another embodiment of the present invention. As shown in fig. 5, the fan control apparatus 500 includes a main board 10 and a fan board 20. The main board 10 is provided with a first controller 11 and a first memory 12, and the fan board 20 is provided with a second controller 21, a connector 22, and a second memory 23, the connector 22 being connected to a plurality of fan modules through a plurality of ports. The mapping relationship between the logic fan and the fan module can be stored in the second memory 23. The first controller 11 is electrically connected to the first memory 12, the second controller 21 and the second memory 23, and the second controller 21 is electrically connected to the connector 22.
The first memory 12 and the second memory 23 may each be a FRU (Field Replaceable Unit, asset information storage chip).
According to an embodiment of the present invention, the first memory 12 may store device configuration information and a mapping information table, where the device configuration information may include hardware specification parameters of the electronic device, topology structure of a heat dissipation system, arrangement order information of each fan module, and the like, and the logic mapping information in the mapping information table may include storing a plurality of pieces of logic mapping information in a form of a relational database table, where each piece of logic mapping information includes a physical identifier of a fan module, a logic identifier of a logic fan, a fan type, a rotation speed range, and other descriptive fields. However, the logic mapping information is only a descriptive field, and the fan module cannot be controlled only according to the logic mapping information.
In the second memory 23, according to an embodiment of the present invention, a logical mapping table may be stored, the logical mapping table including a plurality of logical mapping relations. The logical mapping relationship is associated with a corresponding logical fan and fan module, for example, table 1 can be used as the logical mapping table.
According to the embodiment of the invention, the target mapping information is determined according to the device configuration information, and then the target mapping relation is determined according to the target mapping information, for example, the fan modules mapped by the logical fan P 3 and the logical fan P 2 are empty according to the target mapping information obtained according to the empty information of each fan module included in the device configuration information. And comparing the three mapping relations stored in the logic mapping table according to the target mapping information to obtain that only the mapping relation III meets the requirement, and determining the target mapping relation as the mapping relation III.
According to the embodiment of the invention, the target mapping relation can be accurately determined from the logic mapping table according to the target mapping information, and the target mapping information can comprise more comprehensive information about the logic fan and the fan module, so that the determination of the target mapping relation is more accurate.
According to the embodiment of the invention, the first controller is further used for matching the target mapping information with the plurality of logic mapping relations to obtain a matching result, determining that the first logic mapping relation is the target mapping relation when the matching result indicates that the first logic mapping relation in the plurality of logic mapping relations is matched with the target mapping information, selecting the second logic mapping relation from the plurality of logic mapping relations when the matching result indicates that the plurality of logic mapping relations are not matched with the target mapping information, and determining that the second logic mapping relation is the target mapping relation.
According to the embodiment of the invention, in the matching process, the target mapping information is matched with a plurality of logic mapping relations respectively, when the target mapping information is matched with each logic mapping relation, the mapping information between each logic fan and the fan module expressed in the target mapping information is matched with the mapping relation between the logic fan and the fan module in the logic mapping relation in sequence,
And sequentially matching all the logic mapping relations based on the mapping relation between one logic fan and the fan module in the target mapping information, and switching to the next logic mapping relation when the current logic mapping relation is not satisfied, and sequentially matching until the target mapping relation is obtained. For example, table 1 is used as a logic mapping table, the fan module corresponding to the logic fan P 4 is shown as F B in the target mapping information, the first controller first uses the target mapping information to search in the first mapping relation to obtain the fan module corresponding to the logic fan P 4 in the first mapping relation as F E, and then switches to the second mapping relation to search, but the fan module corresponding to the logic fan P 4 in the second mapping relation is as F C, and still does not meet the requirement, and switches to the third mapping relation to search, and the matching is successful, so that the first logic mapping relation is finally obtained, and the first logic mapping relation is the target mapping relation.
If the plurality of logical mapping relationships are not matched with the target mapping information, for example, table 1 is used as the logical mapping table, the fan module corresponding to the logical fan P 4 displayed in the target mapping information is F A, and the first controller matches the first mapping relationship, the second mapping relationship and the third mapping relationship in the mapping relationship table in sequence, but does not match the first mapping relationship and the second mapping relationship. At this time, the first mapping relationship may be designated as a second logical mapping relationship, and then the second logical mapping relationship is designated as a target mapping relationship. Or other target mapping information may be referred to for judgment, for example, the target mapping information further indicates that the fan module corresponding to the logical fan P 3 is a null, and the three mapping relations in the logical mapping table only have the fan module corresponding to the logical fan P 3 with the mapping relation three as a null, so that the first controller may select the mapping relation three as a second logical mapping relation, and then use the second logical mapping relation as the target mapping relation.
According to the embodiment of the invention, when the matching result is not obtained, an operation mode capable of designating the mapping relation is designed, and when the mapping relation is designated, the logical mapping relation closest to the physical position of the target mapping information, highest in historical use frequency or recommended by the manufacturer can be selected as the final target mapping relation. The staff can dynamically modify the appointed mapping relation, and take the other mapping relation as a second logic mapping relation according to the actual situation. The invention can also maximally radiate the electronic equipment when the corresponding target mapping relation cannot be matched, does not influence the normal operation of the system, and enhances the flexibility and adaptability of the whole radiating system.
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 in a chassis of the electronic device, the temperature sensors are configured to collect and provide temperature information to the first controller, wherein 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.
Fig. 6 schematically shows a schematic view of a fan control apparatus according to another embodiment of the present invention. As shown in fig. 6, the fan control apparatus 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 each electrically connected to the first controller 11.
According to the embodiment of the invention, the first controller in the fan control device can also establish electrical connection with a plurality of temperature sensors and transmit the acquired temperature information to the first controller in a digital signal form in real time so as to realize real-time monitoring of the temperature in the electronic equipment cabinet. The temperature sensor may be, for example, a high-precision digital temperature sensor.
According to embodiments of the present invention, a plurality of temperature sensors may be disposed in a distributed layout in a chassis of an electronic device, for example, for an AI (ARTIFICIAL INTELLIGENCE ) server, the temperature sensors may be disposed on a CPU heat sink surface, a GPU module periphery, a memory slot area, a hard disk storage bin, and a chassis air outlet location. Through laying in above-mentioned position, a plurality of temperature sensor can gather the inside key heating element of AI server and the temperature information of whole environment comprehensively. For example, the temperature sensor arranged on the surface of the CPU cooling fin can directly monitor the temperature change of the CPU core area, and the sensor at the air outlet of the chassis is used for acquiring the temperature data after the whole heat dissipation inside the chassis.
According to the embodiment of the invention, the first controller is internally provided with a preset temperature change threshold value and a fan rotating speed adjusting algorithm, and after receiving the temperature information, the first controller can compare and analyze the real-time temperature data with the preset threshold value. When the temperature of a certain area exceeds a preset threshold, the first controller generates a corresponding control signal according to the temperature deviation value and a preset algorithm so as to adjust the rotating speed of the corresponding area or the whole cooling fan and realize dynamic cooling control. For example, if the temperature of the CPU area is increased by 15 ℃, the first controller may start the fan module at the corresponding position, or increase the rotation speed of the fan module at the corresponding position, so as to enhance the heat dissipation effect and ensure the stable operation of the electronic device, and if the temperature of the memory area is reduced by 15 ℃, the first controller may decrease the rotation speed of the fan module at the corresponding position, or temporarily close the fan module at the corresponding position, so as to partially reduce the energy consumption of the fan module.
In addition, the first controller can also have temperature data storage and analysis functions, can store historical temperature information acquired by the temperature sensor, and can simply predict temperature change by analyzing temperature change trend. When abnormal temperature fluctuation or potential overheat risk is detected, the first controller can send alarm information to the remote terminal, so that staff can intervene in time, and the reliability and safety of the fan control device are further improved.
According to the embodiment of the invention, the preferred position of the temperature sensor is set as a position which is easy to generate heat in the electronic equipment, for example, for an AI server, the position which is easy to generate heat is a GPU cluster, a CPU, a memory module, a power module and a network interface card. The temperature sensors are arranged at the positions, so that temperature information data can be utilized to be maximally utilized to dynamically generate a speed regulation command, and the information utilization rate is higher.
According to the embodiment of the invention, the plurality of temperature sensors are used for capturing temperature changes in the case of the electronic device, the temperature change can be a temperature rise amount or a temperature reduction amount compared with rated working temperature, when the temperature rise amount is too large, more fans at corresponding positions are required to be started or the rotating speed of the fan modules at corresponding positions are required to be increased so as to promote heat dissipation, and when the temperature reduction is too large, the fan modules at corresponding areas can be closed or the rotating speed of the fan modules at corresponding positions can be reduced so as to reduce power consumption. The temperature-based fan speed regulation event triggering mechanism has faster response speed and higher energy efficiency ratio.
According to the embodiment of the invention, when the fan module is in the starting stage, the first controller is further used for generating test instructions of the plurality of fan modules, mapping the test instructions of the plurality of fan modules into test instructions of the plurality of logic fans based on the target mapping relation, and the second controller is further used for controlling the rotating speed of the plurality of fan modules through the plurality of target ports respectively based on the test instructions of the plurality of logic fans. The first controller is further configured to obtain test temperature information fed back by each of the plurality of temperature sensors when the second controller performs rotational speed control on each of the fan modules, and determine a detection result of the fan modules based on the plurality of test temperature information, where the detection result indicates whether connection between the fan modules and the corresponding target ports is wrong.
In accordance with an embodiment of the present invention, taking fig. 6 as an example, the first controller sends a test instruction to the second controller, where the test instruction may be to make the fan module F A run at a low speed, make the fan module F B run at a full speed, and perform mapping of the test instruction based on the mapping relation one. After the instruction mapping is completed, the first controller sends the test instructions of the logical fans P 0 and P 1 to the second controller through the data bus. After receiving the instruction, the second controller analyzes each logic fan test instruction, and controls the corresponding fan module according to the port, namely F A and F B. If the mapping relation and the fan control device are normal, F A runs at low speed, and F B runs at full speed.
According to the embodiment of the invention, in the test process, after the second controller sends a test instruction to the fan module through the target port and drives the fan module to run, the first controller can also start to collect temperature information fed back by the temperature sensor. For example, the first controller can poll and read the test temperature information fed back by the plurality of temperature sensors through the I2C bus at a frequency of 5 times per second.
For example, when the fan module F A is controlled to rotate, according to the theoretical positional relationship, the temperatures fed back by the first temperature sensor and the second temperature sensor should be reduced, and the temperatures fed back by the other temperature sensors are unchanged or less changed. If the real test temperature information indicates that the temperature fed back by the first temperature sensor and the second temperature sensor is reduced, the test temperature information fed back by the other temperature sensors is basically unchanged, and a feedback result with accurate connection relation can be obtained. However, if the actual test temperature information indicates that the temperature of only the third temperature sensor is reduced, it may be determined that the fan module F A is connected in error.
Further, the first controller combines the target mapping relation and the feedback condition of the temperature sensor to determine the detection result of the fan module. According to the detection result, for example, the physical interface is loose, the circuit is broken, the mapping relation is wrong, and the like, and a detection result report containing the serial number of the fault fan module and the suspected fault reason is generated. The staff can carry out investigation and restoration to the fan control device according to the detection result report, ensures that the fan control device can finish accurate fault detection and positioning in the starting stage. The fan control device can realize self-detection when being started, can obtain a detection result according to feedback of the temperature sensor, can discover the problem of the device in time, and avoids equipment loss caused by insufficient heat dissipation.
According to the embodiment of the invention, the first controller is further used for sending a fan speed regulating signal to the second controller, the second controller is further used for responding to the fan speed regulating signal, acquiring the attribute information of each of the plurality of fan modules through the plurality of target ports, wherein the attribute information of the fan modules comprises the in-place state and the current rotating speed of the fan modules, and providing the attribute information of each of the plurality of fan modules for the first controller.
In the process of the fan control apparatus according to the embodiment of the present invention, taking fig. 2 as an example, if the first controller detects that the load of the electronic device increases and the like needs to adjust the fan rotation speed, the first controller sends a fan speed adjusting signal to the second controller, where the signal is transmitted through the I2C or LPC bus.
According to the embodiment of the invention, after the second controller receives the fan speed adjusting signal, taking the first mapping relation as an example, the first mapping relation is used for establishing communication connection with the fan modules F A、FB and F C through the target ports P 0、P1 and P 2. Specifically, the second controller sends an acquisition instruction of attribute information to the fan modules F A、FB and F C, the fan modules receive the instruction and package their own attribute information, wherein the instruction includes an in-place state and a current rotation speed of the fan modules, the in-place state can be judged by detecting a level signal of a connection interface between the fan modules and the main board, a high level indicates in-place, a low level indicates off-place, and the current rotation speed can be converted into an actual rotation speed value by acquiring a rotation speed pulse signal through a hall sensor inside the fan through calculation. After the second controller obtains the attribute information of each of the fan modules F A、FB and F C, the information is collated and fed back to the first controller through the data transmission bus, for example, F A and F B are in place, and F C is out of place.
According to the embodiment of the invention, the real-time transparent management of the fan module can be realized by adjusting the working state of the currently connected fan module, so that accurate support is provided for a heat dissipation system of electronic equipment, the timely troubleshooting and diagnosis of faults can be realized, and the reliability of the fan control device is obviously improved.
According to the embodiment of the invention, the first controller is further used for acquiring temperature feedback information and/or attribute information of each of the plurality of fan modules and generating speed regulation instructions of the plurality of fan modules.
Fig. 7 schematically shows a schematic view of a fan control apparatus according to another embodiment of the present invention.
According to an embodiment of the present invention, as shown in fig. 7, a first controller in a fan control apparatus 700 may simultaneously acquire temperature information and attribute information of a currently connected fan module, where the attribute information may be working state information, and at this time, rotational speed adjustment may be performed on the fan module based on the working state information and the temperature information at the same time. The working state information of the fan module comprises the in-place state of the fan module and the current rotating speed of the fan module. For example, the fan control device is applied to electronic equipment, the first controller is electrically connected with four temperature sensors distributed in a chassis of the electronic equipment through an I2C bus, and the first controller comprises a first temperature sensor 31, a second temperature sensor 32, a third temperature sensor 33 and a fourth temperature sensor 34, and the second controller is connected with corresponding fan modules through a plurality of target ports. In the running process of the system, four temperature sensors continuously acquire temperature information of different areas in the case.
The first temperature sensor 31 is installed near the CPU heat sink, the second temperature sensor 32 is located beside the GPU module, the third temperature sensor 33 is close to the power supply, and the fourth temperature sensor 34 is disposed at the case vent. Each temperature sensor transmits the acquired real-time temperature data to the first controller through the I2C bus at a frequency of 10 times per second. Meanwhile, the first controller 11 sends a fan speed regulation signal to the second controller 21 according to the operation state of the apparatus or a preset period. Fan module F A is disposed in the CPU heat sink area, fan module F B is disposed in the GPU module area, fan module F C is disposed in the power supply area, and fan module F D is disposed in the chassis vent area. After receiving the fan speed adjustment signal, the second controller 21 sends an attribute information acquisition instruction to the fan module through the target port. After receiving the instruction, the fan modules F A、FB、FC and F D detect the in-place state by the internal control circuit, collect the current rotation speed by using the hall sensor, and package and feed back the attribute information to the second controller 21. The second controller 21 gathers the attribute information of the four fan modules and transmits the attribute information back to the first controller 11 through the bus.
The invention realizes the real-time feedback and correction of the state of the fan module, and the first controller dynamically adjusts the rotating speed of the corresponding fan module according to the obtained attribute information and temperature information of the fan, thereby increasing the flexibility of the fan control device under different temperature conditions of the electronic equipment and different adaptation to the sudden fan conditions.
According to the embodiment of the invention, the fan plate is further provided with a plurality of light-emitting units, the plurality of light-emitting units correspond to the plurality of ports respectively, and the second controller is further used for determining the target port corresponding to the fan module and controlling the light-emitting unit corresponding to the target port to emit light when the in-place state of the fan module is expressed as off-position.
Fig. 8 schematically shows a schematic view of a fan control apparatus according to another embodiment of the present invention.
The fan control apparatus 800 of fig. 8 further includes light emitting units L1 to Ln for displaying the in-place status of the fan module.
According to an embodiment of the present invention, as shown in fig. 8, a light emitting unit may be disposed on the fan board for each port, and the light emitting unit is used to visually display the in-place status of the fan module. The light emitting unit may be an LED indicator light.
According to the embodiment of the invention, after the second controller obtains the attribute information of each fan module, the second controller can analyze the in-place state in real time. If it is detected that the in-place state of a certain fan module is off-place, for example, the fan module F A is disconnected due to unexpected loosening, the second controller may position the target port P 0 corresponding to the fan module F A, and then output a high-level signal to a first LED (LIGHT EMITTING Diode) unit corresponding to the first target port through a preset control protocol, so as to trigger the first LED unit to continuously emit light, and intuitively prompt that the worker fan module F A is in the off-place state by red light. The staff can position the fault fan module through the indication of the luminous unit, overhaul or replace, and the maintenance efficiency of the equipment is remarkably improved. Meanwhile, the second controller synchronously feeds back the dislocation information of the fan module F A to the first controller.
According to the embodiment of the invention, the light-emitting unit enables the original hidden fan module to perform explicit expression on the in-place information, so that a worker can conveniently and intuitively acquire the working condition of the fan, and when the fan module fails or is abnormal, the corresponding information can be displayed through the light-emitting unit, so that the worker can conveniently check the fan module.
According to an embodiment of the present invention, the first controller is further configured to send a fan speed signal to the second controller in response to a fan speed event being triggered, and/or to send a fan speed signal to the second controller while simultaneously sending speed commands for a plurality of logical fans to the second controller.
According to an embodiment of the present invention, the first controller may include open loop control and closed loop control situations when responding to a fan speed event, such as:
when the first controller of the fan control device executes fan speed regulation control, in an open loop control mode, when the fan speed regulation event is triggered, such as manual regulation by a user or triggering by a temperature threshold value, the first controller directly sends a fan speed regulation signal containing a target rotating speed value to the second controller. After the second controller receives the signal, the fan module is driven to operate according to the instruction without feedback verification, and the method is suitable for scenes with high real-time requirements and stable loads.
In the closed-loop control mode, after the first controller sends a fan speed regulating signal to the second controller, the first controller continuously receives rotation speed monitoring data fed back by the second controller, such as a Hall sensor pulse or a current sampling value. The first controller compares the actual rotating speed with a pre-stored target value, and dynamically adjusts a speed regulating instruction through a PID control algorithm to form closed-loop regulation. When the speed regulating instructions of a plurality of logic fans are sent simultaneously, the first controller can be embedded into the grouping identifier to the speed regulating signals, so that the second controller can distinguish the closed-loop control circuits of the fan modules. For a multi-fan module collaborative scene, the first controller can further add a synchronous mark in the speed regulation signal to ensure that the rotational speed deviation of the plurality of fan modules is controlled within a certain range.
According to the embodiment of the invention, a PID (Proportional-Integral-Derivative) control algorithm can specifically be that deviation of a fan speed regulating system is regulated in real time in a Proportional, integral and Derivative control mode, so that the rotating speed of the fan is kept near an expected value as much as possible. Wherein (1) the proportion control, the proportion coefficient is responsible for carrying out instant reaction on the deviation according to the set proportion parameter. The method directly influences the response intensity and speed of the second controller to the deviation, the higher the proportion coefficient is, the faster the fan module reacts to the deviation, the larger the adjustment amplitude of the fan rotating speed is, but the too high speed can cause the system to be sensitive to oscillation, and if the proportion coefficient is too low, the fan module responds slowly, so that the fan rotating speed cannot be adjusted to a proper value in time.
(2) Integration control the integration control mainly deals with the problem of accumulation of deviations. In fan speed regulation, even if the proportional control adjusts the fan speed, some steady state error may still exist, i.e., there is always some small deviation between the actual speed and the target speed. The integral control eliminates this steady state error by integrating the past deviation, and over time the integral term gradually increases, further adjusting the fan speed until the steady state error is eliminated. However, too high an integration value may result in a slow response of the fan module and may oscillate.
(3) Differential control, namely predicting the future trend of the deviation by calculating the change rate of the deviation, and further taking corresponding control measures in advance. In the process of fan speed regulation, if the change rate of the fan speed is large, the differential control can generate a large control amount to restrain the change, so that the excessive overshoot or oscillation of the fan speed is prevented, and the fan module is more stable. The differential control can improve the stability and response speed of the fan module and smooth the control process.
In practical fan speed applications, PID adjustments are typically required in a "P-before-I-then-D" order. Every time a parameter is adjusted, the response of the fan module is observed until the expected control effect is achieved, namely, the rotating speed of the fan can rapidly and stably track the target rotating speed, and meanwhile, the problems of excessive oscillation or overshoot and the like are avoided.
According to the embodiment of the present invention, in practical application, the two cases may exist independently or may be used in combination. For example, when the fan speed regulation event is triggered by the fan module being out of position, the first controller firstly sends a fan speed regulation signal to enable the second controller to collect attribute information of the remaining fan modules, and then when a new speed regulation instruction is generated, the fan speed regulation signal is sent again to ensure that the instruction is accurately executed, so that flexible and efficient response of the fan control device to different working conditions is realized.
According to an embodiment of the present invention, the first controller is further configured to determine a new target mapping relationship when the in-place status of at least one fan module is changed, and map the speed regulation instructions of the plurality of fan modules to the speed regulation instructions of the plurality of logic fans based on the new target mapping relationship.
According to the embodiment of the invention, when the in-place status of at least one fan module is changed, for example, the originally in-place fan module F A fails or is pulled out, or the originally out-of-place fan module F C is reinserted or resumes normal operation, the status monitoring module in the first controller captures the level change of the target port in real time. For example, if the fan modules F A and F G fail, the attribute information of the corresponding fan modules F A and F G indicates that the fans are out of position. Once the fan control device detects the change of the in-place state, the first controller may trigger a fan speed regulation event to re-evaluate the current equipment heat dissipation requirement, and determine a new target mapping relationship, for example, if the mapping relationship one is originally used, but the fan modules F A and F G fail, then the mapping relationship three may be determined as the new target mapping relationship. And then a new fan speed regulating signal is sent to the second controller, a new round of fan attribute information acquisition and rotation speed regulation flow is started based on a new target mapping relation, and stable heat radiation performance of the equipment can be maintained under the condition that the state of the fan module is changed.
According to the embodiment of the invention, the fan control device can dynamically adjust the target mapping relation according to the on-site condition of the fan, and the fan module is subjected to speed regulation according to the new target mapping relation under the condition that the fan control device is not closed, so that the dynamic adaptability of the system is obviously enhanced, and the convenience and reliability of equipment maintenance are improved.
According to the embodiment of the invention, the fan control device further comprises a write-in port, wherein the write-in port is electrically connected with the first controller and used for receiving write-in information and providing the write-in information for the first controller, the write-in information comprises a third logic mapping relation, and the first controller is further used for writing the third logic mapping relation into the first memory and/or the second memory.
Fig. 9 schematically shows a schematic view of a fan control apparatus according to another embodiment of the present invention. As shown in fig. 9, the fan control apparatus 900 further includes a write port 35. The write port 35 is electrically connected to the first controller 11. Ports are written to enable dynamic configuration of logical mappings. The write port may be electrically connected to the first controller via an LPC or I2C bus, and the first controller establishes a communication link with the first memory and/or the second memory via the LPC or I2C bus, respectively.
According to the embodiment of the invention, when the user needs to adjust or update the heat dissipation policy in the running process of the electronic device, but the logic mapping table stored in the first memory or the second memory cannot meet the requirement, the writing information containing the third logic mapping relation can be generated through the external device, and the external device can be a management terminal or a debugging tool. The third logical mapping relationship is not included in the originally stored logical mapping table.
TABLE 2
For example, as shown in table 2, when the fan module F D fails or is pulled out, and as shown in the first, second and third mapping relations, when the mapping relation other than the fan module F D cannot meet the requirements, the fourth mapping relation can be written into the fan control device through the write port by using the external device to form a new logic mapping table, i.e. table 2. After the write-in port receives the data, CRC check is firstly carried out, and if the check is passed, written information is transmitted to the first controller in real time through the I2C bus. After receiving the writing information, the first controller analyzes the third logic mapping relation data, namely mapping relation IV. At this time, the first controller may select to write the mapping relationship four to the first memory and/or the second memory. In the writing process, the first controller also performs backup verification on the writing data, and if a writing error is detected, the writing operation is restarted, so that the fourth accurate storage of the mapping relation is ensured.
In general, updating data of a fan control apparatus requires stopping an electronic device, and restarting the electronic device after the updating is completed. However, according to the embodiment of the invention, as the decoupling of the physical address and the logical address of the fan module is realized, the write-in port connected to the first controller can add the mapping scheme in real time in the running process of the electronic equipment, and the second controller can regulate and control the rotating speed of the fan module immediately according to the new mapping relation, so that the flexible updating and efficient execution of the fan control strategy are realized.
According to the embodiment of the invention, the second controller is further used for detecting the working state of the first controller, and under the condition that the first controller is confirmed to be not working, the rotating speed of the fan modules is controlled through the target ports based on a preset regulation strategy.
Fig. 10 schematically illustrates an operation flow diagram of the fan control apparatus when the first controller is abnormal in operation according to the embodiment of the present invention.
As shown in FIG. 10, the fan control apparatus operation flow 1000 may include operations S1010-S1080.
In operation S1010, the fan control apparatus is started.
In operation S1020, the first controller is initialized, and at this time, the first controller may acquire information of the current electronic device, and may also acquire the number, the kind and the arrangement relation of the fan modules.
In operation S1030, the second controller is initialized, and in general, operation S1020 and operation S1030 are concurrent, and the initialization time of the second controller may be less than the initialization time of the first controller.
In operation S1040, the second controller may check whether the first controller has been operated through the watchdog signal WDT0, perform operation S1050 if the first controller is not operated normally, and perform operation S1060 if the first controller is operated normally.
In operation S1050, the rotational speed of the plurality of fan modules is controlled based on a preset regulation strategy. After the operation S1050 is completed, the preset time period may be delayed, and the operation S1040 is performed back to continuously monitor whether the first controller is operating normally.
In operation S1060, the first controller determines a target mapping relationship and then performs operation S1070.
In operation S1070, the first controller performs a speed command mapping, specifically, maps speed commands for a plurality of fan modules to speed commands of a plurality of logical fans based on a target mapping relationship in response to a fan speed command event being triggered. Then, operation S1080 is performed.
In operation S1080, the second controller performs rotational speed control based on the speed regulation command, specifically, based on the speed regulation command of the plurality of logic fans, and performs rotational speed control on the plurality of fan modules through the plurality of target ports, respectively.
According to the embodiment of the present invention, since the first controller does not operate when the second controller performs the rotation speed control based on the preset regulation and control strategy in operation S1060, the mapping relationship cannot be called by the first controller to perform fine control on the fan modules, so in operation S1060, the second controller may control all the fan modules to operate based on the maximum rotation speed or control all the fan modules to operate based on the 50% maximum rotation speed.
According to the embodiment of the invention, the reliability of the fan control device is remarkably improved through the double-master-control redundancy design. When the first controller works abnormally, the second controller also adopts a preset regulation strategy to control the rotating speed of the fan so as to prevent the electronic equipment from being overheated and damaged due to the stalling of the fan caused by the downtime of the first controller, thereby ensuring the work of the whole fan control device.
According to the embodiment of the invention, the second controller is further used for detecting the working state of the first controller, determining a target mapping relation under the condition that the first controller is determined to be not working, determining speed regulating instructions of a plurality of logic fans based on the target mapping relation, and controlling the rotating speed of the plurality of fan modules through a plurality of target ports respectively based on the speed regulating instructions of the plurality of logic fans. The second controller is also used for providing fan speed regulation information for the first controller under the condition that the first controller is determined to resume normal operation, and the first controller is also used for generating speed regulation instructions of the plurality of fan modules based on the fan speed regulation information. The second controller is used for detecting the working state of the first controller in the starting stage and/or periodically detecting the working state of the first controller based on a preset time interval.
According to the embodiment of the invention, when the first controller does not work, the second controller can also obtain the target mapping relation through matching, for example:
The second controller can also sequentially match all the logic mapping relations based on the mapping relation between one logic fan and the fan module, and when the current group of logic mapping relations are not satisfied, the second controller is switched to the next group of logic mapping relations and sequentially matches until the target mapping relation is obtained.
If the plurality of logical mapping relationships are not matched with the target mapping information, one mapping relationship can be designated as the target mapping relationship. Or may also refer to other target mapping information to make a judgment, and may select another mapping relationship as the target mapping relationship.
According to the embodiment of the invention, when the first controller does not work, 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 executes fan speed regulation control, in the open loop control mode, when a fan speed regulation event is triggered, for example, manual regulation or temperature threshold triggering by a user, the second controller directly generates a fan speed regulation signal of a target rotating speed value to drive the fan module to operate according to instructions.
In the closed loop control mode, the second controller continuously receives rotational speed monitoring data, such as hall sensor pulses or current sample values. And then dynamically adjusting the speed regulating instruction through a PID control algorithm to form closed-loop regulation.
Fig. 11 schematically illustrates an operation principle of the fan control apparatus when the first controller is abnormally operated according to another embodiment of the present invention.
As shown in FIG. 11, the fan control apparatus operation flow 1100 may include operations S1101-S1110.
In operation S1101, the fan control apparatus is started.
In operation S1102, the first controller is initialized, and the first controller may acquire information of the current electronic device, and may also acquire the number, the kind and the arrangement relation of the fan modules.
In operation S1103, the second controller is initialized, and in general, operation S1102 and operation S1103 are concurrent, and the initialization time of the second controller may be less than the initialization time of the first controller.
In operation S1104, the second controller may check whether the first controller has been operated by the watchdog signal WDT0, and if the first controller has not been operated normally, operation S1105 is performed, and if the first controller has been operated normally, operation S1108 is performed.
In operation S1105, the second controller determines a target mapping relationship, and then performs operation S1106.
In operation S1106, the second controller performs a speed command mapping, specifically, maps speed commands for a plurality of fan modules to speed commands of a plurality of logical fans based on a target mapping relationship in response to the fan speed command event being triggered. Then, operation S1107 is performed.
In operation S1107, the second controller performs rotational speed control based on the speed regulation command, specifically, based on the speed regulation command of the plurality of logic fans, and performs rotational speed control on the plurality of fan modules through the plurality of target ports, respectively.
After the completion of operation S1107, the preset time period may be delayed, and the execution of operation S1104 may be returned to continuously monitor whether the first controller is operating normally.
In operation S1108, the first controller determines a target mapping relationship, and then performs operation S1109.
In operation S1109, the first controller performs a speed command mapping, specifically, maps speed commands for a plurality of fan modules to speed commands of a plurality of logical fans based on the target mapping relationship in response to the fan speed command event being triggered. Then, operation S1110 is performed.
In operation S1110, the second controller performs rotational speed control based on the speed regulation command, specifically, based on the speed regulation command of the plurality of logic fans, and performs rotational speed control on the plurality of fan modules through the plurality of target ports, respectively.
According to the embodiment of the invention, whether the first controller works normally or not after the fan control device is started, the second controller can continuously monitor the working state of the first controller with a cycle of every minute or every 30 seconds based on a preset time interval during the operation of the fan control device.
Under the condition that the second controller and the first controller work normally, if the first controller is in downtime in the running process, the second controller can be used for controlling the take-over of the fan module based on detection, for example, the second controller sends a heartbeat detection signal to the first controller through a bus, and the signal comprises an incremental 16-bit counter value. After receiving the heartbeat detection signal, the first controller will add 1 to the counter value and transmit the counter value back to the second controller. After receiving the feedback signal, the second controller firstly verifies whether the counter value is correctly increased, and simultaneously checks whether the signal transmission delay is within a normal range, and the transmission delay is not more than 10 milliseconds generally. If the counter value is not increased, the transmission is overtime or the data is checked to be wrong in the continuous 3 times of heartbeat detection, the second controller judges that the first controller is faulty. At this time, the second controller immediately invokes a preset regulation strategy, and controls the preset rotating speeds of all the fan modules in place according to the preset regulation strategy through the signal output port, and meanwhile, fault alarm information including the fault occurrence time, the abnormal detailed description of the state of the first controller and the like can be sent to the remote management system through the network interface, so that the workers can process the fault in time.
The method can also be used for continuous detection under the condition that the first controller is not normally started, except that if the heartbeat detection signal is detected to normally return to the second controller, the control of the fan module is transferred to the first controller so as to reduce the power consumption of the fan module.
According to the embodiment of the invention, the second controller can also determine the target mapping relation to replace the first controller to send out the speed regulation instruction of the fan module, and the second controller can transfer the fan module after the first controller is started due to the timing detection of the second controller, so that the power consumption of the fan is reduced, and the second controller can also prevent the first controller from being down to influence the control of the fan and cause the damage of electronic equipment. The fan control device can continuously maintain effective heat dissipation, so that the reliability of the fan control device to the electronic equipment is improved, the starting of the fan module can not be delayed when an emergency occurs, and the stability is high.
Fig. 12 schematically shows a structural diagram of an electronic device in an embodiment according to the invention.
According to an embodiment of the present invention, as shown in fig. 12, the electronic device 1200 may include at least one fan control apparatus 1201, and the fan control apparatus 1201 may be any one of the fan control apparatuses 200, 300, 400, 500, 600, 700, 800, and 900 described above, which is not limited herein.
Fig. 13 schematically shows a flowchart of a fan control method according to an embodiment of the present invention.
As shown in FIG. 13, the fan control method 1300 includes operations S1310-S1330.
In operation S1310, a target mapping relationship is determined, where the target mapping relationship is used to represent a mapping relationship between the plurality of fan modules and the plurality of logical fans.
In operation S1320, in response to the fan speed command event being triggered, the speed command for the plurality of fan modules is mapped to the speed command for the plurality of logical fans based on the target mapping relationship.
In operation S1330, the rotation speed of the plurality of fan modules is controlled through the plurality of target ports based on the speed regulation command of the plurality of logic fans.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that the features recited in the various embodiments of the invention can be combined and/or combined in a variety of ways, even if such combinations or combinations are not explicitly recited in the present invention. In particular, the features recited in the various embodiments of the invention can be combined and/or combined in various ways without departing from the spirit and teachings of the invention. All such combinations and/or combinations fall within the scope of the invention.
The embodiments of the present invention are described above. These examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the invention, and such alternatives and modifications are intended to fall within the scope of the invention.
Claims (20)
1. A fan control apparatus provided in a chassis of an electronic device, the fan control apparatus comprising:
The mainboard is provided with a first controller;
The fan plate is provided with a second controller and a connector, the connector comprises a plurality of ports, the connector is used for being respectively and electrically connected with a plurality of fan modules through a plurality of target ports in the plurality of ports, and the target ports respectively correspond to a plurality of logic fans;
The first controller is used for determining a target mapping relation, responding to the triggering of a fan speed regulation event, mapping speed regulation instructions of the plurality of fan modules into speed regulation instructions of the plurality of logic fans based on the target mapping relation, wherein the target mapping relation is used for representing the mapping relation between the plurality of fan modules and the plurality of logic fans, and
The second controller is used for controlling the rotating speeds of the fan modules through the target ports based on the speed regulating instructions of the logic fans.
2. The fan control apparatus as claimed in claim 1, wherein,
The main board is also provided with a first memory for storing device configuration information and a logic mapping table, wherein the logic mapping table comprises a plurality of logic mapping relations, or
The fan board is also provided with a second memory, and the second memory is used for storing the equipment configuration information and the logic mapping table.
3. The fan control apparatus of claim 2, wherein the first controller is configured to:
Reading the device configuration information and the logical mapping table from the first memory or the second memory, and
And determining the target mapping relation from a plurality of logic mapping relations included in the logic mapping table based on the equipment configuration information.
4. The fan control apparatus as claimed in claim 1, wherein,
The main board is also provided with a first memory, the first memory is used for storing equipment configuration information and a mapping information table, the mapping information table comprises a plurality of pieces of logic mapping information, and the logic mapping information comprises information for describing the mapping relation between the fan module and the logic fan;
The fan board is also provided with a second memory, and the second memory is used for storing a logic mapping table, and the logic mapping table comprises a plurality of logic mapping relations.
5. The fan control apparatus of claim 4, wherein the first controller is configured to:
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
And matching the target mapping information from a plurality of logical mapping relations included in the logical mapping table to obtain a target mapping relation.
6. The fan control apparatus of claim 5, wherein the first controller is further configured to:
matching the target mapping information with the plurality of logic mapping relations respectively to obtain a matching result;
determining a first logical mapping relationship as the target mapping relationship under the condition that the matching result indicates that the first logical mapping relationship in the plurality of logical mapping relationships is matched with the target mapping information, and
And under the condition that the matching result indicates that the plurality of logic mapping relations are not matched with the target mapping information, selecting a second logic mapping relation from the plurality of logic mapping relations, and determining the second logic mapping relation as the target mapping relation.
7. The fan control apparatus as claimed in any one of claims 2 to 6, further comprising:
The write-in port is electrically connected with the first controller and is used for receiving write-in information and providing the write-in information for the first controller, wherein the write-in information comprises a third logic mapping relation;
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 apparatus of 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 adjustment instructions for the plurality of fan modules.
9. The fan control apparatus of claim 8, wherein the first controller is further electrically connected to a plurality of temperature sensors configured to be disposed in a chassis of the electronic device, the temperature sensors configured to collect and provide temperature information to the first controller, wherein the temperature sensors are configured to be disposed adjacent to a heat generating location of the electronic device, the temperature feedback information including temperature information of each of the plurality of temperature sensors.
10. The fan control apparatus as recited in claim 9, wherein, when in the start-up phase,
The first controller is further configured to generate test instructions of the plurality of fan modules, and map the test instructions of the plurality of fan modules to test instructions of the plurality of logic fans based on the target mapping relationship;
The second controller is further configured to control rotational speeds of the plurality of fan modules through the plurality of target ports based on the test instructions of the plurality of logic fans, respectively.
11. The fan control apparatus of claim 10, wherein the first controller is further configured to obtain test temperature information fed back by each of the plurality of temperature sensors when the second controller performs rotational speed control on each of the fan modules, and determine a detection result of the fan module based on the plurality of test temperature information, the detection result indicating whether there is a fault in connection between the fan module and the corresponding target port.
12. The fan control apparatus as claimed in claim 8, wherein,
The first controller is also used for sending a fan speed regulation signal to the second controller;
The second controller is further configured to obtain, through the plurality of target ports, respective attribute information of the plurality of fan modules in response to the fan speed adjustment signal, where the attribute information of the fan module includes an in-place state and a current rotational speed of the fan module, and provide the respective attribute information of the plurality of fan modules to the first controller.
13. The fan control apparatus as claimed in claim 12, wherein a plurality of light emitting units are further provided on the fan plate, the plurality of light emitting units corresponding to the plurality of ports, respectively;
The second controller is further configured to determine a target port corresponding to the fan module and control a light emitting unit corresponding to the target port to emit light when the in-place state of the fan module indicates off-place.
14. The fan control apparatus of claim 12, wherein the first controller is further configured to send a fan speed signal to the second controller in response to the fan speed event being triggered, and/or to send a fan speed signal to the second controller concurrently with sending the speed command for the plurality of logical fans to the second controller.
15. The fan control apparatus of claim 12, wherein the first controller is further configured to determine a new target mapping relationship in the event of a change in the in-place status of at least one of the fan modules, and map the speed adjustment instructions of the plurality of fan modules to the speed adjustment instructions of the plurality of logical fans based on the new target mapping relationship.
16. The fan control apparatus of claim 1, wherein the second controller is further configured to detect an operating state of the first controller, and to control the rotational speeds of the plurality of fan modules through the plurality of target ports, respectively, based on a preset regulation strategy if it is determined that the first controller is not operating.
17. The fan control apparatus of claim 1, wherein the second controller is further configured to detect an operation state of the first controller, determine the target mapping relationship if it is determined that the first controller is not operating, determine speed adjustment instructions of the plurality of logic fans based on the target mapping relationship, and perform rotational speed control on the plurality of fan modules through the plurality of target ports, respectively, based on the speed adjustment instructions of the plurality of logic fans.
18. The fan control apparatus of claim 17, wherein the second controller is further configured to provide fan speed adjustment information to the first controller if it is determined that the first controller is restored to normal operation;
the first controller is also used for generating speed regulating instructions of the plurality of fan modules based on the fan speed regulating information.
19. The fan control apparatus according to any of claims 16-18, wherein the second controller is configured to detect an operating state of the first controller during a start-up phase, and/or periodically detect the operating state of the first controller based on a preset time interval.
20. An electronic device comprising the fan control apparatus according to any one of claims 1 to 19.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510713082.2A CN120231782B (en) | 2025-05-29 | 2025-05-29 | Fan controls and electronics |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510713082.2A CN120231782B (en) | 2025-05-29 | 2025-05-29 | Fan controls and electronics |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN120231782A true CN120231782A (en) | 2025-07-01 |
| CN120231782B CN120231782B (en) | 2025-08-12 |
Family
ID=96158684
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202510713082.2A Active CN120231782B (en) | 2025-05-29 | 2025-05-29 | Fan controls and electronics |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN120231782B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120426252A (en) * | 2025-07-07 | 2025-08-05 | 苏州元脑智能科技有限公司 | Fan controls and electronics |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103138974A (en) * | 2011-11-28 | 2013-06-05 | 英业达科技有限公司 | Server rack system of managing rotating speeds of fan |
| US20130162438A1 (en) * | 2011-12-27 | 2013-06-27 | Hon Hai Precision Industry Co., Ltd. | Server system for monitoring status of fans |
| CN104564764A (en) * | 2013-10-12 | 2015-04-29 | 英业达科技有限公司 | Server system |
| CN111102220A (en) * | 2019-12-18 | 2020-05-05 | 迈普通信技术股份有限公司 | Fan control device and system |
| CN116643631A (en) * | 2023-05-09 | 2023-08-25 | 苏州浪潮智能科技有限公司 | A server cooling method, device, electronic equipment and storage medium |
-
2025
- 2025-05-29 CN CN202510713082.2A patent/CN120231782B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103138974A (en) * | 2011-11-28 | 2013-06-05 | 英业达科技有限公司 | Server rack system of managing rotating speeds of fan |
| US20130162438A1 (en) * | 2011-12-27 | 2013-06-27 | Hon Hai Precision Industry Co., Ltd. | Server system for monitoring status of fans |
| CN104564764A (en) * | 2013-10-12 | 2015-04-29 | 英业达科技有限公司 | Server system |
| CN111102220A (en) * | 2019-12-18 | 2020-05-05 | 迈普通信技术股份有限公司 | Fan control device and system |
| CN116643631A (en) * | 2023-05-09 | 2023-08-25 | 苏州浪潮智能科技有限公司 | A server cooling method, device, electronic equipment and storage medium |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120426252A (en) * | 2025-07-07 | 2025-08-05 | 苏州元脑智能科技有限公司 | Fan controls and electronics |
| CN120426252B (en) * | 2025-07-07 | 2025-09-16 | 苏州元脑智能科技有限公司 | Fan controls and electronics |
Also Published As
| Publication number | Publication date |
|---|---|
| CN120231782B (en) | 2025-08-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN120231782B (en) | Fan controls and electronics | |
| CN109611367B (en) | Fan control system and server based on CPLD | |
| CN101246390B (en) | storage control device | |
| US7612508B2 (en) | System and method for communication with an information handling system cooling fan | |
| KR102706333B1 (en) | Monitoring system of led display device based on big data using test signal | |
| US11733762B2 (en) | Method to allow for higher usable power capacity in a redundant power configuration | |
| TW201118596A (en) | Server management system | |
| KR20100080333A (en) | Apparatus, system, and method for fault tolerant cooling in a redundant power system | |
| CN104582416A (en) | Liquid cooling system and control method thereof | |
| CN109581911A (en) | A kind of fan of the dual control storage equipment during booting powers on surely controls method and device | |
| EP3594779B1 (en) | Method for controlling fan in electronic system | |
| CN114816548A (en) | Method for remotely starting electronic equipment at low temperature | |
| US20060271810A1 (en) | Backup control system and method | |
| US11105527B2 (en) | Building equipment controller with user-configureable inputs and outputs | |
| US20250311173A1 (en) | Liquid cooling control method and liquid cooling computing device | |
| CN113835385A (en) | Control system and method for cooling system | |
| CN116302844B (en) | Hard disk information collection method, device, computer equipment and storage medium | |
| CN119556776A (en) | Server fan control method and device, storage medium and electronic device | |
| CN119421395A (en) | A heat dissipation control system, method, device, medium and program product | |
| TWI546682B (en) | Method for managing a storage system with aid of hybrid management paths, and associated apparatus | |
| CN114676009B (en) | A CPU testing system and server | |
| CN116149890A (en) | State management method, system, device, medium and product of disk cluster | |
| CN113586503A (en) | Serial connection control method of multiple fan speed regulation modules and system for realizing method | |
| CN120426252B (en) | Fan controls and electronics | |
| US12469865B2 (en) | Apparatus for fuel cell system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |