CN113419443A - Fan board control method, system, equipment and medium - Google Patents

Fan board control method, system, equipment and medium Download PDF

Info

Publication number
CN113419443A
CN113419443A CN202110443609.6A CN202110443609A CN113419443A CN 113419443 A CN113419443 A CN 113419443A CN 202110443609 A CN202110443609 A CN 202110443609A CN 113419443 A CN113419443 A CN 113419443A
Authority
CN
China
Prior art keywords
connector
fan
installation position
actual
control signal
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
Application number
CN202110443609.6A
Other languages
Chinese (zh)
Other versions
CN113419443B (en
Inventor
邹志鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110443609.6A priority Critical patent/CN113419443B/en
Publication of CN113419443A publication Critical patent/CN113419443A/en
Application granted granted Critical
Publication of CN113419443B publication Critical patent/CN113419443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The invention discloses a control method of a fan plate, which comprises the following steps: receiving actual mounting position data sent by the corresponding fan board by using each connector; judging whether the actual installation position of the fan plate connected with the connector is a preset installation position or not according to the actual installation position data; and adjusting the sequence of the fan board control signals sent to the connector by using the control signals generated according to the actual installation position data in response to the fact that the actual installation position of the fan board connected with the connector is not the preset installation position. The invention also discloses a system, a computer device and a readable storage medium. The method provided by the invention realizes the fool-proof design of the fan plate by collecting the position information of the fan plate, can realize the normal sequencing control of the fan even if the cable is reversely inserted in the assembly process, and improves the usability and the maintainability of the product.

Description

Fan board control method, system, equipment and medium
Technical Field
The invention relates to the field of servers, in particular to a method, a system, equipment and a storage medium for controlling a fan board.
Background
As shown in fig. 1, two fan boards in a 4U node are generally of the same type, and have no difference in hardware and structure, two same connectors are generally connected to a Host board card, and an actual installation position of the fan board connected to each connector needs to correspond to a preset position, that is, the fan board connected to the connector 1 needs to be placed on an upper layer, and the fan board connected to the connector 2 needs to be placed on a lower layer.
As shown in fig. 2, when numbering the fans of the fan board, the numbering is generally from top to bottom and from left to right, but the numbering is arranged on the server in the form of a label, which is visible to the user to facilitate the user to replace the fans, but the upper controller cannot sense the number. Thus, when the fan board 2 connected with the connector 1 is at the lower layer and the fan board 1 connected with the connector 2 is at the upper layer, the order of the fans corresponding to the on-position signal and the rotating speed signal fed back by the connector to the upper layer is opposite, that is, the fan on-position signal and the rotating speed signal (namely the on-position signal and the rotating speed signal of the fans numbered 5-9) of the fan board 2 are actually fed back by the connector 1 to the upper layer controller, but the upper layer controller still defaults that the fan on-position signal and the rotating speed signal received from the connector 1 are the on-position signal and the rotating speed signal of the fans numbered 0-4, which may cause the fan number corresponding to the warning given by the upper layer controller to be different from the number given on the server label when the fan on the fan board 2 fails, for example, when the fan numbered 5 on the fan board 2 fails, the BMC may give the fan numbered 1 failure, at this time, the alarming of the fault fan according to the number and the independent control of the rotating speed of a certain fan cannot be realized.
Therefore, when the server is assembled, the cables are usually distinguished through the cable label or from the HOST end connector type selection angle, an assembling person needs to carefully check the cable butt joint condition, but the fan board type is the same, the fan board end connector cannot be distinguished, the cable reverse insertion condition is very easy to occur, and the product maintenance and the usability are affected.
Disclosure of Invention
In view of the above, in order to overcome at least one aspect of the above problems, an embodiment of the present invention provides a method for controlling a fan plate, including:
receiving actual mounting position data sent by the corresponding fan board by using each connector;
judging whether the actual installation position of the fan plate connected with the connector is a preset installation position or not according to the actual installation position data;
and adjusting the sequence of the fan board control signals sent to the connector by using the control signals generated according to the actual installation position data in response to the fact that the actual installation position of the fan board connected with the connector is not the preset installation position.
In some embodiments, determining whether an actual mounting position of a fan board connected to the connector is a preset mounting position according to the actual mounting position data further includes:
and generating corresponding control signals according to the size of the plurality of actual mounting position data and a preset rule, and further judging whether the actual mounting position of the fan plate connected with the connector is a preset mounting position.
In some embodiments, generating the corresponding control signal according to the size of a number of pieces of actual installation position data and a preset rule further includes:
responding to the correspondence between the magnitude sequence and the preset sequence of the actual installation position data received by each connector, generating a high-level control signal, and confirming that the actual installation position of the fan plate connected with the connector is the preset installation position;
and generating a low-level control signal in response to the fact that the magnitude sequence and the preset sequence of the actual installation position data received by each connector do not correspond to each other, and confirming that the actual installation position of the fan plate connected with the connector is not the preset installation position.
In some embodiments, in response to the actual mounting position of the fan board connected to the connector not being a preset mounting position, adjusting an order of fan board control signals sent to the connector using a control signal generated from the actual mounting position data, further comprising:
determining the actual mounting position of each fan plate according to the actual mounting position data in response to receiving a low-level control signal;
and sending the fan board control signal corresponding to the actual installation position of the fan board currently connected with the connector to the connector.
In some embodiments, further comprising:
each connector is used for receiving an in-place signal and a rotating speed signal which are connected and sent by the corresponding fan plate;
and adjusting the reporting sequence of the in-place signal and the rotating speed signal received by each connector according to the actual mounting position of each fan plate.
In some embodiments, the method further comprises:
receiving a first path of fan plate control signal and a second path of fan plate control signal;
respectively inputting the first path of fan plate control signal and the second path of fan plate control signal to a first multiplexer connected with the first connector and a second multiplexer connected with the second connector;
controlling the first multiplexer to output a first path of fan board control signal to the first connector by default by utilizing the high-level control signal;
and controlling the second multiplexer to output a second path of fan plate control signal to the second connector by default by using a low level signal obtained by inverting the high level control signal.
In some embodiments, in response to the actual mounting position of the fan board connected to the connector not being a preset mounting position, adjusting an order of fan board control signals sent to the connector using a control signal generated from the actual mounting position data, further comprising:
controlling the output of the first multiplexer by using the low-level control signal, and adjusting the output of the first multiplexer to be the second path of fan plate control signal by the default first path of fan plate control signal;
and controlling the output of the second multiplexer to be adjusted to the first path of fan plate control signal by the default second path of fan plate control signal by using the high level signal obtained by inverting the low level control signal.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a control system of a fan plate, including:
the receiving module is configured to receive actual installation position data sent by the corresponding fan board connected by each connector;
the judging module is configured to judge whether the actual installation position of the fan plate connected with the connector is a preset installation position according to the actual installation position data;
and the adjusting module is configured to adjust the sequence of the fan board control signals sent to the connector by using the control signals generated according to the actual installation position data in response to the fact that the actual installation position of the fan board connected with the connector is not the preset installation position.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and
a memory storing a computer program operable on the processor, wherein the processor executes the program to perform any of the steps of the method for controlling a fan plate described above.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of any one of the fan plate control methods described above.
The invention has one of the following beneficial technical effects: according to the scheme provided by the invention, the position data is acquired through the board card, and the effect that the serial number of the fan is not changed when the cable is inserted forwards or backwards is realized. The requirement that the production line needs to distinguish connection of the upper and lower fan plates from a cable or an HOST connector is reduced, and the problem of regulation and control and the problem of maintenance of a follow-up fan caused by reverse connection of the production line cable are prevented. The mode that the traditional fan boards on different layers are distinguished through cable label identification or cable color or are distinguished from the connector model selection angle of two fan boards at the HOST board end is changed, the condition that assembling personnel need strictly distinguish the corresponding relation between a cable and the upper and lower fan boards according to a product instruction book is avoided, time and labor are wasted, and the problem of mixed insertion cannot be completely avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a scheme for regulating and controlling a 4U type common fan in the prior art;
FIG. 2 is a schematic view of fan numbering;
fig. 3 is a schematic flow chart of a control method of a fan plate according to an embodiment of the present invention;
fig. 4 is a schematic view of a fan plate according to an embodiment of the present invention;
FIG. 5 is a 4U-type fan control scheme according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a control system of a fan plate according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a computer device provided in an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
According to an aspect of the present invention, an embodiment of the present invention provides a method for controlling a fan plate, as shown in fig. 3, which may include the steps of:
s1, receiving actual installation position data sent by the corresponding fan board connected by each connector;
s2, judging whether the actual installation position of the fan plate connected with the connector is a preset installation position according to the actual installation position data;
and S3, responding to the fact that the actual installation position of the fan board connected with the connector is not the preset installation position, and adjusting the sequence of the fan board control signals sent to the connector by using the control signals generated according to the actual installation position data.
The method provided by the invention realizes the fool-proof design of the fan plate by collecting the position information of the fan plate, can realize the normal sequencing control of the fan even if the cable is reversely inserted in the assembly process, and improves the usability and the maintainability of the product.
In some embodiments, in step S1, each connector on the control board may be connected to a fan board, and the connector is used to connect the fan board and the main board to achieve signal transmission, for example, the main board transmits a fan control signal (PWM signal) to the fan board, the fan board feeds back a presence signal (PRESENT signal) and an actual rotation speed signal (TACH signal) to the main board, and transmits data of the located height of the fan board collected by the sensor as actual mounting position data sent by the fan board or collects the distance between the fan board and the sidewall of the chassis as actual mounting position data sent by the fan board.
In some embodiments, as shown in fig. 4, taking 2 fan boards arranged up and down as an example, it is assumed that the fan board 1 is an upper fan board, the fan board 2 is a lower fan board, at this time, the fan board 1 is located at an upper layer, the shielding distance between the height sensor and the lower layer is greater than the distance between the lower fan board and the bottom of the chassis, and if the magnitude of the analog level output by the height sensor is proportional to the measured distance, the actual mounting position data returned by the fan board 1 is greater.
In some embodiments, the step S2, determining whether the actual installation position of the fan board connected to the connector is a preset installation position according to the actual installation position data, further includes:
and generating corresponding control signals according to the size of the plurality of actual mounting position data and a preset rule, and further judging whether the actual mounting position of the fan plate connected with the connector is a preset mounting position.
In some embodiments, generating the corresponding control signal according to the size of a number of pieces of actual installation position data and a preset rule further includes:
responding to the correspondence between the magnitude sequence and the preset sequence of the actual installation position data received by each connector, generating a high-level control signal, and confirming that the actual installation position of the fan plate connected with the connector is the preset installation position;
and generating a low-level control signal in response to the fact that the magnitude sequence and the preset sequence of the actual installation position data received by each connector do not correspond to each other, and confirming that the actual installation position of the fan plate connected with the connector is not the preset installation position.
Specifically, after the connector receives the actual mounting position data of the fan board, because the actual mounting position data corresponding to the fan boards of different mounting positions are different in size, the mounting position data can be sequenced according to the size of the actual mounting position data and compared with the preset sequence to determine whether the actual mounting position of the fan board connected with the connector is the preset mounting position. For example, the magnitude order of the mounting position data received by the connector may be set, and then it is determined whether the magnitude order of the mounting position data actually received by the connector is the set magnitude order, and further it is determined whether the actual mounting position of the fan board connected to the connector is the preset mounting position, and a corresponding control signal may be generated. For example, when it is set that the mounting position data received by the connector 1 needs to be larger than the mounting position data received by the connector 2, and the mounting position data received by the connector 2 is larger than the mounting position data received by the connector 3, it is determined that the actual mounting position of the fan board connected to the connector is the preset mounting position, and if the mounting position data actually received by the connectors 1, 2, and 3 is also the mounting position data received by the connector 1 needs to be larger than the mounting position data received by the connector 2, and the mounting position data received by the connector 2 is larger than the mounting position data received by the connector 3, it is determined that the actual mounting position of the fan board connected to the connector is the preset mounting position, and a high-level control signal is generated, and otherwise, a low-level control signal is generated.
In some embodiments, as shown in fig. 4 and 5, when the number of the connectors is two, the actual mounting position data received by the connectors may be input to two input terminals of a comparator respectively, that is, the actual mounting position data received by the connector 1 is input to the input terminal CH1, the actual mounting position data received by the connector 2 is input to the input terminal CH2, and then the comparator compares the magnitude sequence of the two input terminals to determine whether the actual mounting position of the fan board connected by the connectors is the preset mounting position, thereby generating the corresponding control signal. For example, it may be preset that when the input terminal CH1 is greater than the input terminal CH2, the actual mounting position of the fan board to which the connector is connected is determined to be the preset mounting position, and a control signal of a high level is generated, whereas a control signal of a low level is generated. In this way, when connector 1 is connected to upper fan board 1 and connector 2 is connected to lower fan board 2, since the actual mounting position data received by connector 1 is greater than the actual mounting position data received by connector 2, input CH1 is greater than input CH2, and the order of magnitude in which the mounting position data is actually received by the connectors is determined to be the set order of magnitude, the actual mounting position of the fan board connected to the connectors is determined to be the preset mounting position, and a high-level control signal is generated. On the contrary, when the connector 1 is connected to the lower fan board 2 and the connector 2 is connected to the upper fan board 1, the actual mounting position data received by the connector 1 is smaller than the actual mounting position data received by the connector 2, so the input terminal CH1 is smaller than the input terminal CH2, and the magnitude order of the mounting position data actually received by the connector is determined not to be the set magnitude order, so the actual mounting position of the fan board connected to the connector is determined not to be the preset mounting position, and a low-level control signal is generated.
In some embodiments, step S3, in response to the actual installation position of the fan board connected to the connector not being the preset installation position, adjusting the order of the fan board control signals sent to the connector by using the control signal generated according to the actual installation position data, further includes:
determining the actual mounting position of each fan plate according to the actual mounting position data in response to receiving a low-level control signal;
and sending the fan board control signal corresponding to the actual installation position of the fan board currently connected with the connector to the connector.
Specifically, when it is determined that the actual mounting position of the fan plate connected to the connector is not the preset mounting position, it is necessary to adjust the order of the fan plate control signals sent to the connector. In some embodiments, the actual mounting position of each of the fan boards may be determined according to the actual mounting position data, that is, the actual mounting position of the fan board connected to each connector is determined, and then a fan board control signal corresponding to the actual mounting position is sent to the connector.
Taking 3 connectors as an example, a fan board at a connection position 1 is preset in the connector 1, a first path of fan control signal is sent to the connector 1, a fan board at a connection position 2 is preset in the connector 2, a second path of fan control signal is sent to the connector 2, a fan board at a connection position 3 is preset in the connector 3, and a third path of fan control signal is sent to the connector 3. When the actual installation positions of the fan boards connected with the connectors 1, 2, and 3 are different from the preset installation position, a low-level signal is generated at this time according to the description, then the actual position sequence (for example, positions 3, 1, and 2) of the fan boards connected with the connectors 1, 2, and 3 is determined according to the actual installation position data received by the connectors 1, 2, and 3, then the sequence of the fan board control signals sent to the connectors is adjusted according to the actual corresponding installation position sequence, that is, the third fan control signal is sent to the connector 1, the first fan control signal is sent to the connector 2, and the second fan control signal is sent to the connector 3.
In some embodiments, if the actual mounting position of the fan board connected to the connector is determined to be the preset mounting position, the order of the fan board control signals sent to the connector does not need to be adjusted. Also taking the above 3 connectors as an example, when the actual installation positions of the fan boards connected to the connectors 1, 2, and 3 are the same as the preset installation positions, the first fan control signal is directly sent to the connector 1, the second fan control signal is sent to the connector 2, and the third fan control signal is sent to the connector 3.
In some embodiments, the method further comprises:
each connector is used for receiving an in-place signal and a rotating speed signal which are connected and sent by the corresponding fan plate;
and adjusting the reporting sequence of the in-place signal and the rotating speed signal received by each connector according to the actual mounting position of each fan plate.
Specifically, when it is determined that the actual mounting position of the fan plate connected to the connector is not the preset mounting position, the sequence of the fan on-position signal and the rotation speed signal reported to the superior controller needs to be adjusted. In some embodiments, the actual installation position of each fan plate may be determined according to the actual installation position data, that is, the actual installation position of the fan plate connected to each connector is determined, and then the fan in-place signal and the rotation speed signal corresponding to the actual installation position are reported to the upper-level controller. Also taking the above 3 connectors as an example, if the actual position sequence of the fan plates respectively connected to the connectors 1, 2, 3 determined according to the actual mounting position data received by the connectors 1, 2, 3 is positions 3, 1, 2, the reporting sequence is that the fan on-position signal and the rotation speed signal sent by the fan plate 1 received by the connector 2, the fan on-position signal and the rotation speed signal sent by the fan plate 2 received by the connector 3, and the fan on-position signal and the rotation speed signal sent by the fan plate 3 received by the connector 1 are in sequence.
In some embodiments, the method further comprises:
receiving a first path of fan plate control signal and a second path of fan plate control signal;
respectively inputting the first path of fan plate control signal and the second path of fan plate control signal to a first multiplexer connected with the first connector and a second multiplexer connected with the second connector;
controlling the first multiplexer to output a first path of fan board control signal to the first connector by default by utilizing the high-level control signal;
and controlling the second multiplexer to output a second path of fan plate control signal to the second connector by default by using a low level signal obtained by inverting the high level control signal.
In some embodiments, in response to the actual mounting position of the fan board connected to the connector not being a preset mounting position, adjusting an order of fan board control signals sent to the connector using a control signal generated from the actual mounting position data, further comprising:
controlling the output of the first multiplexer by using the low-level control signal, and adjusting the output of the first multiplexer to be the second path of fan plate control signal by the default first path of fan plate control signal;
and controlling the output of the second multiplexer to be adjusted to the first path of fan plate control signal by the default second path of fan plate control signal by using the high level signal obtained by inverting the low level control signal.
Specifically, as shown in fig. 4 and 5, when the number of connectors is 2, two paths of fan-board control signals, i.e., a first path of fan-board control signal and a second path of fan-board control signal, may be generated.
When the actual mounting position of the fan board to which connector 1 and connector 2 are connected corresponds to the preset mounting position, the comparator input CH1 receives an analog signal sent from the height sensor of fan board 1, CH2 receives an analog signal sent from the height sensor of fan board 2, and when CH1> CH2, the digital logic level output by the analog comparator is high. The CPLD receives that the output signal of the analog comparator is high level, judges that the cable connection is in a normal corresponding relationship at the moment, namely the FAN plate 1 is connected to the connector 1 corresponding to the HOST end, judges that the in-place signal and the rotating speed signal of the received FAN are the same as the actual FAN position, namely HOST _ FAN0_ PRESENT corresponds to FAN0_ PRESENT, HOST _ FAN0_ TACH corresponds to FAN0_ TACH, and reports the rotating speed and the in-place information according to a normal sequence when the BMC acquires the rotating speed and the in-place information. Connecting PWM control signals of fans at corresponding positions of an upper layer and a lower layer to an input end of a MUX (first multiplexer), connecting an output end of the MUX to a fan board connector at a corresponding HOST end, controlling a PWM MUX (second multiplexer) control pin of a corresponding fan board 2 connector by the output of an analog comparator after negation, assuming that the control pin is an input signal which is output as CH1 by the MUX when the control pin is high level, and outputting as an input signal of CH2 by the MUX when the control pin is low level, wherein the PWM signal received by the fan connector 1 is PWM0-4 (first fan board control signal) sent by BMC, and the PWM signal received by the fan connector 2 is PWM5-9 (second fan board control signal) sent by the BMC, and the PWM control signals are consistent with the actual connection condition.
When the actual mounting position of the fan board to which the connector 1 and the connector 2 are connected does not correspond to the preset mounting position, that is, the connector 1 is connected to the fan board 2, and the connector 2 is connected to the fan board 1. The analog differential comparator input CH1 receives the analog signal from the height sensor of fan board 2, CH2 receives the analog signal from the height sensor of fan board 1, CH1< CH2, and the digital logic level of the analog comparator output is low. The CPLD receives that the output signal of the analog comparator is low level, judges that the cable connection is opposite corresponding relation at the moment, namely the FAN plate 1 is connected to the connector 2 corresponding to the HOST end, judges that the received FAN in-place signal and the received rotating speed signal are opposite to the actual vertical position of the FAN at the moment, namely HOST _ FAN0_ PRESENT corresponds to FAN5_ PRESENT, HOST _ FAN0_ TACH corresponds to FAN5_ TACH, and reports the rotating speed signal and the in-place signal according to the opposite logic sequence of the vertical position when the BMC acquires the rotating speed and the in-place information. Connecting PWM control signals of fans at corresponding positions of an upper layer and a lower layer to an input end of a MUX (multiplexer), connecting an output end of the MUX to a fan board connector at a corresponding HOST end, controlling a PWM MUX control pin of a connector corresponding to a fan board 1 by the output of an analog comparator through negation, controlling the PWM MUX control pin of a connector corresponding to a fan board 2 by the output of the analog comparator through negation, assuming that the control pin is a high level and is an input signal which is output as CH1 by the corresponding MUX, outputting an input signal which is output as CH2 by the corresponding MUX when the control pin is a low level, at the moment, the PWM signal received by the fan connector 1 is PWM5-9 (a second fan board control signal) sent by BMC, and the PWM signal received by the fan connector 2 is PWM0-4 (a first fan board control signal) sent by the BMC, wherein the PWM control signals conform to the actual connection condition.
Thus, in this embodiment, the CPLD is used to determine and distinguish the logical correspondence between the fan speed and the in-place signal, so that the speed information and the in-place information received by the BMC are consistent with the current actual connection state, the PWM is logically determined and output by the MUX, and the BMC and the CPLD can directly perform control and transparent transmission without special processing.
It should be noted that the functions of the comparator and the MUX controller shown in fig. 4 and 5 can be implemented by the CPLD. And the judgment and the distinction of the logical correspondence between the fan rotating speed and the on-site signal can also be realized by the MUX controller.
According to the scheme provided by the invention, the position data is acquired through the board card, and the effect that the serial number of the fan is not changed when the cable is inserted forwards or backwards is realized. The requirement that the production line needs to distinguish connection of the upper and lower fan plates from a cable or an HOST connector is reduced, and the problem of regulation and control and the problem of maintenance of a follow-up fan caused by reverse connection of the production line cable are prevented. The mode that the traditional fan boards on different layers are distinguished through cable label identification or cable color or are distinguished from the connector model selection angle of two fan boards at the HOST board end is changed, the condition that assembling personnel need strictly distinguish the corresponding relation between a cable and the upper and lower fan boards according to a product instruction book is avoided, time and labor are wasted, and the problem of mixed insertion cannot be completely avoided.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a control system 400 of a fan plate, as shown in fig. 6, including:
a receiving module 401 configured to receive actual mounting position data sent by the connected corresponding fan board by using each connector;
a judging module 402 configured to judge whether an actual mounting position of a fan board connected to the connector is a preset mounting position according to the actual mounting position data;
an adjusting module 403 configured to adjust an order of fan board control signals transmitted to the connector using a control signal generated according to the actual mounting position data in response to an actual mounting position of a fan board connected to the connector not being a preset mounting position.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 7, an embodiment of the present invention further provides a computer apparatus 501, including:
at least one processor 520; and
the memory 510 and the memory 510 store a computer program 511 that can be executed on the processor, and the processor 520 executes the program to execute the steps of any of the above methods for controlling the fan plate.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 8, an embodiment of the present invention further provides a computer-readable storage medium 601, where the computer-readable storage medium 601 stores computer program instructions 610, and the computer program instructions 610, when executed by a processor, perform the steps of any one of the above fan plate control methods.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method of controlling a fan plate, comprising the steps of:
receiving actual mounting position data sent by the corresponding connected fan boards by utilizing each connector;
judging whether the actual installation position of the fan plate connected with the connector is a preset installation position or not according to the actual installation position data;
and adjusting the sequence of the fan board control signals sent to the connector by using the control signals generated according to the actual installation position data in response to the fact that the actual installation position of the fan board connected with the connector is not the preset installation position.
2. The method of claim 1, wherein determining whether an actual mounting position of a fan board connected to the connector is a preset mounting position based on the actual mounting position data further comprises:
and generating corresponding control signals according to the size of the plurality of actual mounting position data and a preset rule, and further judging whether the actual mounting position of the fan plate connected with the connector is a preset mounting position.
3. The method of claim 2, wherein generating the corresponding control signal according to a size of a number of the actual installation location data and a preset rule further comprises:
responding to the correspondence between the magnitude sequence and the preset sequence of the actual installation position data received by each connector, generating a high-level control signal, and further confirming that the actual installation position of the fan plate connected with the connector is the preset installation position;
and generating a low-level control signal in response to the fact that the size sequence and the preset sequence of the actual installation position data received by each connector do not correspond to each other, and further confirming that the actual installation position of the fan plate connected with the connector is not the preset installation position.
4. The method of claim 3, wherein responsive to an actual mounting location of a fan board connected to the connector not being a preset mounting location, adjusting an order of fan board control signals sent to the connector with control signals generated from the actual mounting location data, further comprising:
determining the actual mounting position of each fan plate according to the actual mounting position data in response to receiving a low-level control signal;
and sending the fan board control signal corresponding to the actual installation position of the fan board currently connected with the connector to the connector.
5. The method of claim 4, further comprising:
each connector is used for receiving an in-place signal and a rotating speed signal which are connected and sent by the corresponding fan plate;
and adjusting the reporting sequence of the in-place signal and the rotating speed signal received by each connector according to the actual mounting position of each fan plate.
6. The method of claim 3, wherein the method further comprises:
receiving a first path of fan plate control signal and a second path of fan plate control signal;
respectively inputting the first path of fan plate control signal and the second path of fan plate control signal to a first multiplexer connected with the first connector and a second multiplexer connected with the second connector;
controlling the first multiplexer to output a first path of fan board control signal to the first connector by default by utilizing the high-level control signal;
and controlling the second multiplexer to output a second path of fan plate control signal to the second connector by default by using a low level signal obtained by inverting the high level control signal.
7. The method of claim 6, wherein responsive to an actual mounting location of a fan board connected to the connector not being a preset mounting location, adjusting an order of fan board control signals sent to the connector with control signals generated from the actual mounting location data, further comprising:
controlling the output of the first multiplexer by using the low-level control signal, and adjusting the output of the first multiplexer to be the second path of fan plate control signal by the default first path of fan plate control signal;
and controlling the output of the second multiplexer to be adjusted to the first path of fan plate control signal by the default second path of fan plate control signal by using the high level signal obtained by inverting the low level control signal.
8. A control system for a fan plate, comprising:
the receiving module is configured to receive actual installation position data sent by the corresponding fan board connected by each connector;
the judging module is configured to judge whether the actual installation position of the fan plate connected with the connector is a preset installation position according to the actual installation position data;
and the adjusting module is configured to adjust the sequence of the fan board control signals sent to the connector by using the control signals generated according to the actual installation position data in response to the fact that the actual installation position of the fan board connected with the connector is not the preset installation position.
9. A computer device, comprising:
at least one processor; and
memory storing a computer program operable on the processor, wherein the processor executes the program to perform the steps of the method according to any of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 7.
CN202110443609.6A 2021-04-23 2021-04-23 Fan board control method, system, equipment and medium Active CN113419443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110443609.6A CN113419443B (en) 2021-04-23 2021-04-23 Fan board control method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110443609.6A CN113419443B (en) 2021-04-23 2021-04-23 Fan board control method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN113419443A true CN113419443A (en) 2021-09-21
CN113419443B CN113419443B (en) 2022-08-19

Family

ID=77711929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110443609.6A Active CN113419443B (en) 2021-04-23 2021-04-23 Fan board control method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN113419443B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120078420A1 (en) * 2010-09-28 2012-03-29 Cisco Technology, Inc. Fan speed control
CN106286360A (en) * 2015-06-10 2017-01-04 中兴通讯股份有限公司 The method of testing of fan and device
CN109388210A (en) * 2018-12-06 2019-02-26 京信通信系统(中国)有限公司 The management method and device of distributed cabinet, distributed cabinet
CN109933173A (en) * 2019-03-21 2019-06-25 浪潮商用机器有限公司 Fan control device and equipment in a kind of server system
CN111102220A (en) * 2019-12-18 2020-05-05 迈普通信技术股份有限公司 Fan control device and system
CN112283141A (en) * 2020-12-01 2021-01-29 苏州浪潮智能科技有限公司 Over-current early warning processing system and method for fan connector

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120078420A1 (en) * 2010-09-28 2012-03-29 Cisco Technology, Inc. Fan speed control
CN106286360A (en) * 2015-06-10 2017-01-04 中兴通讯股份有限公司 The method of testing of fan and device
CN109388210A (en) * 2018-12-06 2019-02-26 京信通信系统(中国)有限公司 The management method and device of distributed cabinet, distributed cabinet
CN109933173A (en) * 2019-03-21 2019-06-25 浪潮商用机器有限公司 Fan control device and equipment in a kind of server system
CN111102220A (en) * 2019-12-18 2020-05-05 迈普通信技术股份有限公司 Fan control device and system
CN112283141A (en) * 2020-12-01 2021-01-29 苏州浪潮智能科技有限公司 Over-current early warning processing system and method for fan connector

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GUO-HUI LI: "《Influencing Factors on the Actuation Time of the Thermal Release Mechanism with Temperature Sensing Element of Fire Rolling Shutters》", 《PROCEDIA ENGINEERING》 *
张小兴: "《纯电动汽车电池散热风扇控制系统方案探讨》", 《内燃机与配件》 *

Also Published As

Publication number Publication date
CN113419443B (en) 2022-08-19

Similar Documents

Publication Publication Date Title
US20240349437A1 (en) Perceptible Indicators of Wires Being Attached Correctly to Controller
CN107450486B (en) Method and apparatus for communicatively coupling a field device to a remote terminal unit
US6188973B1 (en) Automatic mapping, monitoring, and control of computer room components
US8874817B2 (en) System for out of band management of rack-mounted field replaceable units
CN107832199A (en) Hard disk monitoring system based on CPLD
CN112463475A (en) Disk detection system, method, device and storage medium
US20070143058A1 (en) System and method for testing an input/output functional board
US7047471B2 (en) Voltage margin testing of bladed servers
CN101533351A (en) Method and system for identifying information of single plate hardware version
EP0041406B1 (en) Component identification in computer system
CN112527582A (en) Detection method, detection device, detection equipment and storage medium of server cable
CN112069766A (en) Method and device for reducing cables of hard disk backboard in server
CN113419443B (en) Fan board control method, system, equipment and medium
US8438529B1 (en) Computing device and method for checking signal transmission line
US6912599B2 (en) Method and apparatus for sensing positions of device enclosures within multi-shelf cabinets
US20130204984A1 (en) Management Record Specification for Management of Field Replaceable Units Installed Within Computing Cabinets
CN116541026A (en) Self-adaptive chip manufacturer bit stream burning method, device, equipment and medium
CN112131060B (en) Method, system, equipment and medium for detecting cable full link connectivity
CN113138951A (en) Method, system and medium for connecting multiple devices through SGPIO
CN110418121B (en) Electronic component and projection equipment
CN100595715C (en) Signal processing circuit
EP3104555A1 (en) Method and associated apparatus for managing a storage system
CN114898702B (en) Automatic identification method and system for intelligent module
CN111366836B (en) Safety protection circuit device suitable for test power-up of PCB (printed circuit board) maintenance test equipment
CN117215845A (en) Storage device for injection faults and electronic equipment

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